Ask Your Question
0

All the nova services status are down and not displaying nova compute service

asked 2017-03-30 00:47:26 -0500

Harsha gravatar image

Hi All, I'm beginner to openstack, I'm configuring openstack newton with 2 nodes. After configuring controller and compute node, It is getting nova compute service and all the nova services are enabled but it is in down state. How can I resolve this, please anyone help me!!

root@controller:/etc/nova# nova service-list +----+------------------+------------+----------+---------+-------+------------+-----------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +----+------------------+------------+----------+---------+-------+------------+-----------------+ | 5 | nova-consoleauth | controller | internal | enabled | down | - | - | | 6 | nova-scheduler | controller | internal | enabled | down | - | - | | 7 | nova-conductor | controller | internal | enabled | down | - | - | +----+------------------+------------+----------+---------+-------+------------+---------------------

nova-compute.log

2017-03-29 17:05:31.678 5866 WARNING os_brick.initiator.connectors.remotefs [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] Connection details not present. RemoteFsClient may not initialize properly. 2017-03-29 17:05:31.721 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds. Client port: None 2017-03-29 17:05:32.736 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds. Client port: None 2017-03-29 17:05:34.753 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 4 seconds. Client port: None 2017-03-29 17:05:38.771 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 6 seconds. Client port: None 2017-03-29 17:05:44.789 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 8 seconds. Client port: None 2017-03-29 17:05:52.811 5866 ERROR oslo.messaging._drivers.impl_rabbit [req-e4048b13-8b89-460a-9d5e-2750e6a15720 - - - - -] [862cb83d-a4ed-4da2-ac1d-71a4a13dcd76] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 10 seconds. Client port: None

Please help me. Thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-04-06 07:06:43 -0500

Radhakrishnan Rk gravatar image

Hello,

  1. Ensure rabbitmq service is running or not.
  2. Ensure any firewall rule is not blocking connection to rabbitmq server between controller and compute node.
  3. Please the credentials of your rabbitmq server in nova.conf file.
  4. Ensure virtual host is created in rabbit mq server. If not restart rabbitmq server.
  5. Enable rabbitmq management plugin to get ui for managing rabbit mq server. Here you can see the queue related information with respect to all openstack service components in detail.

Best Regards,

Radhakrishnan Rk.

edit flag offensive delete link more

Comments

Thanks.I changed rabbitmq user pwd and allowed 5672 port through ufw after that it is working fine. I'm getting other issue,I have assigned floating ip for an instance, it was working fine I can able ping and ssh into that instance but after rebooting the server I'm not able to ping that instance.

Harsha gravatar imageHarsha ( 2017-04-07 06:32:49 -0500 )edit

The instance is having the same ip after rebooting also but not able ping to that instance. I have tried assigning other floating ip but after that also I'm not able ping other floating ip. Please help me to resolve this.

Harsha gravatar imageHarsha ( 2017-04-07 06:57:24 -0500 )edit

Hello, Before ssh/ping to the server from its floating ip, From kvm console, please check whether the instance contacted metadata server after booting. If it does not happened, you wont get fixed/private ip address to your instance even you can see the ip address in your horizon dashboard.

Radhakrishnan Rk gravatar imageRadhakrishnan Rk ( 2017-04-08 08:13:58 -0500 )edit

Invoke a curl call from the instance curl http://169.254.169.254 If you get no route to host error. Check linux bridge agent in your compute node and l2 agent, neutron metadata agent in controller(network) node.

Radhakrishnan Rk gravatar imageRadhakrishnan Rk ( 2017-04-08 08:15:56 -0500 )edit

How can I invoke curl call from instance, I'm not getting the instance console it is showing error like server not found error in console?

Harsha gravatar imageHarsha ( 2017-04-10 05:20:11 -0500 )edit
0

answered 2017-04-05 22:04:04 -0500

macsz gravatar image

So I presume that you are following deployment documentation and not installing it using devstack. Can you please check if the rabbitmq is running? You can use this guide to troubleshoot [1] rabbitmq.

  • [1] https://www.rabbitmq.com/troubleshooting.html (https://www.rabbitmq.com/troubleshoot...)
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

1 follower

Stats

Asked: 2017-03-30 00:47:26 -0500

Seen: 1,482 times

Last updated: Apr 06 '17