VMware Cloud Community
Dandollars
Contributor
Contributor

vRa 7.0 error The initial content configuration failed at step: "Execute workflow to configure initial content"

Hello Guys,

Just started the installation on vRa 7.0 and i get this error when i got the following error.

"The initial content configuration failed at step: "Execute workflow to configure initial content". See the log file /var/log/messages for more details."

Please find the log below

2016-01-24T15:11:01.865571+00:00 localhost /usr/sbin/cron[8014]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)

2016-01-24T15:11:01.865592+00:00 localhost /usr/sbin/cron[8015]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)

2016-01-24T15:11:30.757475+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8188]: info Processing request PUT /config/nodes/F275E344-F376-4D6C-A71B-5BBEF0B74C97/ping

2016-01-24T15:11:30.758267+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8188]: info match 0

2016-01-24T15:11:30.759100+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8188]: info Executing shell command... ['/usr/sbin/vcac-config', '-v', 'cluster-config-node', '--action', 'put', '--id', 'F275E344-F376-4D6C-A71B-5BBEF0B74C97', '--time', '2016-01-24 15:11:30', '--file', '-']

2016-01-24T15:11:34.258136+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8188]: info Result from command: code: 0 err:

2016-01-24T15:12:01.998902+00:00 localhost /usr/sbin/cron[8245]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)

2016-01-24T15:12:01.998985+00:00 localhost /usr/sbin/cron[8246]: (root) CMD (/usr/bin/python /usr/lib/vcac/agent/va-agent.py)

2016-01-24T15:12:01.999108+00:00 localhost /usr/sbin/cron[8247]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)

2016-01-24T15:12:02.055112+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next

2016-01-24T15:12:02.055262+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:12:04.363729+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info Processing request GET /config/nodes/F275E344-F376-4D6C-A71B-5BBEF0B74C97/commands/next-command

2016-01-24T15:12:04.364647+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info match 0

2016-01-24T15:12:04.365855+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info match 2 True, URI:/config/nodes/F275E344-F376-4D6C-A71B-5BBEF0B74C97/commands/next-command

2016-01-24T15:12:04.366750+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info Executing shell command... ['/usr/sbin/vcac-config', '-v', 'cluster-command-get-next', '--node', 'F275E344-F376-4D6C-A71B-5BBEF0B74C97']

2016-01-24T15:12:05.078424+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Could not get command:

No command for node cafe.node.252376814.6585

2016-01-24T15:12:07.278628+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info Result from command: code: 204 err: ---BEGIN---

No command for node F275E344-F376-4D6C-A71B-5BBEF0B74C97

---END---

Use -e option to get more details.

2016-01-24T15:12:07.278649+00:00 localhost vami /opt/vmware/share/htdocs/service/cafe/config.py[8391]: info Error code: 204

2016-01-24T15:12:42.272204+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info Processing request

2016-01-24T15:12:42.273138+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info Authenticating with sfcb server.

2016-01-24T15:12:42.273344+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info user:root

2016-01-24T15:12:42.301023+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info Authenticated user: root successfully

2016-01-24T15:12:42.301353+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info locale=en-US, id=initialContentDeploy, action=submit, controller=<type 'instance'>

2016-01-24T15:12:42.309098+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info Executing shell command...

2016-01-24T15:12:44.929022+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8437]: info Executing shell command...

2016-01-24T15:12:48.443141+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next

2016-01-24T15:12:48.443390+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:12:51.164841+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:12:51.805398+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info Processing request

2016-01-24T15:12:51.805947+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info Authenticating with sfcb server.

2016-01-24T15:12:51.806034+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info user:root

2016-01-24T15:12:51.814067+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info Authenticated user: root successfully

2016-01-24T15:12:51.814236+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>

2016-01-24T15:12:51.814364+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8598]: info Executing shell command...

2016-01-24T15:12:53.895393+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Importing vRO workflows package...

2016-01-24T15:12:58.265607+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Successfully imported vRO package.

2016-01-24T15:12:58.265625+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Finished..

2016-01-24T15:12:58.265629+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:12:59.995943+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next

2016-01-24T15:12:59.995989+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:01.084172+00:00 localhost /usr/sbin/cron[8713]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)

2016-01-24T15:13:01.084219+00:00 localhost /usr/sbin/cron[8714]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)

2016-01-24T15:13:02.001115+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:04.813533+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing vRO workflow for creating configurationadmin user...

2016-01-24T15:13:12.297461+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info Processing request

2016-01-24T15:13:12.298214+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info Authenticating with sfcb server.

2016-01-24T15:13:12.298346+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info user:root

2016-01-24T15:13:12.309770+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info Authenticated user: root successfully

2016-01-24T15:13:12.310013+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>

2016-01-24T15:13:12.310161+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[8994]: info Executing shell command...

2016-01-24T15:13:16.230604+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [POST] : URL [https://vra.ujn.cloud/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions]

2016-01-24T15:13:16.230654+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info The request is successful

2016-01-24T15:13:16.230828+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra.ujn.cloud:443/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions/ff808081...]

2016-01-24T15:13:16.230978+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra.ujn.cloud:443/vco/api/workflows/f2b3064a-75ca-4199-a824-1958d9c1efed/executions/ff808081...]

2016-01-24T15:13:16.231070+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Workflow execution completed successfully.

