Ask Your Question
0

need help launching instance - stuck with "no valid host found"

asked 2015-11-17 00:47:19 -0500

HARI PRASAD gravatar image

updated 2015-11-19 10:33:53 -0500

the log part from the creation of instance

compute.log

2015-11-17 11:52:29.806 4648 WARNING nova.openstack.common.loopingcall [-] task <bound method DbDriver._report_state of <nova.servicegroup.drivers.db.DbDriver object at 0x2ac0e10>> run outlasted interval by 2.66 sec
  2015-11-17 11:56:38.602 4649 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on 192.168.7.11:5672
2015-11-17 11:56:39.227 4649 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on 192.168.7.11:5672
2015-11-17 11:56:53.814 4648 ERROR nova.scheduler.utils [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] Error from last host: tvmatp326446d (node tvmatp326446d): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2033, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2164, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance f15e5ee5-ba09-4c2f-ae92-fc6deaf66592 was re-scheduled: Error during following call to agent: ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvoabf4e14a-c8', '--', 'add-port', 'br-int', u'qvoabf4e14a-c8', '--', 'set', 'Interface', u'qvoabf4e14a-c8', u'external-ids:iface-id=abf4e14a-c846-4df7-94e9-1f86205ababd', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:cf:4d:c0', 'external-ids:vm-uuid=f15e5ee5-ba09-4c2f-ae92-fc6deaf66592']\n"]
2015-11-17 11:56:54.502 4648 WARNING nova.scheduler.driver [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] NoValidHost exception with message: 'No valid host was found.'
2015-11-17 11:56:54.502 4648 WARNING nova.scheduler.driver [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] Setting instance to ERROR state.

scheduler.log

2015-11-17 11:56:54.022 1261 INFO nova.filters [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] Filter RetryFilter returned 0 hosts

nova-conductor.log

2015-11-17 15:33:01.510 4649 ERROR nova.scheduler.utils [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] Error from last host: tvmatp326446d (node tvmatp326446d): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2033, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2164, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 53709463-447c-4f09-9a47-4124958b88bb was re-scheduled: Error during following call to agent: ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvofef9f44e-fe', '--', 'add-port', 'br-int', u'qvofef9f44e-fe', '--', 'set', 'Interface', u'qvofef9f44e-fe', u'external-ids:iface-id=fef9f44e-fefe-4fa2-94e4-18756b48afef', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:2a:ee:94', 'external-ids:vm-uuid=53709463-447c-4f09-9a47-4124958b88bb']\n"]
2015-11-17 15:33:02.186 4649 WARNING nova.scheduler.driver [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] NoValidHost exception with message: 'No valid host was found.'
2015-11-17 15:33:02.186 4649 WARNING nova.scheduler.driver [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] Setting instance to ERROR state.
edit retag flag offensive close merge delete

Comments

I also have this error. Different setting but it's also the 1st instance I'm trying to create. Can you please use the 'code' button to ident and have the code on a placeholder?

Halflernation gravatar imageHalflernation ( 2015-11-19 08:58:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-19 09:37:50 -0500

Halflernation gravatar image

updated 2017-08-07 02:36:56 -0500

Bipin gravatar image

@HARI PRASAD,

Please check existing topics proposal of solution in case you're running over a VM:

https://ask.openstack.org/en/question/7519/instance-error-caused-by-libvirterror-internal-error-no-supported-architecture-for-os-type-hvm/?answer=7520#post-id-7520

Also, please be aware that the resource needed by the instance should be equal or less than what the Flavour provides. (That is, stating the opposite: the Flavour must provide enough resources for the instantiation)

edit flag offensive delete link more

Comments

Couldn't find the parameter libvirt_type in nova.conf but virt_type is already set to qemu

KVM's are available by running this command $ egrep -c '(vmx|svm)' /proc/cpuinfo which returned 2

HARI PRASAD gravatar imageHARI PRASAD ( 2015-11-20 03:38:15 -0500 )edit

@HARI PRASAD We might be at the exact same situation here. More details on my error log: https://ask.openstack.org/en/question/84840/devstack-no-valid-host-was-found-when-launching-instance/ (https://ask.openstack.org/en/question...)

Halflernation gravatar imageHalflernation ( 2015-11-20 09:03:15 -0500 )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

Stats

Asked: 2015-11-17 00:47:19 -0500

Seen: 501 times

Last updated: Aug 07 '17