Attribute error if AMQP server is unreachable when conductor is starting

Bug #1496017 reported by Yuriy Zveryanskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Anton Arefiev

Bug Description

2015-09-15 12:20:26.891 25740 ERROR oslo_messaging._drivers.impl_rabbit [-] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2015-09-15 12:20:27.911 25740 ERROR oslo_messaging._drivers.impl_rabbit [-] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds.
2015-09-15 12:20:29.928 25740 ERROR oslo_messaging._drivers.impl_rabbit [-] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds.
2015-09-15 12:20:31.281 25740 ERROR ironic.common.service [-] Service error occurred when cleaning up the RPC manager. Error: 'ConductorManager' object has no attribute '_keepalive_evt'
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service Traceback (most recent call last):
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service File "/usr/lib/python2.7/dist-packages/ironic/common/service.py", line 93, in stop
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service self.manager.del_host(deregister=self.deregister)
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service File "/usr/lib/python2.7/dist-packages/ironic/conductor/manager.py", line 304, in del_host
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service self._keepalive_evt.set()
2015-09-15 12:20:31.281 25740 TRACE ironic.common.service AttributeError: 'ConductorManager' object has no attribute '_keepalive_evt'

Anton Arefiev (aarefiev)
Changed in ironic:
assignee: nobody → Anton Arefiev (aarefiev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/225573

Changed in ironic:
status: New → In Progress
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/225573
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=36cbefefe9f6ebed6733c92eaed85885c4360fd9
Submitter: Jenkins
Branch: master

commit 36cbefefe9f6ebed6733c92eaed85885c4360fd9
Author: Anton Arefiev <email address hidden>
Date: Mon Sep 21 11:16:58 2015 +0300

    Fix conductor deregistration on non init conductor

    Conductor deregistration fails if called on non initialized
    conductor, e.g. when AMQP server is unreachable, it raise
    Attribute error.

    Change-Id: Ic550d840b69676c619ddcb7ec550b9e6c3b28ac0
    Closes-Bug: 1496017

Changed in ironic:
status: In Progress → Fix Committed
Changed in ironic:
status: Fix Committed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/ironic 4.3.0

This issue was fixed in the openstack/ironic 4.3.0 release.

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.