AllBlack
Expert
Expert

NoPermissionFault when deploying clone

Hi there

I was wondering if any has experienced this. I am getting the following errors

View Composer Fault: Unexpected VC fault from View Composer (Unknown) - Unknown - <NoPermissionFault xmlns="urn:internalvim25" xsi:type="NoPermission" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><object type="Folder" serverGuid="27ad98d7-f12a-4b47-a16d-183d24da5bff">group-d1</object><privilegeId>Global.DisableMethods</privilegeId></NoPermissionFault> for VM lc-win1

View Composer Fault: Unexpected VC fault from View Composer (Unknown) - Unknown - <NoPermissionFault xmlns="urn:internalvim25" xsi:type="NoPermission" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><object type="VirtualMachine" serverGuid="27ad98d7-f12a-4b47-a16d-183d24da5bff">vm-64</object><privilegeId>VirtualMachine.Provisioning.Clone</privilegeId></NoPermissionFault> for VM ded-win10-2

That is pretty much as what is described at https://www.vmadmin.co.uk/resources/53-view/344-viewcomposererrornopermission

However, I don't think it is a permission issue as I now gave the composer service account administrator privileges.

I have encountered the following FATAL entries in log

2017-04-04 09:51:12,839 | 67            | FATAL | CommonLib.VcSubsystem.VcUtil - VC connection exception. Will try to reconnect.

VMware.Sim.CommonLib.Exception.SimVcConnectionException: Error in the application.

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.RetrieveProperties(PropertyFilterSpec[] specs)

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.VcExceptionHandler`1.Invoke(), Machine Name: VDICOMP1, Timestamp: 3/04/2017 9:51:12 p.m., App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITY\SYSTEM, OS Version: Microsoft Windows NT 6.2.9200.0, detail information: VC session timed-out during RetrieveProperties call, Configuration ID: 524527d4-cc6f-442f-85e5-dc14f4a5e1cf

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VimClientConnection - Unable either to logout from url: https://vcenterserver:443/sdk with username: domain\svchorizonvdi or to dispose the connection.

System.Web.Services.Protocols.SoapException: The session is not authenticated.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.Sim.CommonLib.VcSubsystem.VimClientConnection.Disconnect()

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VcSubsystem25 - Unable to free up the vc connection.

System.Web.Services.Protocols.SoapException: The session is not authenticated.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.Sim.CommonLib.VcSubsystem.VimClientConnection.Disconnect()

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.Disconnect()

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VcSubsystem25 - Reconnect called to create a new connection to VC https://vcenterserver:443/sdk  and user domain\svchorizonvdi.

2017-04-04 09:51:12,932 | 67            | DEBUG | CommonLib.VcSubsystem.VimClientConnection - VC vesrsion 6.0

2017-04-04 09:51:12,932 | 67            | DEBUG | CommonLib.VcSubsystem.VcVersion - The version string to be parsed: 6.0.

2017-04-04 09:51:13,104 | 67            | DEBUG | CommonLib.VcSubsystem.VimClientConnection - Successfully established session with Vc url: https://vcenterserver:443/sdk with user: domain\svchorizonvdi

2017-04-04 09:51:12,839 | 67            | FATAL | CommonLib.VcSubsystem.VcUtil - VC connection exception. Will try to reconnect.

VMware.Sim.CommonLib.Exception.SimVcConnectionException: Error in the application.

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.RetrieveProperties(PropertyFilterSpec[] specs)

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.VcExceptionHandler`1.Invoke(), Machine Name: VDICOMP1, Timestamp: 3/04/2017 9:51:12 p.m., App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITY\SYSTEM, OS Version: Microsoft Windows NT 6.2.9200.0, detail information: VC session timed-out during RetrieveProperties call, Configuration ID: 524527d4-cc6f-442f-85e5-dc14f4a5e1cf

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VimClientConnection - Unable either to logout from url: https://vcenterserver:443/sdk with username: domain\svchorizonvdi or to dispose the connection.

System.Web.Services.Protocols.SoapException: The session is not authenticated.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.Sim.CommonLib.VcSubsystem.VimClientConnection.Disconnect()

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VcSubsystem25 - Unable to free up the vc connection.

System.Web.Services.Protocols.SoapException: The session is not authenticated.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.Sim.CommonLib.VcSubsystem.VimClientConnection.Disconnect()

   at VMware.Sim.CommonLib.VcSubsystem.VcSubsystem25.Disconnect()

2017-04-04 09:51:12,885 | 67            | INFO  | CommonLib.VcSubsystem.VcSubsystem25 - Reconnect called to create a new connection to VC https://vcenterserver:443/sdk and user domain\svchorizonvdi.

Any thoughts?

Please consider marking my answer as "helpful" or "correct"
3 Replies
VMConfusion101
Contributor
Contributor

So I had this exact issue and the error is not helpful as the role setup was correct, another VMware article fixed the issue:

Linked Clones Provisioning Error

Turns out the service account I was using to create the machines on the composer was in the active directory group to access the view connection server as an admin, once removed and provisioning reenabled the composer created the desktops instantly.

AlphaSun91
Contributor
Contributor

Thank you for letting us know. Could you tell me a bit more about what you did ?

I have the same error.. Thank you

0 Kudos
Shreyskar
VMware Employee
VMware Employee

Hi

Please verify the permissions for vcenter service account as per Privileges Required for the vCenter Server User

You can also check step-4 under 'VMware view composer error messages' in KB VMware Knowledge Base

0 Kudos