Hi all,
Trying to complete the install wizard, it fails during the last step with the message:
The initial content configuration failed at step: "Import ASD blueprint". See the log file /var/log/messages for more details.
Checking /var/log/messages, not a lot of helpful info here. Any ideas why it fails? Possible to import this stuff manually? Thanks!
2015-12-23T01:21:56.666941+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Executing vRO workflow for creating configurationadmin user...
2015-12-23T01:22:01.370207+00:00 vra /usr/sbin/cron[23220]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)
2015-12-23T01:22:01.381227+00:00 vra /usr/sbin/cron[23221]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)
2015-12-23T01:22:07.796817+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Request type [POST] : URL [https://vra/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions]
2015-12-23T01:22:07.796843+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info The request is successful
2015-12-23T01:22:07.796849+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra:443/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions/4028808e51cc45b301...
ad1bdb/]
2015-12-23T01:22:07.796855+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra:443/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions/4028808e51cc45b301...
ad1bdb/]
2015-12-23T01:22:07.796860+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Workflow execution completed successfully.
2015-12-23T01:22:07.799391+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info The execution of the vRO workflow for creating configurationadmin user was completed successfully.
2015-12-23T01:22:07.799476+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Finished..
2015-12-23T01:22:07.799483+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...
2015-12-23T01:22:08.063135+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info Processing request
2015-12-23T01:22:08.063771+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info Authenticating with sfcb server.
2015-12-23T01:22:08.063893+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info user:root
2015-12-23T01:22:08.074139+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info Authenticated user: root successfully
2015-12-23T01:22:08.074406+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>
2015-12-23T01:22:08.074546+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23367]: info Executing shell command...
2015-12-23T01:22:10.442966+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next
2015-12-23T01:22:10.442998+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...
2015-12-23T01:22:12.756711+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...
2015-12-23T01:22:14.961922+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Importing ASD blueprint...
2015-12-23T01:22:21.394418+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Importing ASD blueprint failed.
2015-12-23T01:22:21.394448+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Return code is : 2
2015-12-23T01:22:21.394454+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...
2015-12-23T01:22:23.676468+00:00 vra vami /usr/lib/vcac/agent/va-agent.py: info Command failed: Importing ASD blueprint failed.
2015-12-23T01:22:28.036618+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info Processing request
2015-12-23T01:22:28.037253+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info Authenticating with sfcb server.
2015-12-23T01:22:28.037389+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info user:root
2015-12-23T01:22:28.044963+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info Authenticated user: root successfully
2015-12-23T01:22:28.045207+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>
2015-12-23T01:22:28.045305+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: info Executing shell command...
2015-12-23T01:22:30.264772+00:00 vra vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[23517]: warning Initial content creation failed
2015-12-23T01:22:35.323885+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23549]: info Processing request PUT /config/nodes/5D5731F2-F6FD-4BA8-B3DC-BA1F11AB5DB8/ping
2015-12-23T01:22:35.324387+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23549]: info match 0
2015-12-23T01:22:35.325000+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23549]: info Executing shell command... ['/usr/sbin/vcac-config', '-v', 'cluster-config-node', '--action', 'put', '--id', '5
D5731F2-F6FD-4BA8-B3DC-BA1F11AB5DB8', '--time', '2015-12-23 01:22:35', '--file', '-']
2015-12-23T01:22:37.570060+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23549]: info Result from command: code: 0 err:
2015-12-23T01:23:01.684269+00:00 vra /usr/sbin/cron[23591]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)
2015-12-23T01:23:01.684298+00:00 vra /usr/sbin/cron[23592]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)
2015-12-23T01:23:02.785480+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23641]: info Processing request GET /config/nodes/5D5731F2-F6FD-4BA8-B3DC-BA1F11AB5DB8/commands/next-command
2015-12-23T01:23:02.786080+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23641]: info match 0
2015-12-23T01:23:02.786901+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23641]: info match 2 True, URI:/config/nodes/5D5731F2-F6FD-4BA8-B3DC-BA1F11AB5DB8/commands/next-command
2015-12-23T01:23:02.787511+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23641]: info Executing shell command... ['/usr/sbin/vcac-config', '-v', 'cluster-command-get-next', '--node', '5D5731F2-F6FD
-4BA8-B3DC-BA1F11AB5DB8']
2015-12-23T01:23:04.978457+00:00 vra vami /opt/vmware/share/htdocs/service/cafe/config.py[23641]: info Result from command: code: 204 err: ---BEGIN---
No command for node 5D5731F2-F6FD-4BA8-B3DC-BA1F11AB5DB8
---END---
More info:
Logged into the vRA embedded Orchestrator and tried to run the Initial Configuration Service workflow manually (under vRealize Automation->Configuration->InitContent). Got the following error:
[2015-12-23 11:29:24.158] [E] Error in (Workflow:Initial Configuration Service / Publish XAAS Blueprint Entity (item34)#12) Xaas blueprint with id [9343aee5-692c-4c75-8afe-afacdadf2bfa] not found
Has anyone actually got this workflow to work?
Full output:
[2015-12-23 11:29:10.645] [I] ********************************************************
[2015-12-23 11:29:10.650] [I] Setup Cafe Host for tenant
[2015-12-23 11:29:10.652] [I] ********************************************************
[2015-12-23 11:29:10.701] [I] System Tenant cafe host found.
[2015-12-23 11:29:10.930] [I] Tenant with name [vsphere.local] already exists
[2015-12-23 11:29:10.988] [I] Search for user with principalId: configurationadmin@vsphere.local
[2015-12-23 11:29:11.222] [I] Principal with principalId [configurationadmin@vsphere.local] found
[2015-12-23 11:29:11.274] [I] Cafe host for
tenant : vsphere.local
Host : vra.vmsysadmin.com
username : configurationadmin
not found
[2015-12-23 11:29:11.276] [I] Try to create cafe host for tenant vsphere.local
[2015-12-23 11:29:11.278] [I] Cafe Host Configuration
[2015-12-23 11:29:11.279] [I] name vsphere.local[configurationadmin@vsphere.local]-vra.vmsysadmin.com
[2015-12-23 11:29:11.281] [I] url https://vra.vmsysadmin.com
[2015-12-23 11:29:11.282] [I] tenant vsphere.local
[2015-12-23 11:29:11.284] [I] sessionMode Shared Session
[2015-12-23 11:29:11.285] [I] username configurationadmin@vsphere.local
[2015-12-23 11:29:11.566] [I] Cafe host for tenant vsphere.local configured successfully.
[2015-12-23 11:29:11.589] [I] ********************************************************
[2015-12-23 11:29:11.591] [I] Setup Infrastructure Host
[2015-12-23 11:29:11.592] [I] ********************************************************
[2015-12-23 11:29:11.658] [I] Infrastructure host name: iaas.vmsysadmin.com
[2015-12-23 11:29:11.909] [I] Infrastructure host not configured.
[2015-12-23 11:29:19.986] [I] VCAC host added: Infrastucture - iaas.vmsysadmin.com https://iaas.vmsysadmin.com authentication type: SSO
[2015-12-23 11:29:20.032] [I] ********************************************************
[2015-12-23 11:29:20.034] [I] Setup Business Group
[2015-12-23 11:29:20.035] [I] ********************************************************
[2015-12-23 11:29:20.593] [I] Create a business group with name Configuration Administrators
[2015-12-23 11:29:20.639] [I] Creating business group 'Configuration Administrators'...
[2015-12-23 11:29:23.764] [I] Business group created: 669818cd-ef4c-4d7c-819c-3fb35199af21
[2015-12-23 11:29:23.810] [I] Business group with name Configuration Administrators created successfully.
[2015-12-23 11:29:23.834] [I] ********************************************************
[2015-12-23 11:29:23.836] [I] Setup Advance Service Designer Blueprint
[2015-12-23 11:29:23.838] [I] ********************************************************
[2015-12-23 11:29:24.158] [E] Error in (Workflow:Initial Configuration Service / Publish XAAS Blueprint Entity (item34)#12) Xaas blueprint with id [9343aee5-692c-4c75-8afe-afacdadf2bfa] not found
[2015-12-23 11:29:24.185] [E] Unable to Execute Step: Setup Advance Service Designer Blueprint
[2015-12-23 11:29:24.207] [I] Rollback creates entities
[2015-12-23 11:29:24.220] [I] Deleting business group 'Configuration Administrators'...
[2015-12-23 11:29:26.956] [I] Business group deleted: 669818cd-ef4c-4d7c-819c-3fb35199af21
[2015-12-23 11:29:26.957] [I] Business group deleted
[2015-12-23 11:29:27.011] [E] Workfow execution stack:
***
item: 'Initial Configuration Service/item36', state: 'failed', business state: 'null', exception: 'Xaas blueprint with id [9343aee5-692c-4c75-8afe-afacdadf2bfa] not found (Workflow:Initial Configuration Service / Publish XAAS Blueprint Entity (item34)#12)'
workflow: 'Initial Configuration Service' (ef00fce2-80ef-4b48-96b5-fdee36981770)
| 'attribute': name=tenantCafeHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='e42f019e-1d2e-4bed-93de-fbed3a59969f'&dunesName='vCACCAFE:VCACHost'
| 'attribute': name=connectionTimeOut type=number value=30.0
| 'attribute': name=operationTimeOut type=number value=60.0
| 'attribute': name=errorCode type=string value=Xaas blueprint with id [9343aee5-692c-4c75-8afe-afacdadf2bfa] not found (Workflow:Initial Configuration Service / Publish XAAS Blueprint Entity (item34)#12)
| 'attribute': name=stepName type=string value=Setup Advance Service Designer Blueprint
| 'attribute': name=blueprintName type=string value=
| 'attribute': name=businessGroupName type=string value=Configuration Administrators
| 'attribute': name=entitlementName type=string value=vRA Configuration Entitlement
| 'attribute': name=adminServiceName type=string value=vRA Configuration
| 'attribute': name=xaasBlueprintId type=string value=9343aee5-692c-4c75-8afe-afacdadf2bfa
| 'attribute': name=entities type=Array/Any value=#{#vCACCAFE:VCACHost#dunes://service.dunes.ch/CustomSDKObject?id='fcb25dfd-c63f-4f83-8f6f-f7e4f64a340c'&dunesName='vCACCAFE:VCACHost'#;#vCACCAFE:Tenant#dunes://service.dunes.ch/CustomSDKObject?id='fcb25dfd-c63f-4f83-8f6f-f7e4f64a340c/vsphere.local'&dunesName='vCACCAFE:Tenant'#;#vCACCAFE:VCACHost#dunes://service.dunes.ch/CustomSDKObject?id='e42f019e-1d2e-4bed-93de-fbed3a59969f'&dunesName='vCACCAFE:VCACHost'#;#vCACCAFE:Subtenant#dunes://service.dunes.ch/CustomSDKObject?id='e42f019e-1d2e-4bed-93de-fbed3a59969f/669818cd-ef4c-4d7c-819c-3fb35199af21'&dunesName='vCACCAFE:Subtenant'#}#
| 'attribute': name=cafeHosts type=Array/vCACCAFE:VCACHost value=#{#vCACCAFE:VCACHost#dunes://service.dunes.ch/CustomSDKObject?id='fcb25dfd-c63f-4f83-8f6f-f7e4f64a340c'&dunesName='vCACCAFE:VCACHost'#;#vCACCAFE:VCACHost#dunes://service.dunes.ch/CustomSDKObject?id='66147972-4167-47a2-9362-65b42c9180c9'&dunesName='vCACCAFE:VCACHost'#}#
| 'attribute': name=acceptAllCertificates type=boolean value=true
| 'attribute': name=systemTenantCafeHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='fcb25dfd-c63f-4f83-8f6f-f7e4f64a340c'&dunesName='vCACCAFE:VCACHost'
| 'attribute': name=iaasHostName type=string value=Infrastucture - iaas.vmsysadmin.com
| 'attribute': name=iaasHostAddress type=string value=iaas.vmsysadmin.com
| 'attribute': name=iaasHostURL type=string value=https://iaas.vmsysadmin.com
| 'attribute': name=iaasDefaultConnectionSettings type=boolean value=true
| 'attribute': name=iaasAuthenticationType type=string value=SSO
| 'attribute': name=iaasHost type=vCAC:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='b701ed45-b4c9-4ca2-9e7d-a0825a59d164'&dunesName='vCAC:VCACHost'
| 'attribute': name=iaasHostAddProxySettings type=boolean value=false
| 'attribute': name=defaultDomain type=string value=vsphere.local
| 'attribute': name=tenantUrlName type=string value=vsphere.local
| 'attribute': name=systemTenantCafeHostName type=string value=Default
| 'attribute': name=tenantAdminUseEntity type=Any value=pojo#rO0ABXNyACpjaC5kdW5lcy52c28uc2RrLlBPSk9Db252ZXJ0b3IkVGFnZ2VkVmFsdWUAAAAAAAAAAQMAAkwABm9iamVjdHQAEkxqYXZhL2xhbmcvT2JqZWN0O0wACnBsdWdpbk5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cHcKAAhfX05VTExfX3NyAC5jb20udm13YXJlLnZjYWMuYXV0aGVudGljYXRpb24ucmVzdC5zdHVicy5Vc2VyAAAAAAAAAAECAAtaAAhkaXNhYmxlZFoABmxvY2tlZEwAC2Rlc2NyaXB0aW9ucQB+AAJMAAxlbWFpbEFkZHJlc3NxAH4AAkwACWZpcnN0TmFtZXEAfgACTAAIbGFzdE5hbWVxAH4AAkwAB21hbmFnZXJ0ADBMY29tL3Ztd2FyZS92Y2FjL3BsYXRmb3JtL3Jlc3QvZGF0YS9QcmluY2lwYWxJZDtMAARuYW1lcQB+AAJMAAhwYXNzd29yZHEAfgACTAALcHJpbmNpcGFsSWRxAH4ABUwACnRlbmFudE5hbWVxAH4AAnhwAAB0AAEgdAAbY29uZmlndXJhdGlvbmFkbWluQHRlc3QuY29tdAAAdAAAcHQAAHQAAHNyAC5jb20udm13YXJlLnZjYWMucGxhdGZvcm0ucmVzdC5kYXRhLlByaW5jaXBhbElkfwaulMz5BHsCAAJMAAZkb21haW5xAH4AAkwABG5hbWVxAH4AAnhwdAANdnNwaGVyZS5sb2NhbHQAEmNvbmZpZ3VyYXRpb25hZG1pbnQADXZzcGhlcmUubG9jYWx4
| 'input': name=tenantAdminUserName type=string value=configurationadmin
| 'input': name=tenantAdminPassword type=SecureString value=__NULL__
| 'no outputs'
*** End of execution stack.
1. did you ever find a solution for this? I am experiencing the same issue.
FYI, the initial content creation is really configuration. You aren't losing anything by not having the import, you just need to perform the config yourself.
The setup of initial content does the following:
Add a Local User
Assign Tenant Admin/IaaS Admin to local user
Create an Endpoint
Create a Fabric with said local user
Create a Business Group containing local user
Create a Reservation.
Data collection.
Create Blueprint from any templates found
Publish them as Catalog Items
Create a Service
Associate Catalog Items with Service
Create an Entitlement for those Catalog Items
That said... it should work. Could you please show the Inputs page of the Orchestrator workflow? It may be that one of the values you were prompted for was not in the correct format.
Grant
I have seen the initial configuration fail, if the vCenter you're connecting to doesn't have any VM Templates configured. Might be worth checking.
Had the same issue, we manually created the content. Ours was a medium deployment with 2 appliances, 6 windows machines + db server.
In my case it was an incorrect license key. I was using vRealize IT Business Management license key which allows the wizard to continue but is not enough for vRealize Automation to work correctly. Using a key from vCloud Suite Enterprise fixed this problem for me and allowed the installer to create the initial content.
doh! that was it, I was using the wrong license key. thanks!
