← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1355960] Re: nova-compute defaults to localhost:5672 for AMPQ rather than Rabbitmq server

 

** Project changed: openstack-community => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1355960

Title:
  nova-compute defaults to localhost:5672 for AMPQ rather than Rabbitmq
  server

Status in OpenStack Compute (Nova):
  New

Bug description:
  Set up Icehouse high availability cluster using Ubuntu 14.04 and openstack IceHouse. RabbitMQ version = 3.2.4
  Can not get compute node to register with controller.
  All Nova commands work properly on controller. 
  From compute node able to telnet to rabbitmq server on port 5672
  Although below error indicated AMQP as localhost:5672, my config is actually a clustered rabbitmq server

  nova-compute log:
  2014-08-12 12:32:26.659 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
  2014-08-12 12:32:26.659 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
  2014-08-12 12:32:27.673 4173 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 23 seconds.
  2014-08-12 12:32:50.691 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
  2014-08-12 12:32:50.692 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
  2014-08-12 12:32:51.705 4173 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 25 seconds.
  2014-08-12 12:33:16.725 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
  2014-08-12 12:33:16.726 4173 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
  2014-08-12 12:33:17.738 4173 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 27 seconds.

  compute node nova.conf:
  [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
  force_dhcp_release=True
  iscsi_helper=tgtadm
  libvirt_use_virtio_for_bridges=True
  connection_type=libvirt
  root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  verbose=True
  ec2_private_dns_show_ip=True
  api_paste_config=/etc/nova/api-paste.ini
  volumes_path=/var/lib/nova/volumes
  enabled_apis=ec2,osapi_compute,metadata
  auth_strategy = keystone
  glance_host = 10.1.0.2

  [database]
  # The SQLAlchemy connection string used to connect to the database
  connection = mysql://nova:password@10.1.0.2/nova

  [keystone_authtoken]
  auth_uri = http://10.1.0.2:5000
  auth_host = 10.1.0.2
  auth_port = 35357
  auth_protocol = http
  admin_tenant_name = service
  admin_user = nova
  admin_password = password

  [rabbitMQ]
  rpc_backend = rabbit
  rabbit_hosts = 10.1.0.5,10.1.0.6
  rabbit_password = password

  [neutron network]
  network_api_class = nova.network.neutronv2.api.API
  neutron_url = http://10.1.0.2:9696
  neutron_auth_strategy = keystone
  neutron_admin_tenant_name = service
  neutron_admin_username = quantum
  neutron_admin_password = password
  neutron_admin_auth_url = http://10.1.0.2:35357/v2.0
  linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
  firewall_driver = nova.virt.firewall.NoopFirewallDriver
  security_group_api = neutron

  my_ip = 10.1.0.22
  vnc_enabled = True
  vncserver_listen = 0.0.0.0
  vncserver_proxyclient_address = 10.1.0.22
  novncproxy_base_url = http://10.1.0.2:6080/vnc_auto.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1355960/+subscriptions