SRT65
Enthusiast
Enthusiast

Getting "Unknown View Composer Error" after upgrade to Horizon 7.7 / vCenter 6.7

We recently upgraded to horizon 7.7 from 6.2 however now getting an error popup "Unknown View Composer Error" when selecting any existing linked clone desktop pool. If I select OK then no summary information is displayed and [Edit...] button is disabled. The other tabs seem to work fine. This is from the legacy flash based /admin/ console.

Strange thing is that if I go to the HTML5 based /newadmin/ console the summary info appears correctly and edit button is enabled. However if I go in and edit the pool I notice that on the "vCenter Settings" tab the "Parent VM in vCenter" field is empty. The "Snapshot" field has the correct snapshot in the field. If I click [Browse...] I can select a parent VM but it does not populate the field, it just remains empty no matter what parent I select.

If I create a new desktop pool from scratch (using same settings) it seems to all work fine in both consoles. So this only seems to be related to pools that existed before the upgrade.

We also recently did an upgrade to the vCenter Server (Windows based) from 6.0 to 6.7 but this was a week after the horizon upgrade so not sure if issue is related to the Horizon upgrade or the vCenter upgrade.

Any help would be greatly appreciated,

EDIT: Have found related message in debug log when trying to view existing pool

2019-03-09T08:02:52.109+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Loading desktop summary for : P1_W8

2019-03-09T08:02:52.115+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getPoolByDN 0 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.115+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getPoolById 0 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.135+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [VCManager] Fetched version (6.7.0) from tracker for VC: d9e253c4-5420-454e-adb8-9c2f04624db0

2019-03-09T08:02:52.135+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - desktop/pool/vc = 26

2019-03-09T08:02:52.135+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - VM/PM = 0

2019-03-09T08:02:52.161+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [CertMatchingTrustManager] invalid certificate (as expected) for VCENTER2:443 InvalidCertificateException[reasons:nameMismatch;notTrusted; subject:'C=US, CN=vcenter2.cms.net.au' message:'ValidateCertificateChain Result: FAIL, EndEntityReasons: nameMismatch, ChainReasons: partialChain']

2019-03-09T08:02:52.173+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - provisioned - datastore = 38

2019-03-09T08:02:52.173+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - provisioned - template size = 0

2019-03-09T08:02:52.173+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - provisioned - cluster path = 0

2019-03-09T08:02:52.173+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - provisioned = 38

2019-03-09T08:02:52.173+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - sessions = 0

2019-03-09T08:02:52.174+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getPoolById 0 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.230+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [CertMatchingTrustManager] invalid certificate (as expected) for VCENTER2:18443 InvalidCertificateException[reasons:expired;notTrusted; subject:'C=US, ST=CA, L=CA, O=VMware Inc., OU=VMware Inc., CN=VCENTER2, EMAILADDRESS=support@vmware.com' message:'ValidateCertificateChain Result: FAIL, EndEntityReasons: expired, noTrust, ChainReasons: invalid']

2019-03-09T08:02:52.255+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getPoolById 0 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.360+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Failed to get SVI admin config: P1_W8 com.vmware.vdi.logger.Logger.debug(Logger.java:44)

com.vmware.vdi.svisupport.SVIException: View composer error : View Composer Fault: Invalid input parameter dgId for desktop provisioning. Reason: DoesNotExist

    at com.vmware.vdi.svisupport.SVIException.createSVIException(SourceFile:196)

    at com.vmware.vdi.svisupport.SVIException.createSVIException(SourceFile:186)

    at com.vmware.vdi.admin.be.DesktopManager.getCurrentDeploymentGroup(SourceFile:3769)

    at com.vmware.vdi.admin.be.DesktopManager.getCurrentADConfigEntry(SourceFile:3799)

    at com.vmware.vdi.admin.be.DesktopManager.getDestkopSummaryInfo(SourceFile:5155)

    at com.vmware.vdi.admin.be.DesktopManager.getDestkopSummaryInfo(SourceFile:4974)

    at com.vmware.vdi.admin.ui.DesktopDetailBeanFlexAdapter.getDesktopSummary(SourceFile:56)

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

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

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

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

    at com.sun.proxy.$Proxy202.getDesktopSummary(Unknown Source)

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

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

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

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

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

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

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

    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:742)

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

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

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

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

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

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

    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:661)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479)

    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)

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

    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

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

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

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

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

Caused by: com.vmware.sviservice.SviServiceGetDeploymentGroupInvalidParameterFaultFaultFaultMessage: VMware.Sim.Fault.InvalidParameterFaultParam: dgId Detail: DoesNotExist

    at sun.reflect.GeneratedConstructorAccessor623.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

    at org.apache.cxf.interceptor.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:183)

    at org.apache.cxf.interceptor.ClientFaultConverter.handleMessage(ClientFaultConverter.java:83)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

    at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)

    at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:70)

    at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:35)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:833)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1695)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)

    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)

    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

    at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:537)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:446)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:361)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)

    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)

    at com.sun.proxy.$Proxy77.getDeploymentGroup(Unknown Source)

    at com.vmware.vdi.admin.be.DesktopManager.getCurrentDeploymentGroup(SourceFile:3767)

    ... 63 more

2019-03-09T08:02:52.360+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - svi = 187

2019-03-09T08:02:52.361+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - image repository = 1

2019-03-09T08:02:52.362+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getPoolById 0 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.365+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [AdminDataCache] com.vmware.vdi.admin.be.admindatacache.AdminDataCache.getVmsByPoolId 1 ms, fetchedFromCache=false, useCache=false

2019-03-09T08:02:52.368+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - counters = 8

2019-03-09T08:02:52.368+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Desktop summary - space reclamation = 0

2019-03-09T08:02:52.368+10:30 DEBUG (0AB4-13B8) <ajp-nio-8009-exec-3> [DesktopManager] Finished desktop summary for P1_W8 = 259

0 Kudos
2 Replies
andiwe79
Enthusiast
Enthusiast

Did you already re-enter the Credentials as described in this KB article:

VMware Knowledge Base

If you reinstalled the Composer Service to a new machine you may need to migrate the RSA keys from the old composer.

VMware View 5.0 Documentation Center

I know this is from view 5 but the .net will work with newer versions too .

Best regards

Andreas

0 Kudos
vJoeG
VMware Employee
VMware Employee

+1 for the RSA key export


Here is a more current version of the RSA export commands. Looking at the error in your logs around where you highlighted in red I am thinking that the older pools were using those keys and they are missing in the new composer.

Migrate the RSA Key Container to the New View Composer Service

------------------ Joe Graziano Senior Consultant, EUC - PSO VCP7-DTM, VCP6-DM, VCP6-DCV vExpert jgraziano@vmware.com
0 Kudos