For a specific account in CPBM, provisioning a VM fails with an error and the cpbm-server.log shows this message:
"Maximum number of resources of type 'primary_storage' for account name=corp1 in domain id=174 has been exceeded."
But checking the service control limits in CPBM for the account show primary storage count as -1 (for both user and account), which I believe is unlimited. Likewise the service control primary storage limit for the account type is also -1.
So why does it think the primary storage limit has been exceeded and where else should I look?
Log extract:
[2014-06-18 03:27:38.149] INFO catalina-exec-14 com.vmops.event.listeners.EventListenerJmsProducer Sending event com.vmops.event.SubscriptionCreation source = Subscription [createdAt=2014-06-18, derivedFrom=null, id=5294, productBundle=173, state=NEW, terminationDate=null, vmId=null]
[2014-06-18 03:27:38.161] INFO catalina-exec-14 com.vmops.event.listeners.EventListenerJmsProducer Sending event com.citrix.cpbm.core.workflow.event.TriggerTransaction source = BusinessTransaction [id=560, uuid=340989ab-d873-4726-8dbf-530f36bd7f99, workflowId=null, startDate=Wed Jun 18 03:27:38 COT 2014, endDate=null, state=NEW, scope=USER, tenant=Tenant [accountId=AA002545, name=Corp1name], memo=null] :SubscriptionStateChangeTransaction [subscriptionId=5294, subscriptionIntialState=NEW, subscriptionTargetState=ACTIVE]
[2014-06-18 03:27:38.172] INFO catalina-exec-14 com.vmops.web.listeners.RequestHandledListener Request handled: success... flushing events generated , UserName: root
[2014-06-18 03:27:38.395] INFO QueueListener-2 com.vmops.admin.event.listeners.EventListenerJmsConsumer received workflowevent with payloadTriggerTransaction [businessTransactionId=560]
[2014-06-18 03:27:38.945] INFO QueueListener-2 com.citrix.cpbm.workflow.resolver.impl.WorkflowResolverImpl Incoming request to resolve WFD for the type : class com.citrix.cpbm.core.workflow.model.SubscriptionActivationTransaction
[2014-06-18 03:27:38.948] INFO QueueListener-2 c.c.cpbm.workflow.service.impl.BusinessTransactionServiceImpl #Entered here to complete the transaction : 560 of workflow : null
[2014-06-18 03:27:38.949] INFO QueueListener-2 com.vmops.internal.service.impl.SubscriptionServiceImpl ###SPI Calling SubscriptionLifecycleHandler().provision(subscription) for instance:0e4f8f06-a203-11e3-98cc-fe8608d78b16 subscription:db8bc58d-9f14-4b39-821e-3345e1d4a732
[2014-06-18 03:27:39.602] WARN QueueListener-2 c.c.cpbm.workflow.service.impl.BusinessTransactionServiceImpl Got Exception while provisioning a resource : com.vmops.service.exceptions.CloudServiceException: Error (535) during launch VM: Maximum number of resources of type 'primary_storage' for account name=corp1 in domain id=174 has been exceeded.
Thanks
Tariq