You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set default encryption policy "VM Encryption Policy" to a VM using community sample script. The script completes without any issues.
On vCenter UI I see the error "Permission to perform this operation was denied. NoPermission.message.format"
I can set the other storage policies correctly to the VM where encryption is not involved.
I can perform the same operations using powerCLI scripts with the same user.
the pyvmomi library I'm using in on Python2 and is of version : 6.7.1
I was not able to get the information related to the mentioned error in vCenter logs. Can someone
point me to correct direction for the logs and possible reason of this issue.
Update
Issue still persists With python3 and pyvmomi version being 8.0.0.1.2
Reproduction steps
Connected to vCenter server.
Got the vm object I wanted to set encryption policy for.
set storage policy for the VM with ReconfigVM_Task on VirtualMachine Managed Object.
Expected behavior
Encryption policy should be applied to VM.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to set default encryption policy "VM Encryption Policy" to a VM using community sample script. The script completes without any issues.
On vCenter UI I see the error "Permission to perform this operation was denied. NoPermission.message.format"
I can set the other storage policies correctly to the VM where encryption is not involved.
I can perform the same operations using powerCLI scripts with the same user.
the pyvmomi library I'm using in on Python2 and is of version : 6.7.1
I was not able to get the information related to the mentioned error in vCenter logs. Can someone
point me to correct direction for the logs and possible reason of this issue.
Update
Issue still persists With python3 and pyvmomi version being 8.0.0.1.2
Reproduction steps
Expected behavior
Encryption policy should be applied to VM.
Additional context
No response
The text was updated successfully, but these errors were encountered: