10-16-2015 08:51 AM - edited 03-01-2019 12:24 PM
UCS Director Version - 5.3.2.0
vCenter Version -
VMware ESXi, 5.5.0, 2718055
I am using UCS Director to provision VM's and I am having an issue provisioning 2 out of 4 images from template using the VMXNET3 adapter. If I change the adapter type to VMXNET2 or Flexible the image will spin without issue, but this is not supported in the current platform nor the desired adapter anyway. If I try to use the adapter within the template, I receive the same Java failure. I cannot find anything different between the templates.
The logs from UCS Director indicate a "NoPermission" but I can spin other templates without an issue and I can manually spin trouble templates. Given I CAN provision 2 images from template, I am not convinced this is a permission issue but I cannot determine what is causing the error.
The log entry from UCS Director is tagged below.
2015-10-15 18:10:50,484 [pool-35-thread-13] INFO updateStatus(SystemTaskStatusProvider.java:181) - Task: task.SnapMirrorHistoryStatusSchedulerTask changed state to OK
2015-10-15 18:10:51,862 [Thread-19324] INFO vmAction(VCenterDriver.java:10631) - Allocated Host Name for new vm is:Hostname
2015-10-15 18:10:52,182 [Thread-19324] INFO createLocationSpecForDatastoreCluster(VCenterDriver.java:2790) - Assigned Resource Pool = Resources
2015-10-15 18:10:53,579 [Thread-19324] ERROR vmAction(VCenterDriver.java:11807) - Exception while doing vm action on vm VI SDK invoke exception:com.vmware.vim25.NoPermission
java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.NoPermission
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:122)
at com.vmware.vim25.ws.VimStub.applyStorageDrsRecommendation_Task(VimStub.java:1597)
at com.vmware.vim25.mo.StorageResourceManager.applyStorageDrsRecommendation_Task(StorageResourceManager.java:59)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.cloneVMByDatastoreCluster(VCenterDriver.java:4837)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.vmAction(VCenterDriver.java:10731)
at com.cloupia.service.cIM.inframgr.vmware.VMWareController.performAction(VMWareController.java:500)
at com.cloupia.service.cIM.inframgr.VMActionExecutionTask.run(VMActionExecutionTask.java:94)
at java.lang.Thread.run(Thread.java:662)
2015-10-15 18:10:53,583 [Thread-19324] ERROR performAction(VMWareController.java:697) - Exception while performing vm action
java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.NoPermission
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:122)
at com.vmware.vim25.ws.VimStub.applyStorageDrsRecommendation_Task(VimStub.java:1597)
at com.vmware.vim25.mo.StorageResourceManager.applyStorageDrsRecommendation_Task(StorageResourceManager.java:59)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.cloneVMByDatastoreCluster(VCenterDriver.java:4837)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.vmAction(VCenterDriver.java:10731)
at com.cloupia.service.cIM.inframgr.vmware.VMWareController.performAction(VMWareController.java:500)
at com.cloupia.service.cIM.inframgr.VMActionExecutionTask.run(VMActionExecutionTask.java:94)
at java.lang.Thread.run(Thread.java:662)
2015-10-15 18:10:53,583 [Thread-19324] WARN run(VMActionExecutionTask.java:212) - Error while executing task Provision New VM on VM-ID=N/A, AcctName=TCC1_Lab, InstName=N/A
java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.NoPermission
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:122)
at com.vmware.vim25.ws.VimStub.applyStorageDrsRecommendation_Task(VimStub.java:1597)
at com.vmware.vim25.mo.StorageResourceManager.applyStorageDrsRecommendation_Task(StorageResourceManager.java:59)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.cloneVMByDatastoreCluster(VCenterDriver.java:4837)
at com.cloupia.lib.cIaaS.vmware.VCenterDriver.vmAction(VCenterDriver.java:10731)
at com.cloupia.service.cIM.inframgr.vmware.VMWareController.performAction(VMWareController.java:500)
at com.cloupia.service.cIM.inframgr.VMActionExecutionTask.run(VMActionExecutionTask.java:94)
at java.lang.Thread.run(Thread.java:662)
2015-10-15 18:10:56,909 [pool-1-thread-7] INFO doFormSubmit(APIProvider.java:1232) - FORM SUBMIT ServiceRequestFeature.forms.vewLog
2015-10-15 18:11:03,459 [WFExec-59-7] WARN doProvision(VMProvisionEngineConfigHandler.java:659) - SR 59 provionsing failed with error VI SDK invoke exception:com.vmware.vim25.NoPermission
2015-10-15 18:11:03,460 [WFExec-59-7] WARN executeWorkFlowStep(CustomActionTriggerWorkFlowHandler.java:361) - Custom handler exception:Provisioning failed: VI SDK invoke exception:com.vmware.vim25.NoPermission
I am hoping someone can help me understand what is causing this and how to correct the issue.
10-16-2015 08:52 AM
Forgot the vCenter version: 5.5.0 1891313
10-16-2015 02:44 PM
I am not sure what would be different within the template itself but elevating the permissions of the service account (to full admin in vCenter) did solve this issue. Anyone know exactly what permissions are required? I do not what this service account to have full admin permissions.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: