Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova-manage db sync: "...No module named rabbit.." and much more

So I'm pretty new to all this. I've managed to get Glance and Keystone up on a controller node but Nova is proving to be a serious headache. When I run nova-manage db sync the line in nova.conf "rpc_backend=rabbit" cause this:

2014-06-11 15:05:42.228 2429 CRITICAL nova [-] No module named rabbit 2014-06-11 15:05:42.228 2429 TRACE nova Traceback (most recent call last): 2014-06-11 15:05:42.228 2429 TRACE nova File "/usr/bin/nova-manage", line 10, in <module> 2014-06-11 15:05:42.228 2429 TRACE nova sys.exit(main()) 2014-06-11 15:05:42.228 2429 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1378, in main 2014-06-11 15:05:42.228 2429 TRACE nova rpc.cleanup() 2014-06-11 15:05:42.228 2429 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 239, in cleanup 2014-06-11 15:05:42.228 2429 TRACE nova return _get_impl().cleanup() 2014-06-11 15:05:42.228 2429 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 305, in _get_impl 2014-06-11 15:05:42.228 2429 TRACE nova _RPCIMPL = importutils.import_module(impl) 2014-06-11 15:05:42.228 2429 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 59, in import_module 2014-06-11 15:05:42.228 2429 TRACE nova __import__(import_str) 2014-06-11 15:05:42.228 2429 TRACE nova ImportError: No module named rabbit 2014-06-11 15:05:42.228 2429 TRACE nova

The service rabbitmq-server is up and running as verified by running sudo service rabbitmq-server status

Can anyone offer some advise, could I have made mistakes in the install or configuration of rabbit?

Here is my nova.conf if that helps (also if you spot any other errors in the config please let me know)

(I replaced the "#" comments with "//" as they screwed with the formatting of this message)

[DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf verbose=True api_paste_config=/etc/nova/api-paste.ini keystone_ec2_url=http://172.16.0.200:5000/v2.0/ec2tokens enabled_apis=ec2,osapi_compute,metadata //Libvirt and Virtualization libvirt_use_virtio_for_bridges=True connection_type=libvirt libvirt_type=qemu //Database sql_connection=mysql://nova:openstack@172.16.0.200/nova //Messaging rpc_backend=rabbit rabbit_host=172.16.0.200 rabbit_password=openstack //EC2 API Flags ec2_host=172.16.0.200 ec2_dmz_host=172.16.0.200 ec2_private_dns_show_ip=True //Networking public_interface=eth1 force_dhcp_release=True auto_assign_floating_ip=True //Images image_service=nova.image.glance.GlanceImageService glance_api_servers=172.16.0.200:9292 //Scheduler scheduler_default_filters=AllHostsFilter //Object Storage iscsi_helper=tgtadm //Auth auth_strategy=keystone

I also have a hefty number of other issues with nova at the moment so any nova install experts out there, your time would be greatly appreciated.

nova-manage db sync: "...No module named rabbit.." and much more

So I'm pretty new to all this. I've managed to get Glance and Keystone up on a controller node but Nova is proving to be a serious headache. When I run nova-manage db sync the line in nova.conf "rpc_backend=rabbit" cause this:

2014-06-11 15:05:42.228 2429 CRITICAL nova [-] No module named rabbit
2014-06-11 15:05:42.228 2429 TRACE nova Traceback (most recent call last):
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/bin/nova-manage", line 10, in <module>
2014-06-11 15:05:42.228 2429 TRACE nova     sys.exit(main())
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1378, in main
2014-06-11 15:05:42.228 2429 TRACE nova     rpc.cleanup()
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 239, in cleanup
2014-06-11 15:05:42.228 2429 TRACE nova     return _get_impl().cleanup()
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 305, in _get_impl
2014-06-11 15:05:42.228 2429 TRACE nova     _RPCIMPL = importutils.import_module(impl)
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 59, in import_module
2014-06-11 15:05:42.228 2429 TRACE nova     __import__(import_str)
2014-06-11 15:05:42.228 2429 TRACE nova ImportError: No module named rabbit
2014-06-11 15:05:42.228 2429 TRACE nova

nova The service rabbitmq-server is up and running as verified by running sudo service rabbitmq-server status

status Can anyone offer some advise, could I have made mistakes in the install or configuration of rabbit?

rabbit? Here is my nova.conf ***nova.conf*** if that helps (also if you spot any other errors in the config please let me know)

know) (I replaced the "#" comments with "//" as they screwed with the formatting of this message)

