VMware Cloud Community
ilmuhamm
Contributor
Contributor

Installation is failing for VM on vSphere, permission denied for add data disk

I successfully deleted VM-1, and then installation goes through successfully until it reaches to add data disk. The error is related to having no permission to add a data disk. I am using the root user. And we install VMs on vSphere through installer VM. 

2021-02-13 01:48:49,829 cps_micro.generate_vm GenerateVM-1 ERROR [ generate_vm.py:318 - add_datadisk() ] [VM-1] Permission to perform this operation was denied.
2021-02-13 01:48:49,829 cps_micro.generate_vm GenerateVM-1 ERROR [ generate_vm.py:418 - run() ] [VM-1] (vim.fault.NoPermission) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'Permission to perform this operation was denied.'

Labels (2)
Tags (3)
0 Kudos
0 Replies