Bug 1084495

Summary: API asks for rabbit driver when qpid has been selected
Product: Red Hat OpenStack Reporter: Martin Magr <mmagr>
Component: openstack-glanceAssignee: Flavio Percoco <fpercoco>
Status: CLOSED ERRATA QA Contact: Tzach Shefi <tshefi>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: adahms, eglynn, fpercoco, joehazzers, nlevinki, scohen, whayutin, yeylon
Target Milestone: rc   
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:32:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
api.log
none
glance-api.conf none

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.