message) [DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf verbose=True api_paste_config=/etc/nova/api-paste.ini keystone_ec2_url=http://172.16.0.200:5000/v2.0/ec2tokens enabled_apis=ec2,osapi_compute,metadata //Libvirt and Virtualization libvirt_use_virtio_for_bridges=True connection_type=libvirt libvirt_type=qemu //Database sql_connection=mysql://nova:openstack@172.16.0.200/nova //Messaging rpc_backend=rabbit rabbit_host=172.16.0.200 rabbit_password=openstack //EC2 API Flags ec2_host=172.16.0.200 ec2_dmz_host=172.16.0.200 ec2_private_dns_show_ip=True //Networking public_interface=eth1 force_dhcp_release=True auto_assign_floating_ip=True //Images image_service=nova.image.glance.GlanceImageService glance_api_servers=172.16.0.200:9292 //Scheduler scheduler_default_filters=AllHostsFilter //Object Storage iscsi_helper=tgtadm //Auth auth_strategy=keystone

auth_strategy=keystone

I also have a hefty number of other issues with nova at the moment so any nova install experts out there, your time would be greatly appreciated.

nova-manage db sync: "...No module named rabbit.." and much more

So I'm pretty new to all this. I've managed to get Glance and Keystone up on a controller node but Nova is proving to be a serious headache. When I run nova-manage db sync the line in nova.conf "rpc_backend=rabbit" cause this:

2014-06-11 15:05:42.228 2429 CRITICAL nova [-] No module named rabbit
2014-06-11 15:05:42.228 2429 TRACE nova Traceback (most recent call last):
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/bin/nova-manage", line 10, in <module>
2014-06-11 15:05:42.228 2429 TRACE nova     sys.exit(main())
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1378, in main
2014-06-11 15:05:42.228 2429 TRACE nova     rpc.cleanup()
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 239, in cleanup
2014-06-11 15:05:42.228 2429 TRACE nova     return _get_impl().cleanup()
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 305, in _get_impl
2014-06-11 15:05:42.228 2429 TRACE nova     _RPCIMPL = importutils.import_module(impl)
2014-06-11 15:05:42.228 2429 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 59, in import_module
2014-06-11 15:05:42.228 2429 TRACE nova     __import__(import_str)
2014-06-11 15:05:42.228 2429 TRACE nova ImportError: No module named rabbit
2014-06-11 15:05:42.228 2429 TRACE nova
 

The service rabbitmq-server is up and running as verified by running sudo service rabbitmq-server status status

Can anyone offer some advise, could I have made mistakes in the install or configuration of rabbit? rabbit?

Here is my ***nova.conf*** nova.conf if that helps (also if you spot any other errors in the config please let me know) (I know)

I replaced the "#" comments with "//" as they screwed with the formatting of this message) message)

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
api_paste_config=/etc/nova/api-paste.ini
keystone_ec2_url=http://172.16.0.200:5000/v2.0/ec2tokens
enabled_apis=ec2,osapi_compute,metadata
//Libvirt #Libvirt and Virtualization
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
libvirt_type=qemu
//Database
sql_connection=mysql://nova:openstack@172.16.0.200/nova
//Messaging
rpc_backend=rabbit
rabbit_host=172.16.0.200
rabbit_password=openstack
//EC2 API Flags
ec2_host=172.16.0.200
ec2_dmz_host=172.16.0.200
ec2_private_dns_show_ip=True
//Networking
public_interface=eth1
force_dhcp_release=True
auto_assign_floating_ip=True
//Images
image_service=nova.image.glance.GlanceImageService
glance_api_servers=172.16.0.200:9292
//Scheduler
scheduler_default_filters=AllHostsFilter
//Object Storage
iscsi_helper=tgtadm
//Auth
auth_strategy=keystone

I also have a hefty number of other issues with nova at the moment so any nova install experts out there, your time would be greatly appreciated.