<div dir="ltr"><div><div>Hi John<br><br></div>The <a href="http://openstack.org">openstack.org</a> docs are using kilo and thats what i have been following all along. I have not mixed and matched my repos so to speak.<br><br></div>has development stopped on kilo? is liberty what i should be using?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 8:50 AM, John Trowbridge <span dir="ltr"><<a href="mailto:trown@redhat.com" target="_blank">trown@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
On 10/09/2015 08:34 PM, Mohammed Arafa wrote:<br>
> Dan<br>
><br>
> Thank you it worked<br>
> Yes its only one node. I whittled it down to remove as many variables<br>
> for errors as possible.<br>
><br>
> [stack@rdomanager ~]$ openstack baremetal instackenv validate -f<br>
> ~/instackenv.json<br>
> System Power         : off<br>
> Power Overload       : false<br>
> Power Interlock      : inactive<br>
> Main Power Fault     : false<br>
> Power Control Fault  : false<br>
> Power Restore Policy : always-on<br>
> Last Power Event     :<br>
> Chassis Intrusion    : inactive<br>
> Front-Panel Lockout  : inactive<br>
> Drive Fault          : false<br>
> Cooling/Fan Fault    : false<br>
> Front Panel Control  : none<br>
> SUCCESS: found 0 errors<br>
><br>
><br>
> Now I have another problem, seems to be iptables related. So when I<br>
> check the ironic-inspector service, it was stopped, and the only way i<br>
> could get it to run was to reboot the machine. i verified it was<br>
> started then did a bulk introspection. was i surprised when i saw that<br>
> it failed again. and the service was stopped too.<br>
><br>
> not sure why iptables would cause the service to crash and refuse to restart.<br>
><br>
><br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.676<br>
> 40112 INFO ironic_inspector.main [-] Enabled processing hooks:<br>
> ['ramdisk_error', 'root_device_hint', 'scheduler',<br>
> 'validate_interfaces']<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.694<br>
> 40112 WARNING ironic_inspector.firewall [-] iptables does not support<br>
> -w flag, please update it to at least version 1.4.21<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.740<br>
> 40112 ERROR ironic_inspector.firewall [-] iptables ('-N',<br>
> 'ironic-inspector') failed:<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: sudo: sorry, you must<br>
> have a tty to run sudo<br>
<br>
</div></div>This error ^ has been fixed in the latest packaging for ironic-inspector<br>
and is the cause of the crash. This means the latest repo with the<br>
includepkgs whitelist was not used. The repo setup instructions in the<br>
documentation[1], are exactly what we use in CI, so YMMV if using any<br>
other repo combination.<br>
<br>
[1]<br>
<a href="https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty/" rel="noreferrer" target="_blank">https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty/</a><br>
<div class="HOEnZb"><div class="h5"><br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 CRITICAL ironic_inspector [-] CalledProcessError: Command<br>
> '('sudo', 'ironic-inspector-rootwrap',<br>
> '/etc/ironic-inspector/rootwrap.conf', 'iptables', '-N',<br>
> 'ironic-inspector')' returned non-zero exit status 1<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector Traceback (most recent call last):<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File "/usr/bin/ironic-inspector", line<br>
> 10, in <module><br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     sys.exit(main())<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File<br>
> "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 388,<br>
> in main<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     init()<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File<br>
> "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 325,<br>
> in init<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     firewall.init()<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File<br>
> "/usr/lib/python2.7/site-packages/ironic_inspector/firewall.py", line<br>
> 81, in init<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     _iptables('-N', CHAIN)<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File<br>
> "/usr/lib/python2.7/site-packages/ironic_inspector/firewall.py", line<br>
> 42, in _iptables<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     subprocess.check_output(cmd,<br>
> **kwargs)<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector   File<br>
> "/usr/lib64/python2.7/subprocess.py", line 575, in check_output<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector     raise CalledProcessError(retcode,<br>
> cmd, output=output)<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector CalledProcessError: Command '('sudo',<br>
> 'ironic-inspector-rootwrap', '/etc/ironic-inspector/rootwrap.conf',<br>
> 'iptables', '-N', 'ironic-inspector')' returned non-zero exit status 1<br>
> Oct 10 01:40:25 rdomanager ironic-inspector: 2015-10-10 01:40:25.741<br>
> 40112 ERROR ironic_inspector<br>
> Oct 10 01:40:25 rdomanager systemd:<br>
> openstack-ironic-inspector.service: main process exited, code=exited,<br>
> status=1/FAILURE<br>
> Oct 10 01:40:25 rdomanager systemd: Unit<br>
> openstack-ironic-inspector.service entered failed state.<br>
><br>
><br>
> On Fri, Oct 9, 2015 at 5:55 PM, Dan Sneddon <<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a>> wrote:<br>
>><br>
>> On 10/09/2015 02:43 PM, Mohammed Arafa wrote:<br>
>>> i seem to have hit this bug where node registration fails silently if<br>
>>> instackenv.json is badly formatted<br>
>>><br>
>>> thing is i cant seem to decipher where my config file is broken<br>
>>><br>
>>><br>
>>> {<br>
>>>      "nodes": [<br>
>>>          {<br>
>>>             "pm_password": "P@ssw0rd",<br>
>>>             "pm_type": "pxe_ipmitool",<br>
>>>             "mac": [<br>
>>>                    "00:17:a4:77:00:1c"<br>
>>>             ],<br>
>>>             "cpu": "2",<br>
>>>             "memory": "65536",<br>
>>>             "disk": "900",<br>
>>>             "arch": "x86_64",<br>
>>>             "pm_user": "root",<br>
>>>             "pm_addr": "192.168.11.213"<br>
>>>      },<br>
>>>    ]<br>
>>> }<br>
>>><br>
>>><br>
>>> 1)<br>
>>> <a href="https://downloads.plex.tv/plex-media-server/0.9.12.13.1464-4ccd2ca/plexmediaserver-0.9.12.13.1464-4ccd2ca.x86_64.rpm" rel="noreferrer" target="_blank">https://downloads.plex.tv/plex-media-server/0.9.12.13.1464-4ccd2ca/plexmediaserver-0.9.12.13.1464-4ccd2ca.x86_64.rpm</a><br>
>>><br>
>><br>
>> Do you only have the one node? Because I don't think you want a comma<br>
>> after the node.<br>
>><br>
>> This validates:<br>
>><br>
>> {<br>
>>     "nodes": [<br>
>>         {<br>
>>            "pm_password": "P@ssw0rd",<br>
>>            "pm_type": "pxe_ipmitool",<br>
>>            "mac": [<br>
>>                   "00:17:a4:77:00:1c"<br>
>>            ],<br>
>>            "cpu": "2",<br>
>>            "memory": "65536",<br>
>>            "disk": "900",<br>
>>            "arch": "x86_64",<br>
>>            "pm_user": "root",<br>
>>            "pm_addr": "192.168.11.213"<br>
>>     }<br>
>>   ]<br>
>> }<br>
>><br>
>> By the way, when I'm doing OpenStack deployments, these resources help<br>
>> out a lot with both JSON and YAML validation:<br>
>><br>
>> <a href="http://jsonlint.com" rel="noreferrer" target="_blank">http://jsonlint.com</a><br>
>> <a href="http://yamllint.com" rel="noreferrer" target="_blank">http://yamllint.com</a><br>
>> <a href="http://jsontoyaml.com" rel="noreferrer" target="_blank">http://jsontoyaml.com</a><br>
>> <a href="http://yamltojson.com" rel="noreferrer" target="_blank">http://yamltojson.com</a><br>
>><br>
>> --<br>
>> Dan Sneddon         |  Principal OpenStack Engineer<br>
>> <a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a> |  <a href="http://redhat.com/openstack" rel="noreferrer" target="_blank">redhat.com/openstack</a><br>
>> <a href="tel:650.254.4025" value="+16502544025">650.254.4025</a>        |  dsneddon:irc   @dxs:twitter<br>
>><br>
>> _______________________________________________<br>
>> Rdo-list mailing list<br>
>> <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
>><br>
>> To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br>
><br>
><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">


        
        
        
        


