Hello,
On the compute node (IP addr : 10.176.20.4) I am seeing the
following error message in /var/log/nova/nova-compute.log:
2012-11-15 14:11:12 INFO nova.openstack.common.rpc.common [-]
*Reconnecting to AMQP server on localhost:5672*
2012-11-15 14:11:12 ERROR nova.openstack.common.rpc.common [-]
AMQP server on localhost:5672 is unreachable: [Errno 111]
ECONNREFUSED. Trying again in 30 seconds.
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
Traceback (most recent call last):
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py",
line 469, in reconnect
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
self._connect()
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py",
line 446, in _connect
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
self.connection.connect()
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/connection.py", line 154,
in connect
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
return self.connection
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/connection.py", line 560,
in connection
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
self._connection = self._establish_connection()
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/connection.py", line 521,
in _establish_connection
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
conn = self.transport.establish_connection()
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py",
line 255, in establish_connection
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
connect_timeout=conninfo.connect_timeout)
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py",
line 52, in __init__
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
super(Connection, self).__init__(*args, **kwargs)
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py",
line 129, in __init__
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
self.transport = create_transport(host, connect_timeout, ssl)
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py",
line 281, in create_transport
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
return TCPTransport(host, connect_timeout)
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py",
line 85, in __init__
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common
raise socket.error, msg
2012-11-15 14:11:12 TRACE nova.openstack.common.rpc.common error:
[Errno 111] ECONNREFUSED
The rabbitmq server is running on the controller node
(10.176.20.158), which is reachable from the compute node. Can
someone please help me understand why the compute node is trying
to connect to AMQP server on localhost.
nova.conf file is below:
[DEFAULT]
# LOGS/STATE
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf
# AUTHENTICATION
auth_strategy=keystone
# [keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova
signing_dirname = /tmp/keystone-signing-nova
# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
# Cinder - VOLUMES
#volume_driver=nova.volume.driver.ISCSIDriver
#volume_group=nova-volumes
#volume_name_template=volume-%08x
#iscsi_helper=tgtadm
volume_api_class=nova.volume.cinder.API
# DATABASE
sql_connection=mysql://nova:novadbsecret@10.176.20.158/nova
# COMPUTE
libvirt_type=kvm
compute_driver=libvirt.LibvirtDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini
# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True
# APIS
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=10.176.20.158
s3_host=10.176.20.158
# RABBITMQ
rabbit_host=10.176.20.158
# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=10.176.20.158:9292
# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
# Change my_ip to match each host
my_ip=10.176.20.4
public_interface=eth0
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.100.0/24
# NOVNC CONSOLE
novncproxy_base_url=http://10.176.20.158:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to
match each compute host
vncserver_proxyclient_address=10.176.20.4
vncserver_listen=10.176.20.4
# Following config kept from initial conf file installed by nova
dhcpbridge=/usr/bin/nova-dhcpbridge
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
ec2_private_dns_show_ip=True
volumes_path=/var/lib/nova/volumes
Thank you,
Ahmed.
_______________________________________________
Mailing list:https://launchpad.net/~openstack
Post to :openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~openstack
More help :https://help.launchpad.net/ListHelp