[Starlingx-discuss] Issue in running ansible playbook

Zvonar, Bill Bill.Zvonar at windriver.com
Wed Aug 21 11:35:01 UTC 2019


Hi folks - anyone have some insight for Pavan on this?

Thanks, Bill...

From: Pavan Gupta <pavan.gupta at calsoftinc.com>
Sent: Friday, August 16, 2019 5:40 AM
To: Zvonar, Bill <Bill.Zvonar at windriver.com>
Cc: saichandu.behara at 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."
        ]
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190821/dfba0815/attachment-0001.html>


More information about the Starlingx-discuss mailing list