Messaging enabled by default in Juno

Bug #1379775 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned
oslo.messaging
Expired
Undecided
Unassigned

Bug Description

After configuration Glance using the latest Juno RC packages I got the following issue when trying to upload an image:

2014-10-10 12:26:13.015 12703 ERROR oslo.messaging._drivers.impl_rabbit [bed8aa08-d1f3-4089-9286-beadc9faeba4 7bd2899605ab4037892e1d48b144f3a6 c637c767fa044299be5a7d5df65a4db7 - - -] AMQP server localhost:5672 closed the connection. Check login credentials: Socket closed

According to the documentation the notification driver should be 'noop' by default (https://github.com/openstack/glance/blob/master/etc/glance-api.conf#L237-L239). But it looks like this parameter has no more function in Juno and that only the rpc_backend parameter is relevant and that messaging is enabled by default and cannot be disabled.

Revision history for this message
Christian Berendt (berendt) wrote :

Looks like there should be a oslo.messaging.notify._impl_noop:NoOpDriver driver. So using 'rpc_backend = noop' should be possible. Using the latest oslo.messaging (1.4.1) I got the following error:

DriverLoadFailure: Failed to load transport driver "noop": No 'oslo.messaging.drivers' driver found, looking for 'noop'

This is not possible because noop is listed as oslo.messaging.notify.drivers and not as oslo.messaging.drivers. There is no 'noop' driver for oslo.messaging.drivers.

The only way to disable messaging for Glance at the moment is to use the fake driver.

Revision history for this message
Christian Berendt (berendt) wrote :

I think there should be a a noop oslo.messaging driver. This way it should be possible to disable messaging in Glance using noop as rpc_backend.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

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

Changed in oslo.messaging:
assignee: nobody → Christian Berendt (berendt)
status: New → In Progress
Revision history for this message
Mehdi Abaakouk (sileht) wrote :

When 'notification_driver = noop' is set in glance even the messaging transport is configured, I don't see any connection to the messaging broker.

Changed in oslo.messaging:
status: In Progress → Incomplete
Changed in glance:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.messaging (master)

Change abandoned by Davanum Srinivas (dims) (<email address hidden>) on branch: master
Review: https://review.openstack.org/127513
Reason: This review is > 12 weeks without comment and currently blocked by a core reviewer with a -2. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and contacting the reviewer with the -2 on this review to ensure you address their concerns.

Revision history for this message
Ken Giusti (kgiusti) wrote :

Removed assignee for bug expiration purposes.
Please re-assign if this issue persists.

Changed in oslo.messaging:
assignee: Christian Berendt (berendt) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in oslo.messaging:
status: Incomplete → Expired
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.