Friday, March 19, 2010

Exception of type vmomi.fault.nopermission was thrown

I was setting up a user with permission to migrate a VM in VirtualCenter. I created a custom role and thought I had all the permissions set correctly, but the user kept getting a 'vmomi.fault.nopermission' exception message at the screen to select the destination datastore. Solved it by creating a custom role with the following privileges:

Virtual Machine - Inventory - Move
Resource - Assign Virtual Machine To Resource Pool
Resource -Migrate
Resource - Relocate

Assigned that role to the necessary Group on the applicable clusters
Assigned the Read Only role to the same Group at the Datacente level

It might help someone else!
B

(Also posted here)

No comments: