Mitaka ironic-conductor error on stop: Cannot switch to MAINLOOP from MAINLOOP

Bug #1566136 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Expired
Undecided
Unassigned
Mitaka
Expired
Undecided
Unassigned
ironic (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Using the mitaka packages from trusty/proposed:

ii ironic-api 1:5.1.0-0ubuntu1~cloud0 all Openstack bare metal provisioning service - API
ii ironic-common 1:5.1.0-0ubuntu1~cloud0 all Openstack bare metal provisioning service - daemons
ii ironic-conductor 1:5.1.0-0ubuntu1~cloud0 all Openstack bare metal provisioning service - conductor
ii python-ironic 1:5.1.0-0ubuntu1~cloud0 all Openstack bare metal provisioning service - Python library
ii python-ironic-lib 1.1.0-1~cloud0 all common library used by various Ironic projects - Python 2.7
ii python-ironicclient 1.2.0-0ubuntu1~cloud0 all Client for OpenStack bare metal Service - Python 2.7

I'm not sure what's going on but conductor is throwing this when stopping:

However it is actually no longer running:

2016-04-05 04:27:42.089 8920 ERROR ironic.common.service [-] Service error occurred when stopping the RPC server. Error: Cannot switch to MAINLOOP from MAINLOOP
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service Traceback (most recent call last):
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/ironic/common/service.py", line 93, in stop
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service self.rpcserver.wait()
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/server.py", line 267, in wrapper
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service log_after, timeout_timer)
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/server.py", line 187, in run_once
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service post_fn = fn()
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/server.py", line 266, in <lambda>
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service states[state].run_once(lambda: fn(self, *args, **kwargs),
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/server.py", line 445, in wait
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service self._poll_executor.shutdown(wait=True)
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/futurist/_futures.py", line 411, in shutdown
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service self._pool.waitall()
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 120, in waitall
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service self.no_coros_running.wait()
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service return hubs.get_hub().switch()
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 280, in switch
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service assert cur is not self.greenlet, 'Cannot switch to MAINLOOP from MAINLOOP'
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service AssertionError: Cannot switch to MAINLOOP from MAINLOOP
2016-04-05 04:27:42.089 8920 ERROR ironic.common.service

Matt Fischer (mfisch)
summary: - Mitaka ironic-conductor won't start: Cannot switch to MAINLOOP from
+ Mitaka ironic-conductor error on stop: Cannot switch to MAINLOOP from
MAINLOOP
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

What version of Oslo.service are you running? http://lists.openstack.org/pipermail/openstack-dev/2016-February/086978.html appears to indicate it's a problem with an incompatible version of Oslo.service.

I've marked this bug "incomplete" pending that information, as until we know it we can't address your problem.

Thanks!

Changed in ironic:
importance: Undecided → High
status: New → Incomplete
importance: High → Undecided
Revision history for this message
Matt Fischer (mfisch) wrote :

This was from work on a side project, I no longer have the setup so feel free to close it.

Chuck Short (zulcss)
Changed in ironic (Ubuntu):
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ironic because there has been no activity for 60 days.]

Changed in ironic:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ironic mitaka because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.