[Openstack] nova connecting to amqp on

openstack at alexander-peters.com openstack at alexander-peters.com
Mon Aug 7 11:21:22 UTC 2017


I tried to setup openstack following the instructions in the getting started guide. OS is Centos7 with all updates applied.

openstack is working, i can spawn instances, create networks and volumes but for some reason there is this message popping up in /var/log/nova/nova-compute.log:

2017-08-06 23:51:18.816 1277 ERROR oslo.messaging._drivers.impl_rabbit [req-7e0a119f-7cf7-45ca-b1be-b0d7319798bb 735e4dd64a0e451bbb5254950af6e6ad f9873284dd3b40edbf9564703c0903ad - - -] [be3fc3c4-2729-4a21-8264-27225e2154f8] AMQP server on is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds. Client port: None
of course it cannot connect to rabbit on localhost since there is no rabbit running on localhost... but nowhere in my nova config i mentioned localhost. also it has to connect to the configured host (controller) as everything appears to be working besides live migration is not working for some reason ( not sure if it is related )

here is my complete /etc/nova/nova.conf:

[root at compute05 ~]# cat /etc/nova/nova.conf
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:rabbit@controller
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
auth_strategy = keystone
api_servers = http://controller:9292
auth_uri = http://controller:5000
auth_url = http://controller:35357
#memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = nova
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = neutron
lock_path = /var/lib/nova/tmp
os_region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://controller:35357/v3
username = placement
password = placement
enabled = True
vncserver_listen =
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

any ideas what might be causing this?

More information about the Openstack mailing list