NoValidHost: No hosts found

Asked by janson

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/rpc.py", 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/manager.py", 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/chance.py", 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

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
janson
Solved:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
Christian Berendt (berendt) said :
#2

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

Revision history for this message
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

Revision history for this message
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!

Revision history for this message
Sandy Walsh (sandy-walsh) said :
#5

Janson, this seems to be a dup of your colleagues problem?
https://answers.launchpad.net/nova/+question/147177

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

Revision history for this message
janson (janson071) said :
#6

To Sandy:

OK, my friend, thank you very much!