VMware Horizon Community
fugrat1
Enthusiast
Enthusiast

Error with linked clone View Pool

i have an environment that has been upgraded from View 6.0.2 to 7.  As part of this upgrade a separate View Composer server has been created and linked to the vCenter and shows as Green in the dashboard.  When I have created a new linked clone pool it  has saved my settings, however I cannot enable provisioning for the pool, I just get an Error 'Provisioning was not enabled on all desktop pools due to an error' but I cannot see any details for the error.  If I click to show details I just get 'Failed to enable provisioning for pool <Pool Name>' which doesn't give much detail!  I have noticed that when I edit this pool an error box pops up with 'Server Error' as the heading and it just displays 'Unknown' in the details.  Editing a non linked clone does not give this error.  As a test I started to create a new linked clone pool and got as far as the Advanced Storage Settings when the error box popped up.  Looking at the logs on the Connection Server I can see the following error being logged:

UnexpectedFault: Cannot look up datacenter from Virtual Center.  If the Desktop's Virtual Center has provisioning disabled it must be re-enabled to retrieve this information

Does anybody have any pointers on how to solve this please?

0 Kudos
6 Replies
Gaurav_Baghla
VMware Employee
VMware Employee

If I understand correctly you have 2 composers now mapped to same vCenter server which is not possible. Composer and VCenter is a 1:1 mapping

Regards Gaurav Baghla Opinions are my own and not the views of my employer. https://twitter.com/garry_14
0 Kudos
fugrat1
Enthusiast
Enthusiast

Hi Gaurav_Baghla

Sorry I didn't make it very clear on my original post.  There is only one View Composer, it is just that it is installed on a separate server to the vCenter which is actually the VCSA if that makes any difference?

Thanks

0 Kudos
Gaurav_Baghla
VMware Employee
VMware Employee

If you go to View administrator page:

Click View Configuration on the left and go to vCenter is it enabled or disabled ?? refer to the screenshot

Regards Gaurav Baghla Opinions are my own and not the views of my employer. https://twitter.com/garry_14
0 Kudos
fugrat1
Enthusiast
Enthusiast

Just checked and it is set to enabled.  To test I did click the disable provisioning button, then teh enable provisioning button but I'm still getting the same error

Thanks

0 Kudos
Gaurav_Baghla
VMware Employee
VMware Employee

Can you reproduce the problem and attach the latest log files from Composer and Connection server.

Regards Gaurav Baghla Opinions are my own and not the views of my employer. https://twitter.com/garry_14
0 Kudos
fugrat1
Enthusiast
Enthusiast

I think this message may be a red herring as it is appearing regularly throughout the logs so appears to be something to do with a scheduled task although I would obviously like to resolve this.  I have had a look through the debug logs on the connection server and can see the below which looks like it is trying to check if the linked clone is SeSparse capable.  This is a Windows 10 template so I'm not sure if this makes any difference.  I can upload the logs if still required?

2016-06-01T16:01:49.937+01:00 DEBUG (0D60-1288) <ajp-nio-8009-exec-4> [FlexFaultHandler] Unknown com.vmware.vdi.admin.ui.common.FlexFaultHandler.a(SourceFile:329)

java.lang.NullPointerException

at com.vmware.vdi.admin.be.VCManager.isSeSparseSupported(SourceFile:15778)

at com.vmware.vdi.admin.ui.DesktopBeanFlexAdapter.isLinkedCloneSeSparseCapable(SourceFile:3995)

at sun.reflect.GeneratedMethodAccessor1740.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.vmware.vdi.admin.ui.common.ViewFlexFactory$ViewProxy.invoke(SourceFile:113)

at com.sun.proxy.$Proxy105.isLinkedCloneSeSparseCapable(Unknown Source)

at sun.reflect.GeneratedMethodAccessor1739.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:386)

at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:178)

at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1468)

at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1044)

at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:101)

at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:154)

at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:42)

at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:63)

at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:190)

at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:328)

at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:373)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)

at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.a(SourceFile:90)

at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.doPost(SourceFile:57)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.catalina.filters.FailedRequestFilter.doFilter(FailedRequestFilter.java:97)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at com.vmware.vdi.support.ViewAdminFilter.doFilter(SourceFile:103)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at com.vmware.vdi.admin.be.filters.CertificateAuthFilter.doFilter(SourceFile:140)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at com.vmware.vdi.admin.be.filters.DisableUrlSessionFilter.doFilter(SourceFile:73)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)

at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:868)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

2016-06-01T16:01:49.938+01:00 ERROR (0D60-1288) <ajp-nio-8009-exec-4> [FlexFaultHandler] Unknown

0 Kudos