Bug 1084495 - API asks for rabbit driver when qpid has been selected
Summary: API asks for rabbit driver when qpid has been selected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Flavio Percoco
QA Contact: Tzach Shefi
URL:
Whiteboard:
: 1084540 1085610 1086434 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-04 13:39 UTC by Martin Magr
Modified: 2017-08-28 22:59 UTC (History)
8 users (show)

Fixed In Version: openstack-glance-2014.1-2.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the Glance API would ask for the RabbitMQ driver during installation even when QPID was selected as the notification driver. This was caused by the logic used to determine the driver to load, whereby the Glance API would always try to get a transport from oslo.messaging assuming that the 'transport_url' option has been set, but because the default 'rpc_backend' is RabbitMQ, the Glance API would try to load the RabbitMQ driver. Furthermore, when 'kombu' is not installed and 'notifier_strategy' is set to QPID, the Glance API would fail due to trying to load the RabbitMQ driver before loading the QPID driver. This update revises this logic so that the correct driver is loaded.
Clone Of:
Environment:
Last Closed: 2014-07-08 15:32:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
api.log (13.02 KB, text/x-log)
2014-04-04 13:39 UTC, Martin Magr
no flags Details
glance-api.conf (20.75 KB, text/plain)
2014-04-04 13:40 UTC, Martin Magr
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1302661 0 None None None Never
OpenStack gerrit 85382 0 None None None Never
OpenStack gerrit 85664 0 None None None Never
Red Hat Product Errata RHEA-2014:0851 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Image Service 2014-07-08 19:22:51 UTC

Description Martin Magr 2014-04-04 13:39:36 UTC
Created attachment 882715 [details]
api.log

Description of problem:
During installation of Glance API, QPID has been selected as notification driver, but Glance API still asks for rabbit driver.

Version-Release number of selected component (if applicable):
[para@virtual-rhel ~]$ rpm -qa openstack-glance*
openstack-glance-2014.1-0.4.b3.el6.noarch

Comment 1 Martin Magr 2014-04-04 13:40:14 UTC
Created attachment 882716 [details]
glance-api.conf

Comment 4 Flavio Percoco 2014-04-07 08:35:18 UTC
Fix landed on master, backport proposed for `milestone-proposed`

Comment 5 Flavio Percoco 2014-04-09 08:03:39 UTC
*** Bug 1085610 has been marked as a duplicate of this bug. ***

Comment 6 Flavio Percoco 2014-04-10 08:06:22 UTC
*** Bug 1084540 has been marked as a duplicate of this bug. ***

Comment 8 Flavio Percoco 2014-04-11 10:54:32 UTC
*** Bug 1086434 has been marked as a duplicate of this bug. ***

Comment 9 Tzach Shefi 2014-06-09 08:31:22 UTC
Verified on: 
RHEL7
openstack-glance-2014.1-2.el7ost.noarch

Configured messaging to use qpid, setup completed successfully. 
No rabbit errors , no mention of rabbit on Glance api.log 

I did however run into another problem, fail to boot instance state error, compute.log -> Timed out waiting for nova-conductor, opened a new bz 1106374.

Comment 12 errata-xmlrpc 2014-07-08 15:32:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0851.html

Comment 13 Andrew Dahms 2017-08-28 22:59:31 UTC
Cancelling old needinfo request.


Note You need to log in before you can comment on or make changes to this bug.