View Composer Fault: Unexpected VC fault from View Composer - (unknown)
When creating a desktop pool in VMware View using View Composer, you may receive an error similar to the below. What it is generally saying is View Composer has a fault, it was a no permission fault and the problem was with a specific permission which will be listed in the error.
When you installed View and configured to access your vCenter Server you created an Active Directory user (e.g. svc_view) and created a role on the vCenter with the specific permissions only for View (e.g. View Administrator). If you missed a permission when creating this rule (even I've missed a permission out at least once), just add it to the vCenter role.
As you can see below we are missing the "Virtual Machine.Inventory.CreateFromExisting" and "Global.DisableMethods" permissions...
View Composer Fault: Unexpected VC fault from View Composer - (unknown) - <NoPermissionFault xmlns="um:internalvim25" xsi:type="NoPermission" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><object type="folder" serverGuid="8397D2DD-E902-4C29-915C-DE059FBC2B06">group-v68</object></privilegeID>VirtualMachine.Inventory.CreateFromExisting</privilegeID></NoPermissionFault>
View Composer Fault: Unexpected VC fault from View Composer - (unknown) - <NoPermissionFault xmlns="um:internalvim25" xsi:type="NoPermission" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><object type="folder" serverGuid="8397D2DD-E902-4C29-915C-DE059FBC2B06">group-v68</object></privilegeID>Global.DisableMethods</privilegeID></NoPermissionFault>
![]()
![]()
All you need to do to resolve is:
1. Go to your View role in vCenter which your View AD account is using to access vCenter Server.
2. Edit the role and add the required missing permissions (see below for permissions).
3. Enable provisioning again for you pool and check the desktop pool is now created sucessfully, if not add the next permission your missing.
If you are using View, View Composer and Local Mode you need to create a vCenter role which includes ALL the permissions in each of the links.
View Manager Privileges Required for the vCenter Server User http://pubs.vmware.com/view-51/topic/com.vmware.view.installation.doc/GUID-A878F876-B359-42FC-9124-A1E34BFB3319.html
Privilege Group
| Privileges to Enable
| Folder | Create Folder Delete Folder | Virtual Machine | In Configuration: ■
| Add or remove device | ■
| Advanced | ■
| Modify device settings |
In Interaction: ■
| Power Off | ■
| Power On | ■
| Reset | ■
| Suspend |
In Inventory: In Provisioning: ■
| Customize | ■
| Deploy template | ■
| Read customization specifications |
| Resource | Assign virtual machine to resource pool | Global |
Act as vCenter Server (The following privilege is required to implement ESXi host caching in View. If you do not use host caching, the vCenter Server user does not need this privilege.)
|
View Composer Privileges Required for the vCenter Server User http://pubs.vmware.com/view-51/topic/com.vmware.view.installation.doc/GUID-467F552F-3034-4917-A985-B5E5FEC5C68F.html
Privilege Group
| Privileges to Enable
| Datastore | Allocate space Browse datastore Low level file operations | Virtual machine | Inventory (all) Configuration (all) State (all) In Provisioning: ■
| Clone virtual machine | ■
| Allow disk access |
| Resource | Assign virtual machine to resource pool | Global | Enable methods Disable methods System tag
Act as vCenter Server (The following privilege is required to implement ESXi host caching in View. If you do not use host caching, the vCenter Server user does not need this privilege.)
| Network | (all) |
Local Mode Privileges Required for the vCenter Server User http://pubs.vmware.com/view-51/topic/com.vmware.view.installation.doc/GUID-C46A7844-FD98-4AB0-BC74-402F680EF1B0.html
Privilege Group
| Privileges to Enable
| Global | Set custom attribute | Host | In Configuration: System management
|
|