<div dir="ltr"><div>Thank you Devananda.<br><br></div>I just remember, that I had a package dependency issue when i tried to sync the database for ironic as below:<br><br><pre>ironic-dbsync --config-file /etc/ironic/ironic.conf create_schema<br><br>Traceback (most recent call last):<br>  File "/usr/bin/ironic-dbsync", line 6, in <module><br>    from ironic.cmd.dbsync import main<br>  File "/usr/lib/python2.7/site-packages/ironic/cmd/dbsync.py", line 26, in <module><br>    from ironic.common import service<br>  File "/usr/lib/python2.7/site-packages/ironic/common/service.py", line 25, in <module><br>    from ironic.common import config<br>  File "/usr/lib/python2.7/site-packages/ironic/common/config.py", line 21, in <module><br>    from ironic import version<br>  File "/usr/lib/python2.7/site-packages/ironic/version.py", line 16, in <module><br>    import pbr.version<br>ImportError: No module named pbr.version<br></pre><pre>I felt, that a python module - pbr , might be missing and installed the below package:<br><br>python-pbr 0.8.0-1.el7 from epel7<br>Once i Installed the above package, I did not receive any traceback errors as above.<br></pre><pre>Is it possible that, Installing the above package is causing the previous error?<br>or Do you suggest that it might be something else?<br><br></pre><pre>Also - Do you know of any other solution to the traceback error in this email, and which dependency package<br>would i need to install to correct the same.<br></pre><pre><br>Thank you,<br><br>Lohit<br></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 4:29 PM, Devananda van der Veen <span dir="ltr"><<a href="mailto:devananda.vdv@gmail.com" target="_blank">devananda.vdv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:20px"><br><br></div><div style="line-height:20px">Hi Lohit,</div><div style="line-height:20px"><br></div><div style="line-height:20px">It's not immediately clear what the problem is, but I will venture a guess that this error is being caused by a missing or incorrect library dependency. </div><div style="line-height:20px"><br></div><div style="line-height:20px">ConductorManager._keepalive_evt is created in ironic/conductor/manager.py at</div><div style="line-height:20px"><br></div><div style="line-height:20px"> 192     def init_host(self): </div><div style="line-height:20px"> ...</div><div style="line-height:20px"><div> 222         # Spawn a dedicated greenthread for the keepalive</div><div> 223         try:</div><div> 224             self._keepalive_evt = threading.Event()</div><div><br></div><div>If that fails, it will call del_host(), which is where you're seeing the traceback come from.</div><div><br></div><div>Hope that helps,</div><div>Devananda</div><div><br></div></div><br><div class="gmail_quote"><div><div class="h5">On Fri Dec 05 2014 at 1:12:58 PM Lohit Valleru <<a href="mailto:lohitv@gwmail.gwu.edu" target="_blank">lohitv@gwmail.gwu.edu</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello All,<br><br></div>I am trying to deploy bare-metal nodes using openstack-ironic. It is a 2 - node architecture with controller/keystone/mysql on a virtual machine, and cinder/compute/nova network on a physical machine on a CentOS 7 environment.<br><br>openstack-ironic-common-2014.2-2.el7.centos.noarch<br>openstack-ironic-api-2014.2-2.el7.centos.noarch<br>openstack-ironic-conductor-2014.2-2.el7.centos.noarch<br><br></div><div>I have followed this document, <br><a href="http://docs.openstack.org/developer/ironic/deploy/install-guide.html#ipmi-support" target="_blank">http://docs.openstack.org/developer/ironic/deploy/install-guide.html#ipmi-support</a><br><br>and installed ironic. But when i start ironic-conductor, i get the below error : <br><br>ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service<br> ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 ERROR ironic.common.service [-] Service error occurred when cleaning up the RPC manager. Error: 'ConductorManager' object has no attribute '_keepalive_evt'<br> ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service Traceback (most recent call last):<br> ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service   File "/usr/lib/python2.7/site-packages/ironic/common/service.py", line 91, in stop<br> ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service     self.manager.del_host()<br>ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service   File "/usr/lib/python2.7/site-packages/ironic/conductor/manager.py", line 235, in del_host<br> ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service     self._keepalive_evt.set()<br> hc004 ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service AttributeError: 'ConductorManager' object has no attribute '_keepalive_evt'<br> hc004 ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 TRACE ironic.common.service<br> hc004 ironic-conductor[15997]: 2014-12-05 15:38:12.457 15997 INFO ironic.common.service [-] Stopped RPC server for service ironic.conductor_manager on host hc004.<br><br></div><div>Also, I do not see any logs being created with respect to ironic. <br>Do i have to explicitly enable the logging properties in ironic.conf, or are they expected to be working by default?<br></div><div><br></div><div>Here is the configuration from ironic.conf<br><br>#############################<br><br>[DEFAULT]<br>verbose=true<br>rabbit_host=172.18.246.104<br>auth_strategy=keystone<br>debug=true<br><br>[keystone_authtoken]<br>auth_host=172.18.246.104<br>auth_uri=<a href="http://172.18.246.104:5000/v2.0" target="_blank">http://172.18.246.104:5000/v2.0</a><br>admin_user=ironic<br>admin_password=xxxx<br>admin_tenant_name=service<br><br>[database]<br>connection = mysql://<a href="http://ironic:xxxxx@172.18.246.104/ironic?charset=utf8" target="_blank">ironic:xxxxx@172.18.246.104/ironic?charset=utf8</a><br><br>[glance]<br>glance_host=172.18.246.104<br></div><div><br>#############################<br><br></div><div>I understand that i did not give neutron URL as required by the documentation. The reason : that i have architecture limitations to install neutron networking and would like to experiment if nova-network and dhcp pxe server will server the purpose although i highly doubt that.<br><br></div><div>However, i wish to know if the above issue is anyway related to non-existent neutron network, or if it is related to something else.<br><br>Please do let me know.<br><br></div><div>Thank you,<br><br>Lohit<br></div></div></div></div>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</blockquote></div>
</blockquote></div><br></div>