Ask Your Question
0

"No valid host was found." error during booting of a instance

asked 2015-12-12 01:56:54 -0600

Vivek gravatar image

updated 2015-12-12 21:42:57 -0600

Bipin gravatar image

I am seeing the following error while trying to boot an nova instance. Is there something wrong with my setup ?

Thanks in advance, Vivek

{"message": "No valid host was found. ", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 616, in build_instanc
    request_spec, filter_properties)                                                                                                                               
  File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 256, in wrapped                                                                          
    return func(*args, **kwargs)                                                                                                                                   
  File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 50, in select_destinations                                                     
    context, request_spec, filter_properties)                                                                                                                      
  File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 35, in __run_method                                                            
    return getattr(self.instance, __name)(*args, **kwargs)                                                                                                         
  File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 34, in select_destinations                                                        
    context, request_spec, filter_properties)                                                                                                                      
  File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 108, in select_destinations                                                             
    request_spec=request_spec, filter_properties=filter_properties)                                                                                                
  File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 152, in call                                                                        
    retry=self.retry)                                                                                                                                              
  File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send                                                                         
    timeout=timeout, retry=retry)                                                                                                                                  
  File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 417, in send                                                               
    retry=retry)                                                                                                                                                   
  File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 408, in _send                                                              
    raise result                                                                                                                                                   
", "created": "2015-12-12T07:47:39Z"}                                                                                                                              
m1.tiny (1)
edit retag flag offensive close merge delete

Comments

Can you run 'nova hypervisor-list' and tell us what the output is?

Tony gravatar imageTony ( 2016-01-01 10:20:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-12 21:46:28 -0600

Bipin gravatar image

Hello,

Your messaging server is not working properly. From the logs, you can see nova trying to connect to messaging server (rabbitmq) and it failed. Check the following service

service rabbitmq-server status . If its not running, just start it

Regards

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: 2015-12-12 01:56:54 -0600

Seen: 85 times

Last updated: Dec 12 '15