[Openstack-operators] oslo.messaging.transport.DriverLoadFailure: Failed to load transport driver "rabbitmq": No 'oslo.messaging.drivers' driver found, looking for 'rabbitmq'

Jeff Silverman jeff at sweetlabs.com
Mon Jul 28 22:58:55 UTC 2014


In both nova.conf and neutron.conf, setting the value rpc_backend = rabbit
worked.  Also commenting out rpc_backend worked.  However, my distribution,
Centos 6.5, has the following packages listed:

python-kombu.noarch
                          1.1.3-2.el6
                                        @openstack-icehouse
Available Packages
django-kombu.noarch
                          0.9.2-1.el6
                                        epel-6-x86_64
python-django-kombu.noarch
                           0.9.4-1.el6.rf
                                         rpmforge-6-x86_64
root at controller1-prod.controller1-prod:/etc/neutron#

I am perfectly happy to leave the rpc_backend variable commented out.


Jeff



On Mon, Jul 28, 2014 at 12:55 PM, Abel Lopez <alopgeek at gmail.com> wrote:

> Let me rephrase that,
> “rpc_backend = rabbitmq” is wrong.
> Just take it out of your config to use the default
> nova.openstack.common.rpc.impl_kombu
>
> On Jul 28, 2014, at 12:38 PM, Abel Lopez <alopgeek at gmail.com> wrote:
>
> Based on other reports of this, It sounds like your distro might be
> missing kombu.
> The error changzhi1990 reported seems like a typo (rabbit vs rabbitmq)
> Try taking out rpc_backend from the conf, it should default to
> nova.openstack.common.rpc.impl_kombu
>
> On Jul 28, 2014, at 11:46 AM, Jeff Silverman <jeff at sweetlabs.com> wrote:
>
> I have rabbitmq 3.3.4-1 running on all of my nodes, and I am getting the
> same error message that changzhi1990 at gmail reported July 17th, except
> that I am using the *python nova-manage db sync nova *command.
>
> root at controller1-prod.controller1-prod:~# python /usr/bin/nova-manage db
> sync nova
> Traceback (most recent call last):
>   File "/usr/bin/nova-manage", line 10, in <module>
>     sys.exit(main())
>   File "/usr/lib/python2.6/site-packages/nova/cmd/manage.py", line 1321,
> in main
>     config.parse_args(sys.argv)
>   File "/usr/lib/python2.6/site-packages/nova/config.py", line 38, in
> parse_args
>     rpc.init(cfg.CONF)
>   File "/usr/lib/python2.6/site-packages/nova/rpc.py", line 63, in init
>     aliases=TRANSPORT_ALIASES)
>   File "/usr/lib/python2.6/site-packages/oslo/messaging/transport.py",
> line 185, in get_transport
>     raise DriverLoadFailure(url.transport, ex)
> oslo.messaging.transport.DriverLoadFailure: Failed to load transport
> driver "rabbitmq": No 'oslo.messaging.drivers' driver found, looking for
> 'rabbitmq'
> root at controller1-prod.controller1-prod:~#
>
> root at controller1-prod.controller1-prod:~# nova-manage --version
> 2014.1.1
> root at controller1-prod.controller1-prod:~#
>
> ​The changes I made in /etc/nova./nova.conf file are:
>
> root at controller1-prod.controller1-prod:~# diff /etc/nova/nova.conf
>  /etc/nova/nova.conf_ORIGINAL
> 253c253
> < my_ip=controller1-prod.sea.opencandy.com
> ---
> > #my_ip=10.0.0.1
> 1129c1129
> < glance_host=controller1-prod.sea.opencandy.com
> ---
> > #glance_host=$my_ip
> 2044,2050c2044
> < vncserver_listen=controller1-prod.sea.opencandy.com
> < service_neutron_metadata_proxy = true
> < neutron_metadata_proxy_shared_secret =
> 4c2be21d2d4a879ab2569484b5ee589d6fe15524
> < rabbit_userid = RabbitMQ
> < rabbit_password = j6hpCDnMs7qjzw==
> < rabbitmq_hostname = controller1-prod.sea.opencandy.com
> < rpc_backend = rabbitmq
> ---
> > #vncserver_listen=127.0.0.1
> 2054c2048
> < #vncserver_proxyclient_address=controller1-prod.sea.opencandy.com
> ---
> > #vncserver_proxyclient_address=127.0.0.1
> 2481c2475
> < connection=mysql://
> nova:Ph1aizyAIAXZUPMhdLzvl8hs at controller1-prod.sea.opencandy.com/nova
> ---
> > #connection=mysql://nova:nova@localhost/nova
> 2693c2687
> < auth_host=controller1-prod.sea.opencandy.com
> ---
> > #auth_host=127.0.0.1
> 2737c2731
> < admin_password=CxRF7a7wYSzMvNyAFEqa8BKv
> ---
> > #admin_password=%SERVICE_PASSWORD%
> root at controller1-prod.controller1-prod:~#
>>
> ​Thank you
>
>
> Jeff Silverman
>> ​jeff at sweetlabs d0t c0m​
>
>
> --
> *Jeff Silverman*
> Systems Engineer
> (253) 459-2318 (c)
>
>  _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
>


-- 
*Jeff Silverman*
Systems Engineer
(253) 459-2318 (c)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140728/53b5a686/attachment.html>


More information about the OpenStack-operators mailing list