Ask Your Question
1

KILO release: Nova-compute unable to talk to nova-conductor on controller-node

asked 2015-08-14 19:35:45 -0500

danial gravatar image

Issue:

Nova-compute is unable to establish connection with nova-conductor on controller-node.

Details:

I am trying to setup openstack KILO environment with 3 node setup on ubuntu 14.04.3 LTS.

I followed steps given in KILO guide to deploy Compute service on controller and Compute node.

At the verification step when i run nova service-list command on controller I get the following error.

root@controller:~# source admin-openrc.sh root@controller:~# nova service-list ERROR (ConnectionRefused): Unable to establish connection to http://controller:8774/v2/f567b1a3b629461a8fac97f1e72908b7/os-services (http://controller:8774/v2/f567b1a3b62...) root@controller:~#

Here are the nova-compute logs

root@compute1:~# tail -f /var/log/nova/nova-compute.log 2015-08-14 17:18:51.928 2362 WARNING nova.conductor.api [req-182eab5e-e974-4ae0-a6a0-c05580c190e9 - - - - -] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conductor? Reattempting establishment of nova-conductor connection... 2015-08-14 17:19:51.938 2362 WARNING nova.conductor.api [req-182eab5e-e974-4ae0-a6a0-c05580c190e9 - - - - -] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conductor? Reattempting establishment of nova-conductor connection...

Nova-conductor service is running fine on controller

root@controller:~# service nova-conductor status

nova-conductor start/running, process 22913

Here are the nova-conductor logs from controller:

root@controller:~# tail -f /var/log/nova/nova-conductor.log 2015-08-14 02:02:58.388 18809 INFO oslo_messaging._drivers.impl_rabbit [req-2a0099cc-cbaf-4567-b014-15736129264f - - - - -] The exchange Exchange reply_eec0a5fd9abd41e3bcba5e6f5ea568b2(direct) to send to reply_eec0a5fd9abd41e3bcba5e6f5ea568b2 doesn't exist yet, retrying... 2015-08-14 02:02:58.389 18810 INFO oslo_messaging._drivers.impl_rabbit [req-1aaffdde-39fc-4408-8fa4-71b4738a886a - - - - -] The exchange Exchange reply_eec0a5fd9abd41e3bcba5e6f5ea568b2(direct) to send to reply_eec0a5fd9abd41e3bcba5e6f5ea568b2 doesn't exist yet, retrying... 2015-08-14 02:02:58.591 18809 INFO oslo_messaging._drivers.impl_rabbit [req-c839b034-90b4-40d6-a215-a882647b514c - - - - -] The exchange Exchange reply_eec0a5fd9abd41e3bcba5e6f5ea568b2(direct) to send to reply_eec0a5fd9abd41e3bcba5e6f5ea568b2 doesn't exist yet, retrying... 2015-08-14 02:02:58.769 18810 INFO oslo_messaging._drivers.impl_rabbit [req-c839b034-90b4-40d6-a215-a882647b514c - - - - -] The exchange Exchange reply_eec0a5fd9abd41e3bcba5e6f5ea568b2(direct) to send to reply_eec0a5fd9abd41e3bcba5e6f5ea568b2 doesn't exist yet, retrying... 2015-08-14 02:06:25.768 18810 INFO nova.openstack.common.service [req-ddb859a5-baa6-455b-9c72-e49cc0469f6f - - - - -] Child caught SIGTERM, exiting 2015-08-14 02:06:25.768 18803 INFO nova.openstack.common.service [req-ddb859a5-baa6-455b-9c72-e49cc0469f6f - - - - -] Caught SIGTERM, stopping children

PLEASE HELP ME RESOLVE THIS ISSUE

here is the nova.conf from compute node:

[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 libvirt_use_virtio_for_bridges=True

verbose=True

ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini enabled_apis=ec2,osapi_compute,metadata

rpc_backend = rabbit

auth_strategy = keystone

my_ip = 10.24.134.118

vnc_enabled = True vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 10.24.134.118 novncproxy_base_url = http://controller:6080/vnc_auto.html

verbose = True

[oslo_messaging_rabbit]

rabbit_host = controller rabbit_userid = openstack rabbit_password = pass

[keystone_authtoken]

auth_uri = http://controller:5000 auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = pass

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-15 14:18:36 -0500

I am having a similar issue. When type "nova service-list" (pg. 63, openstack kilo install guide) nova-compute doesn't show up. Nova-conductor, consoleauth, schedular, and cert all say enabled but state is down. When check status with "service nova-cert status" it says running. I can ping back and forth but it wont come up.

Compute Node: /var/log/nova/nova-compute.log spams "1929 ERROR oslo_messaging._drivers.imp_rabbit [req-xxxxxxx---] AMQP server 10.0.0.11:5672 closed the connection. Check login credentials: Socket closed

Controller Node: /var/log/rabbitmq/rabbit\@osctlr.log spams {closing AMQP connection <0.23774.0> (10.0.0.11:42143 -> 10.0.0.11:5672): {handshake_error, starting, 0, {amqp_error, access_refused, "AMQPLAIN login refused: user 'guest' can only connect via localhost" 'connection.start_ok}}

nova.conf has on compute node has my_ip = 10.0.0.31 vnc_enabled = true vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 10.0.0.31 novncproxy_base_url = http://10.0.0.11:6080/vnc_auto.html [oslo_messaging_rabbit] rabbit_host = 10.0.0.11 rabbit_userid = guest rabbit_password = password

[keystone_authtoken] auth_uri = http://10.0.0.11:5000 auth_url = http://10.0.0.11:35357 auth_plugin = password project_name = service username = nova password = password

Then Controller node nova.conf file has my_ip = 10.0.0.11 vncserver_listen = 10.0.0.11 [database] connection = mysql://nova:password@10.0.0.11/nova [oslo_message_rabbit] rabbit_host = 10.0.0.11 rabbit_userid = guest rabbit_password = password [keystone_authtoken] auth_uri = htto://127.0.0.1:5000 auth_url = http://127.0.0.1:35357 auth_plugin = password username = nova password = password

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2015-08-14 19:35:45 -0500

Seen: 2,396 times

Last updated: Aug 14 '15