2016-01-24T15:13:16.234266+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info The execution of the vRO workflow for creating configurationadmin user was completed successfully.

2016-01-24T15:13:16.234297+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Finished..

2016-01-24T15:13:16.235760+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:19.596455+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next

2016-01-24T15:13:19.596493+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:22.983542+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:26.078924+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Importing ASD blueprint...

2016-01-24T15:13:31.762901+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info Processing request

2016-01-24T15:13:31.763324+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info Authenticating with sfcb server.

2016-01-24T15:13:31.763387+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info user:root

2016-01-24T15:13:31.771656+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info Authenticated user: root successfully

2016-01-24T15:13:31.771672+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>

2016-01-24T15:13:31.774659+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9135]: info Executing shell command...

2016-01-24T15:13:33.264539+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Successfully imported ASD blueprint.

2016-01-24T15:13:33.264562+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Finished..

2016-01-24T15:13:33.264567+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:34.613312+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Calling cluster-command-get-next

2016-01-24T15:13:34.613324+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:36.795490+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:39.852723+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing vRO workflow for initial configuration service...

2016-01-24T15:13:50.477809+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [POST] : URL [https://vra.ujn.cloud/vco/api/workflows/ef00fce2-80ef-4b48-96b5-fdee36981770/executions]

2016-01-24T15:13:50.477848+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info The request is successful

2016-01-24T15:13:50.477900+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra.ujn.cloud:443/vco/api/workflows/ef00fce2-80ef-4b48-96b5-fdee36981770/executions/ff808081...]

2016-01-24T15:13:50.477915+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Request type [GET] : URL [https://vra.ujn.cloud:443/vco/api/workflows/ef00fce2-80ef-4b48-96b5-fdee36981770/executions/ff808081...]

2016-01-24T15:13:50.477923+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Workflow  [https://vra.ujn.cloud:443/vco/api/workflows/ef00fce2-80ef-4b48-96b5-fdee36981770/executions/ff808081...] execution failed.

2016-01-24T15:13:50.477932+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info The response is:

2016-01-24T15:13:50.477940+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info {'content': {u'name': u'Initial Configuration Service', u'start-date': 1453648420301, u'content-exception': u'Error creating connection for host: {Connection: 87bb86c6-bb9b-42c7-b19d-43887018d746, Connection info: {Id: 87bb86c6-bb9b-42c7-b19d-43887018d746,Name: Infrastucture - vra-iaas.ujn.cloud,Host: https://vra-iaas.ujn.cloud/,Authentication: com.vmware.o11n.plugin.dynamicops.configuration.authentication.SSOAuthentication@5239c140,Accept all certificates: false,}, Factory: class com.vmware.o11n.plugin.dynamicops.VcacPluginFactory @87e6da4f-bd27-4779-8205-25fb9ac79681; Sun Jan 24 15:13:42 UTC 2016} reason: com.vmware.o11n.plugin.dynamicops.ServiceException: HTTP/1.1 401 Unauthorized : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>401 - Unauthorized: Access is denied due to invalid credentials.</title><style type="text/css"><!--body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;}h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;background-color:#555555;}#content{margin:0 0 0 2%;position:relative;}.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}--></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"> <div class="content-container"><fieldset>  <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>  <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3> </fieldset></div></div></body></html> (Workflow:Add an IaaS host / Add a VCAC host (item0)#5

2016-01-24T15:13:50.482770+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info The execution of the vRO workflow for initial configuration service failed.

2016-01-24T15:13:50.482803+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Return code is : 2

2016-01-24T15:13:50.483720+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Executing shell command...

2016-01-24T15:13:51.859790+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info Processing request

2016-01-24T15:13:51.860558+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info Authenticating with sfcb server.

2016-01-24T15:13:51.860681+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info user:root

2016-01-24T15:13:51.871830+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info Authenticated user: root successfully

2016-01-24T15:13:51.872153+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info locale=en-US, id=initialContentPolling, action=submit, controller=<type 'instance'>

2016-01-24T15:13:51.872408+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: info Executing shell command...

2016-01-24T15:13:53.806269+00:00 localhost vami /usr/lib/vcac/agent/va-agent.py: info Command failed: The execution of the vRO workflow for initial configuration service failed.

2016-01-24T15:13:54.853308+00:00 localhost vami /opt/vmware/share/htdocs/service/wizard/wizard-config.py[9301]: warning Initial content creation failed

2016-01-24T15:14:01.320621+00:00 localhost /usr/sbin/cron[9340]: (root) CMD (/usr/local/horizon/scripts/elasticsearchnodes.hzn)

2016-01-24T15:14:01.320668+00:00 localhost /usr/sbin/cron[9339]: (root) CMD (/opt/vmware/telemetry/scripts/config-updater.sh >> /var/log/vmware/vcac/telemetry/vcac-telemetry-cron.log)

Tags (1)
0 Kudos
2 Replies
gbivanov
VMware Employee
VMware Employee

The problem seems to be that provided credentials for infrastructure machine (Windows machine) are not correct. (401 - Unauthorized: Access is denied due to invalid credentials.)

Can you try to create a vcac host from the VCAC plugin using sso authentication?

0 Kudos
msk05
Hot Shot
Hot Shot

I had the same issue today while running initial content catalog item. The trick is to use the username as vsphere.local\administrator instead of administrator@vsphere.local. It picked up the username after that.

0 Kudos