<table cellpadding="4" cellspacing="0" width="418">
        <colgroup><col width="138">
        <col width="158">
        <col width="98">
        </colgroup><tbody><tr valign="TOP">
                <td style="border:none;padding:0in" width="138">
                        <p><img src="http://www.in-egypt.net/RED-HAT-LOGO.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics1" border="0" height="184" width="135"></p>
                </td>
                <td style="border:none;padding:0in" width="158">
                        <p><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank"><font color="#000080"><img src="http://www.in-egypt.net/ITIL_Logo.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics2" border="1" align="BOTTOM" height="156" width="156"></font></a></p>
                </td>
                <td style="border:none;padding:0in" width="98">
                        <p><img src="http://www.in-egypt.net/linkedin.png" name="UNIQUE_ID_SafeHtmlFilter_graphics3" border="0" align="BOTTOM" height="96" width="96"></p>
                </td>
        </tr>
        <tr valign="TOP">
                <td style="border:none;padding:0in" width="138">
                        <p><a href="https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify" target="_blank"><b>805010942448935</b></a><b>
                        </b>
                        </p>
                </td>
                <td style="border:none;padding:0in" width="158">
                        <p><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank"><b>GR750055912MA</b></a></p>
                </td>
                <td style="border:none;padding:0in" width="98">
                        <p><b>Link to me on <a href="http://www.linkedin.com/in/mohammedarafa" target="_blank">LinkedIn</a></b></p>
                </td>
        </tr>
</tbody></table>

</div></div>
</div>