NoValidHost: No hosts found

Asked by janson on 2011-03-01

I can't run instance,

when execute "euca-run-instances ami-sfipmfmy --kernel ami-ko6e7utb --ramdisk ami-ujs7u9y0 -k mykey"

the status is always like this:

[root@localhost dowmload]# euca-describe-instances
RESERVATION r-bevirrog PRO3 default
INSTANCE i-00000002 ami-sfipmfmy scheduling mykey (PRO3, None) 0 m1.small 2011-03-01 05:08:37.620438 unknown zone

and in "nova-scheduler" occurs errors like this:

[root@localhost dowmload]# nova-scheduler
2011-03-01 13:03:43,121 AUDIT nova.root [-] Starting scheduler node (version 2011.1-workspace:tarmac-20110202111800-10sib5zxlu8xluca)
2011-03-01 13:08:39,242 ERROR nova.root [-] Exception during message handling
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/", line 192, in receive
(nova.root): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/scheduler/", line 63, in _schedule
(nova.root): TRACE: host = self.driver.schedule(elevated, topic, *args, **kwargs)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/scheduler/", line 37, in schedule
(nova.root): TRACE: raise driver.NoValidHost(_("No hosts found"))
(nova.root): TRACE: NoValidHost: No hosts found
(nova.root): TRACE:

any ideas ???

Question information

English Edit question
OpenStack Compute (nova) Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Christian Berendt (berendt) said : #1

Please post your output of "nova-manage service list". If I correctly remember this means that there are no nova-compute nodes availabe where the nova-scheduler can place a new instance.

Christian Berendt (berendt) said : #2

Sorry, should be an information request and no answert...

janson (janson071) said : #3

and this is the output of "nova-manage service list":

[root@localhost ~]# nova-manage service list
localhost.localdomain nova-network enabled :-) 2011-03-02 09:26:48.596118
localhost.localdomain nova-scheduler enabled :-) 2011-03-02 09:26:51.772495

janson (janson071) said : #4

to Christian:

and what can I do ?

hoping for your answer, I am in this trouble for a few days, and I don't know what to do next .
I think you can help me.

if not successed, my boss will kill me!

Sandy Walsh (sandy-walsh) said : #5

Janson, this seems to be a dup of your colleagues problem?

Can we close this question and keep the focus in that thread?

janson (janson071) said : #6

To Sandy:

OK, my friend, thank you very much!