Hi folks – anyone have some insight for Pavan on this?
Thanks, Bill...
From: Pavan Gupta <pavan.gupta@calsoftinc.com>
Sent: Friday, August 16, 2019 5:40 AM
To: Zvonar, Bill <Bill.Zvonar@windriver.com>
Cc: saichandu.behara@calsoftinc.com
Subject: Issue in running ansible playbook
Hi Bill,
With Stx2.0, we are looking in to the following issue after running this command: ‘ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap/bootstrap.yml’.
If you have any pointers, kindly let us know.
TASK [persist-config : debug] *******************************************************************************
ok: [localhost] => {
"populate_result": {
"changed": true,
"failed": false,
"failed_when_result": false,
"msg": "non-zero return code",
"rc": 1,
"stderr": "No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"\nTraceback (most recent call last):\n File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1565850999.9-200492702943299/populate_initial_config.py\",
line 950, in <module>\n with openstack.OpenStack() as client:\n File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__\n raise Exception('Failed to connect')\nException: Failed to connect\n",
"stderr_lines": [
"No handlers could be found for logger \"controllerconfig.common.rest_api_utils\"",
"Traceback (most recent call last):",
" File \"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1565850999.9-200492702943299/populate_initial_config.py\", line 950, in <module>",
" with openstack.OpenStack() as client:",
" File \"/usr/lib64/python2.7/site-packages/controllerconfig/openstack.py\", line 62, in __enter__",
" raise Exception('Failed to connect')",
"Exception: Failed to connect"
],
"stdout": "Failed to provision the initial system config.\n",
"stdout_lines": [
"Failed to provision the initial system config."
]
}
}