Hi Tee,

I have checked the puppet.log file. There is no error in puppet.log file and i am not findout " intial inventory completed " in sysinv.log file.

I have attached the puppet.log, sysinv.log and ansible.log files . please check the attachments.

I have filed bug on the launchpad and attached the tarball. please have a look.

Bug link: https://bugs.launchpad.net/starlingx/+bug/1843868

PFA sysinv.log, puppet.log, ansible.log


Thanks & Regards

Sai Chandu Behara


On 12-09-2019 20:22, Ngo, Tee wrote:

Hi,

 

Can you check if there are any errors in puppet.log (/var/log/puppet/latest/puppet.log)? Is there a log containing the string “Initial inventory completed” in /var/log/sysinv.log?

 

Tee

 

From: Saichandu Behara [mailto:saichandu.behara@calsoftinc.com]
Sent: September-09-19 6:50 AM
To: starlingx-discuss@lists.starlingx.io
Cc: pavan.gupta@calsoftinc.com
Subject: [Starlingx-discuss] Issue with running on ansible playbook

 

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

 


-- 
Thanks & Regards
Sai Chandu Behara