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.
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
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.
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
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