VMware Cloud Community
railroadmanuk
Contributor
Contributor

Issue running 'Add a vRA host' workflow in vRA 7.0 plugin

I am trying to run the 'Add a vRA host' workflow in the vRA 7.0 plugin for vRO 7.0, and get the following error adding the host:

[2016-01-11 11:27:01.432] [E] Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067) - <my_vra_host>

[2016-01-11 11:27:01.444] [E] Workfow execution stack:

***

item: 'Add a vRA host/item2', state: 'failed', business state: 'null', exception: 'Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067)'

workflow: 'Add a vRA host' (0c8620c8-056b-4820-8d8e-9744fe22e406)

|  'attribute': name=errorCode type=string value=Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067)

|  'input': name=name type=string value=<my_vra_host>

|  'input': name=url type=string value=https://<my_vra_host>

|  'input': name=tenant type=string value=vsphere.local

|  'input': name=authUsername type=string value=configurationadmin@vsphere.local

|  'input': name=authPassword type=SecureString value=__NULL__

|  'input': name=connectionTimeout type=number value=30.0

|  'input': name=operationTimeout type=number value=60.0

|  'input': name=sessionMode type=string value=Shared Session

|  'input': name=acceptAllCertificates type=boolean value=true

|  'output': name=vcacHost type=vCACCAFE:VCACHost value=null

*** End of execution stack.

Has anyone else seen this error? I have also tried adding the host with a domain account added to the Tenant Administrators group from my Active Directory Identity Source.

Thanks in advance.

Tim

0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee

Tim, could you provide the full Java exception stack trace? It should be available in log files.

vRO server main log file is /var/log/vco/app-server/server.log

0 Kudos
railroadmanuk
Contributor
Contributor

Thanks for the response Ilian, the log shows this when I run the workflow:

2016-01-11 16:03:53.444+0000 [ActiveHostValidator] INFO  {} [UcsFactory] Fetching the Ucs Handle for Host :com.cisco.ucs.mgr.vcoplugin.xml.UcsHost@85cd62b9

2016-01-11 16:04:01.968+0000 [http-nio-0.0.0.0-8281-exec-4] INFO  {} [SamlTokenImpl] SAML token for SubjectNameId [value=Administrator@VSPHERE.LOCAL, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from Element

2016-01-11 16:04:02.097+0000 [http-nio-0.0.0.0-8281-exec-4] INFO  {} [SamlTokenImpl] SAML token for SubjectNameId [value=Administrator@VSPHERE.LOCAL, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from Element

2016-01-11 16:04:02.217+0000 [http-nio-0.0.0.0-8281-exec-4] INFO  {} [SamlTokenImpl] SAML token for SubjectNameId [value=Administrator@VSPHERE.LOCAL, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from Element

2016-01-11 16:04:02.223+0000 [http-nio-0.0.0.0-8281-exec-4] INFO  {} [Execution] Executing workflow 'Add a vRA host'

2016-01-11 16:04:02.229+0000 [org.springframework.jms.listener.DefaultMessageListenerContainer#0-2] INFO  {} [Execution] Invoking workflow handler.40287e9d52221d1f0152316e0e3104a3

2016-01-11 16:04:02.254+0000 [WorkflowExecutorPool-Thread-31] INFO  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [WorkflowHandler] Starting workflow 'Add a vRA host' (40287e9d52221d1f0152316e0e3104a3)...

2016-01-11 16:04:02.375+0000 [WorkflowExecutorPool-Thread-31] INFO  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [ImportCAFromUrlAction] certificated found:1

2016-01-11 16:04:02.451+0000 [WorkflowExecutorPool-Thread-31] WARN  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [KeystoreHelper] Certificate[<CERT_THUMBPRINT>] is already imported under 'ssl:_imported__4' alias

2016-01-11 16:04:02.452+0000 [WorkflowExecutorPool-Thread-31] INFO  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [ImportCAFromUrlAction] Imported certificate from X.509 into dunes keystore

2016-01-11 16:04:02.672+0000 [WorkflowExecutorPool-Thread-31] WARN  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [WorkflowItemTaskRunner] Script execution error on workflow : Add a vRA host / 'Add a vRA host'(item0) : Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067)

2016-01-11 16:04:02.681+0000 [WorkflowExecutorPool-Thread-31] ERROR {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [SCRIPTING_LOG] [Add a vRA host (1/11/16 16:04:02)] Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067) - <MY_VRA_SERVER>

2016-01-11 16:04:02.695+0000 [WorkflowExecutorPool-Thread-31] ERROR {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [SCRIPTING_LOG] Workfow execution stack:

***

item: 'Add a vRA host/item2', state: 'failed', business state: 'null', exception: 'Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067)'

workflow: 'Add a vRA host' (0c8620c8-056b-4820-8d8e-9744fe22e406)

|  'attribute': name=errorCode type=string value=Could not initialize class com.vmware.horizon.common.api.token.SuiteToken (Workflow:Add a vRA host / Add a vRA host (item0)#58067)

|  'input': name=name type=string value=<MY_VRA_SERVER>

|  'input': name=url type=string value=https://<MY_VRA_SERVER>

|  'input': name=tenant type=string value=vsphere.local

|  'input': name=authUsername type=string value=configurationadmin@vsphere.local

|  'input': name=authPassword type=SecureString value=__NULL__

|  'input': name=connectionTimeout type=number value=30.0

|  'input': name=operationTimeout type=number value=60.0

|  'input': name=sessionMode type=string value=Shared Session

|  'input': name=acceptAllCertificates type=boolean value=true

|  'output': name=vcacHost type=vCACCAFE:VCACHost value=null

*** End of execution stack.

2016-01-11 16:04:02.698+0000 [WorkflowExecutorPool-Thread-31] INFO  {Administrator@VSPHERE.LOCAL:Add a vRA host:wfid=0c8620c8-056b-4820-8d8e-9744fe22e406[0c8620c8-056b-4820-8d8e-9744fe22e406]:token=40287e9d52221d1f0152316e0e3104a3} [WorkflowHandler] End of workflow 'Add a vRA host' (40287e9d52221d1f0152316e0e3104a3), state: failed

0 Kudos