[Starlingx-discuss] Issue with running on ansible playbook

Saichandu Behara saichandu.behara at calsoftinc.com
Mon Sep 9 10:50:17 UTC 2019


Hello all,

we are facing some issue while executing the bootstrap.yml for stable 
version r2.0


TASK [persist-config : Saving config in sysinv database] 
***************************************************************************************************************changed: 
[localhost]

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 
\"cgtsclient.common.http\"\nTraceback (most recent call last):\n File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 959, in <module>\n inventory_config_complete_wait(client, 
controller)\n  File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 884, in inventory_config_complete_wait\n 
wait_initial_inventory_complete(client, controller)\n  File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 875, in wait_initial_inventory_complete\n    raise

*ConfigFail('Timeout waiting for controller inventory 
'\ncontrollerconfig.common.exceptions.ConfigFail: Timeout waiting for 
controller inventory completion\n",*
         "stderr_lines": [
             "No handlers could be found for logger 
\"cgtsclient.common.http\"",
             "Traceback (most recent call last):",
             "  File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 959, in <module>",
             "    inventory_config_complete_wait(client, controller)",
             "  File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 884, in inventory_config_complete_wait",
             "    wait_initial_inventory_complete(client, controller)",
             "  File 
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\", 
line 875, in wait_initial_inventory_complete",
             "    raise ConfigFail('Timeout waiting for controller 
inventory '",
             "controllerconfig.common.exceptions.ConfigFail: Timeout 
waiting for controller inventory completion"
         ],
         "stdout": "('REGION NAME=', 'RegionOne')\n('OS USER DOMAIN 
NAME=', 'Default')\n('TENANT=', 'admin')\n('PASSWORD=', 
'St8rlingX*')\n('OS_AUTH_URL=', 
'http://localhost:5000/v3')\n('ADMIN_USER=', 'admin')\n('OS PROJECT 
DOMAIN NAME=', 'Default')\nPopulating system config...\nSystem type is 
All-in-one\nSystem config completed.\nPopulating load config...\nLoad 
config completed.\nPopulating management network...\nPopulating pxeboot 
network...\nPopulating oam network...\nPopulating multicast 
network...\nPopulating cluster host network...\nPopulating cluster pod 
network...\nPopulating cluster service network...\nNetwork config 
completed.\nPopulating/Updating DNS config...\nDNS config 
completed.\nManagement mac = 00:00:00:00:00:00\nRoot fs device = 
/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nBoot device = 
/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0\nConsole = tty0\nTboot = 
false\nInstall output = text\nHost values = {'tboot': 'false', 
'install_output': 'text', 'rootfs_device': 
'/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'boot_device': 
'/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 'availability': 'offline', 
'mgmt_mac': '00:00:00:00:00:00', 'console': 'tty0', 'mgmt_ip': 
'192.168.204.3', 'hostname': 'controller-0', 'operational': 'disabled', 
'invprovision': 'provisioning', 'administrative': 'locked', 
'personality': 'controller'}\nHost controller-0 created.\nFailed to 
update the initial system config.\n",
         "stdout_lines": [
             "('REGION NAME=', 'RegionOne')",
             "('OS USER DOMAIN NAME=', 'Default')",
             "('TENANT=', 'admin')",
             "('PASSWORD=', 'St8rlingX*')",
             "('OS_AUTH_URL=', 'http://localhost:5000/v3')",
             "('ADMIN_USER=', 'admin')",
             "('OS PROJECT DOMAIN NAME=', 'Default')",
             "Populating system config...",
             "System type is All-in-one",
             "System config completed.",
             "Populating load config...",
             "Load config completed.",
             "Populating management network...",
             "Populating pxeboot network...",
             "Populating oam network...",
             "Populating multicast network...",
             "Populating cluster host network...",
             "Populating cluster pod network...",
             "Populating cluster service network...",
             "Network config completed.",
             "Populating/Updating DNS config...",
             "DNS config completed.",
             "Management mac = 00:00:00:00:00:00",
             "Root fs device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0",
             "Boot device = /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0",
             "Console = tty0",
             "Tboot = false",
             "Install output = text",
             "Host values = {'tboot': 'false', 'install_output': 'text', 
'rootfs_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 
'boot_device': '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0', 
'availability': 'offline', 'mgmt_mac': '00:00:00:00:00:00', 'console': 
'tty0', 'mgmt_ip': '192.168.204.3', 'hostname': 'controller-0', 
'operational': 'disabled', 'invprovision': 'provisioning', 
'administrative': 'locked', 'personality': 'controller'}",
             "Host controller-0 created.",
             "Failed to update the initial system config."



If anyone is aware of this issue, please let us know. It would be a 
great help.


Thanks & Regards

Sai Chandu Behara


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190909/01e4600c/attachment-0001.html>


More information about the Starlingx-discuss mailing list