[Openstack] Nova connects to rabbitmq on localhost during migrate (ocata)

Kim Gert Nielsen kgn at one.com
Thu Apr 6 11:37:05 UTC 2017


Hi,

I have just test my ocata installation and most of it seems to be fine.
But when resizing an instance I get the error:

7447a2-9602-4d15-8196-9151af6a0e86] AMQP server on 127.0.0.1:5672 is
unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
Client port: None

on the compute node. The weird thing is that I have configured a
transport_url:

<nova.conf from the compute node>
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
state_path=/var/lib/nova
force_dhcp_release=True
ec2_private_dns_show_ip=True
transport_url = rabbit://openstack:XXXXXXXXXX@openstack2.example.com
auth_strategy = keystone
my_ip = 10.64.48.4
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
instance_usage_audit = True
instance_usage_audit_period = hour
notify_on_state_change = vm_and_task_state
enable_instance_password = True
use_ipv6 = True
force_config_drive = True
resume_guests_state_on_host_boot = True

[database]
connection = mysql+pymysql://nova:XXXXXXXXXX@openstack2.example.com/nova

[api_database]
connection =
mysql+pymysql://nova:XXXXXXXXXX@openstack2.example.com/nova_api

[libvirt]
use_virtio_for_bridges=True

[wsgi]
api_paste_config=/etc/nova/api-paste.ini

[keystone_authtoken]
auth_uri = http://openstack2.example.com:5000
auth_url = http://openstack2.example.com:35357
memcached_servers = openstack2.example.com:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = XXXXXXXXXX

[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://10.64.48.3:6080/vnc_auto.html
novncproxy_host = openstack2.example.com
novncproxy_port = 6080

[glance]
api_servers = http://openstack2.example.com:9292

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[neutron]
url = http://10.64.48.3:9696
auth_url = http://openstack2.example.com:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = CopenhagenOne
project_name = service
username = neutron
password = XXXXXXXXXX

[oslo_messaging_notifications]
driver = messagingv2

[oslo_messaging_rabbit]
transport_url = rabbit://openstack:XXXXXXXXXX@openstack2.example.com

[placement]
os_region_name = CopenhagenOne
project_domain_name = default
project_name = service
auth_type = password
user_domain_name = default
auth_url = http://openstack2.example.com:35357/v3
username = placement
password = XXXXXXXX
</nova.conf from the compute node>

And I can't seem to find where this 127.0.0.1/localhost is configured or
what I'm missing.

Can anyone help with this ?

Installation:
ocata (Latest from Ubuntus cloud archive)
Ubuntu 16.04.2 LTS
ii  nova-common                        2:15.0.2-0ubuntu1~cloud0
all          OpenStack Compute - common files
ii  nova-compute                       2:15.0.2-0ubuntu1~cloud0
all          OpenStack Compute - compute node base
ii  nova-compute-kvm                   2:15.0.2-0ubuntu1~cloud0
all          OpenStack Compute - compute node (KVM)
ii  nova-compute-libvirt               2:15.0.2-0ubuntu1~cloud0
all          OpenStack Compute - compute node libvirt support
ii  python-nova                        2:15.0.2-0ubuntu1~cloud0
all          OpenStack Compute Python libraries
ii  python-novaclient                  2:7.1.0-0ubuntu1~cloud0
all          client library for OpenStack Compute API - Python 2.7

Best regards
Kim




More information about the Openstack mailing list