<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Tee,</p>
<p>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. <br>
</p>
<p>I have attached the puppet.log, sysinv.log and ansible.log files
. please check the attachments.</p>
<p>I have filed bug on the launchpad and attached the tarball.
please have a look. <br>
</p>
<p>Bug link: <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/starlingx/+bug/1843868">https://bugs.launchpad.net/starlingx/+bug/1843868</a></p>
<p>PFA sysinv.log, puppet.log, ansible.log</p>
<p><br>
</p>
<p>Thanks & Regards</p>
<p>Sai Chandu Behara<br>
</p>
<br>
<div class="moz-cite-prefix">On 12-09-2019 20:22, Ngo, Tee wrote:<br>
</div>
<blockquote
cite="mid:80ED4CE81E3D8F4099306648E95DAFE453AD03C1@ALA-MBD.corp.ad.wrs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tee<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Saichandu Behara
[<a class="moz-txt-link-freetext" href="mailto:saichandu.behara@calsoftinc.com">mailto:saichandu.behara@calsoftinc.com</a>]
<br>
<b>Sent:</b> September-09-19 6:50 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:pavan.gupta@calsoftinc.com">pavan.gupta@calsoftinc.com</a><br>
<b>Subject:</b> [Starlingx-discuss] Issue with running
on ansible playbook<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello all, <o:p></o:p></p>
<p>we are facing some issue while executing the bootstrap.yml
for stable version r2.0<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>TASK [persist-config : Saving config in sysinv database]
***************************************************************************************************************changed:
[localhost]<br>
<br>
TASK [persist-config : debug]
******************************************************************************************************************************************ok:
[localhost] => {<br>
"populate_result": {<br>
"changed": true,<br>
"failed": false,<br>
"failed_when_result": false,<br>
"msg": "non-zero return code",<br>
"rc": 1,<br>
"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 <o:p></o:p></p>
<p><b><span style="color:red">ConfigFail('Timeout waiting for
controller inventory
'\ncontrollerconfig.common.exceptions.ConfigFail: Timeout
waiting for controller inventory completion\n",</span></b><br>
"stderr_lines": [<br>
"No handlers could be found for logger
\"cgtsclient.common.http\"",<br>
"Traceback (most recent call last):",<br>
" File
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\",
line 959, in <module>",<br>
" inventory_config_complete_wait(client,
controller)",<br>
" File
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\",
line 884, in inventory_config_complete_wait",<br>
" wait_initial_inventory_complete(client,
controller)",<br>
" File
\"/tmp/.ansible-root/tmp/ansible-tmp-1568023260.49-195344343103083/populate_initial_config.py\",
line 875, in wait_initial_inventory_complete",<br>
" raise ConfigFail('Timeout waiting for
controller inventory '",<br>
"controllerconfig.common.exceptions.ConfigFail:
Timeout waiting for controller inventory completion"<br>
],<br>
"stdout": "('REGION NAME=', 'RegionOne')\n('OS USER
DOMAIN NAME=', 'Default')\n('TENANT=', 'admin')\n('PASSWORD=',
'St8rlingX*')\n('OS_AUTH_URL=', '<a moz-do-not-send="true"
href="http://localhost:5000/v3">http://localhost:5000/v3</a>')\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",<br>
"stdout_lines": [<br>
"('REGION NAME=', 'RegionOne')",<br>
"('OS USER DOMAIN NAME=', 'Default')",<br>
"('TENANT=', 'admin')",<br>
"('PASSWORD=', 'St8rlingX*')",<br>
"('OS_AUTH_URL=', '<a moz-do-not-send="true"
href="http://localhost:5000/v3">http://localhost:5000/v3</a>')",<br>
"('ADMIN_USER=', 'admin')",<br>
"('OS PROJECT DOMAIN NAME=', 'Default')",<br>
"Populating system config...",<br>
"System type is All-in-one",<br>
"System config completed.",<br>
"Populating load config...",<br>
"Load config completed.",<br>
"Populating management network...",<br>
"Populating pxeboot network...",<br>
"Populating oam network...",<br>
"Populating multicast network...",<br>
"Populating cluster host network...",<br>
"Populating cluster pod network...",<br>
"Populating cluster service network...",<br>
"Network config completed.",<br>
"Populating/Updating DNS config...",<br>
"DNS config completed.",<br>
"Management mac = 00:00:00:00:00:00",<br>
"Root fs device =
/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0",<br>
"Boot device =
/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0",<br>
"Console = tty0",<br>
"Tboot = false",<br>
"Install output = text",<br>
"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'}",<br>
"Host controller-0 created.",<br>
"Failed to update the initial system config."<o:p></o:p></p>
<p><o:p> </o:p></p>
<p><o:p> </o:p></p>
<p>If anyone is aware of this issue, please let us know. It
would be a great help.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>Thanks & Regards<o:p></o:p></p>
<p>Sai Chandu Behara<o:p></o:p></p>
<p><o:p> </o:p></p>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks & Regards
Sai Chandu Behara</pre>
</body>
</html>