Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vCAC5.2: Allocate reservation operation failed. Error: Unable to allocate storage request for data stores

$
0
0

Hello,

 

I am getting error on request form at Self Service Portal which says

  • Error requesting machine. Allocate reservation operation failed. No reservation available to allocate storage.

complete stack is as follow for the error

at System.Data.Services.ErrorHandler.HandleTargetInvocationException(TargetInvocationException exception) at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl) at System.Data.Services.RequestUriProcessor.CreateSegments(String[] segments, IDataService service) at System.Data.Services.RequestUriProcessor.ProcessRequestUri(Uri absoluteRequestUri, IDataService service) at System.Data.Services.DataService`1.HandleRequest() Inner Exception: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation(ServiceOperation serviceOperation, Object[] parameters) at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)

 

 

check Repository logs found

 

[Error]: System.Data.Services.DataServiceException: Error requesting machine. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.Services.DataServiceException: Error requesting machine. ---> System.ApplicationException: Allocate reservation operation failed. No reservation available to allocate storage.

   at DynamicOps.ManagementModel.Services.AllocateReservationService.ThrowUnableToAllocateException(AllocateMachineRequest request, String errorMessage, String specificErrorMessage)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.GetAvailableReservations(AllocateMachineRequest request)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationByType(AllocateMachineRequest request)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.<>c__DisplayClass2.<AllocateReservationsWithRetry>b__1()

   at DynamicOps.Common.RetryTransactionException.RetryIfNecessary(Action action)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationsWithRetry(AllocateRequest request)

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.AllocateMachine(VirtualMachineTemplate template, ProvisioningGroup group, String owner, List`1 properties, Boolean isComponent, Boolean applyExpiresOverride, Nullable`1 expiresOverride)

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest(MachineRequest request)

   --- End of inner exception stack trace ---

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest(MachineRequest request)

   at DynamicOps.ManagementModel.ManagementModelOperations.<SubmitVirtualMachineRequest>b__c(MachineRequest r, ManagementModelEntities d)

   at DynamicOps.Common.Entity.OperationInvoke`1.Execute[TRequest](Func`3 operation)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation(ServiceOperation serviceOperation, Object[] parameters)

   at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)

   --- End of inner exception stack trace ---

   at System.Data.Services.ErrorHandler.HandleTargetInvocationException(TargetInvocationException exception)

   at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)

   at System.Data.Services.RequestUriProcessor.CreateSegments(String[] segments, IDataService service)

   at System.Data.Services.RequestUriProcessor.ProcessRequestUri(Uri absoluteRequestUri, IDataService service)

   at System.Data.Services.DataService`1.HandleRequest()

INNER EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.Services.DataServiceException: Error requesting machine. ---> System.ApplicationException: Allocate reservation operation failed. No reservation available to allocate storage.

   at DynamicOps.ManagementModel.Services.AllocateReservationService.ThrowUnableToAllocateException(AllocateMachineRequest request, String errorMessage, String specificErrorMessage)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.GetAvailableReservations(AllocateMachineRequest request)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationByType(AllocateMachineRequest request)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.<>c__DisplayClass2.<AllocateReservationsWithRetry>b__1()

   at DynamicOps.Common.RetryTransactionException.RetryIfNecessary(Action action)

   at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationsWithRetry(AllocateRequest request)

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.AllocateMachine(VirtualMachineTemplate template, ProvisioningGroup group, String owner, List`1 properties, Boolean isComponent, Boolean applyExpiresOverride, Nullable`1 expiresOverride)

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest(MachineRequest request)

   --- End of inner exception stack trace ---

   at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest(MachineRequest request)

   at DynamicOps.ManagementModel.ManagementModelOperations.<SubmitVirtualMachineRequest>b__c(MachineRequest r, ManagementModelEntities d)

   at DynamicOps.Common.Entity.OperationInvoke`1.Execute[TRequest](Func`3 operation)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation(ServiceOperation serviceOperation, Object[] parameters)

   at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)

 

 

It looks to me some issue with Storage reservation policy, as i checked for the KB article where no workaround mentioned. VMware KB: Provisioning a machine in VMware vCloud Automation Center fails with the error: Allocate reservation oper…

 

I do not have any Storage Reservation policy defined and assigned to any Reservation/Provisioning Group or Blueprint.

surprisingly, i can successfully provision VM from vCAC Portal but not from Self Service Portal.

 

Please help me with this issue if someone else also encountered ..

 

Thanks in Advance

 

Br,

 

MG


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>