Ask Your Question
0

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

asked 2018-09-28 00:49:39 -0600

nag gravatar image

updated 2018-09-28 11:07:30 -0600

As soon as i spin the VM: tailf /var/log/nova/nova-conductor.log 2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager [req-b13dc3f6-1ab4-4457-b74d-eba9c12cab4b 7924d05db1ed482fad40df128df9665e 38165053d9234765b1e27ce253de2a8d - default default] Failed to schedule instances: NoValidHost_Remote: No valid host was found. Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 226, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations
    raise exception.NoValidHost(reason="")

NoValidHost: No valid host was found.
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager Traceback (most recent call last):
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_alternates=True)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return_alternates=return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return func(*args, **kwargs)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return cctxt.call(ctxt, 'select_destinations', **msg_args)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     retry=self.retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     timeout=timeout, retry=retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     retry=retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-09-28 00:57:05 -0600

nag gravatar image

All the service are up and running, i have launched cirros image as well. it's working. But when i launched centos image it got stuck forever. Please someone help. It's high priority issue for me. Thanks in advance.

edit flag offensive delete link more

Comments

controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available

I don't have any info about this MAC address in the log .. ec:f4:bb:c7:e5:8c  . It keeps cmg again and again. ANY IDEA
nag gravatar imagenag ( 2018-09-28 01:02:19 -0600 )edit
Bernd Bausch gravatar imageBernd Bausch ( 2018-09-28 04:26:03 -0600 )edit

Do you have a problem with DHCP or Centos? Your Neutron agents are OK, you dump a lot of config information, and you run upgrade-heads, which you should not do on a populated DB. A Dell machine wants an IP address.

Centos doesn't start. Where is it hanging? What is its status? Console log?

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-28 04:30:55 -0600 )edit

Hi Bernd, thanks for the response. I used new ubuntu working vm in another platform, as soon as i launch VM status changed to Error. No valid host. i have added /nova-conductor.log above where i see error

please check and guide me . Thanks

nag gravatar imagenag ( 2018-09-28 11:10:50 -0600 )edit

No valid host was found means that the scheduler didn’t find a compute host that matched the description of the instance. Debug logs in the scheduler should tell you what the problem is, or the placement log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-28 16:12:20 -0600 )edit

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: 2018-09-28 00:49:39 -0600

Seen: 68 times

Last updated: Sep 28 '18