[Openstack] nova connecting to amqp on 127.0.0.1

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


Hi

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 127.0.0.1:5672 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
[DEFAULT]
my_ip=10.12.1.25
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:rabbit@controller
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[api_database]
[barbican]
[cache]
[cells]
[cinder]
[cloudpipe]
[conductor]
[console]
[consoleauth]
[cors]
[cors.subdomain]
[crypto]
[database]
[ephemeral_storage_encryption]
[filter_scheduler]
[glance]
api_servers = http://controller:9292
[guestfs]
[healthcheck]
[hyperv]
[image_file_url]
[ironic]
[key_manager]
[keystone_authtoken]
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
[libvirt]
[matchmaker_redis]
[metrics]
[mks]
[neutron]
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
[notifications]
[osapi_v21]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
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
[quota]
[rdp]
[remote_debug]
[scheduler]
[serial_console]
[service_user]
[spice]
[ssl]
[trusted_computing]
[upgrade_levels]
[vendordata_dynamic_auth]
[vmware]
[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
[workarounds]
[wsgi]
[xenserver]
[xvp]

any ideas what might be causing this?



More information about the Openstack mailing list