[Starlingx-discuss] Issue in running ansible playbook

Ngo, Tee Tee.Ngo at windriver.com
Wed Aug 21 15:17:08 UTC 2019


Odd. Test teams have not encountered a bootstrap issue in stx2.0
Pavan, is sysinv-api up? You may want to check sysinv and puppet logs for clue. Can you also share the ansible.log (should be under /home/sysadmin) and the content of host override file (localhost.yml)?

Tee

From: Zvonar, Bill [mailto:Bill.Zvonar at windriver.com]
Sent: August-21-19 7:35 AM
To: Pavan Gupta; starlingx-discuss at lists.starlingx.io
Cc: saichandu.behara at calsoftinc.com
Subject: Re: [Starlingx-discuss] Issue in running ansible playbook

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/56666ac7/attachment.html>


More information about the Starlingx-discuss mailing list