Ask Your Question
0

instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].

asked 2015-03-20 02:19:20 -0500

anky gravatar image

hi , i have installed openstack on single node with devstack script but i have problem on creating instance ..

Error: Failed to perform requested operation on instance "test", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].

my all services are running i even checked logs with screen but showed no error

please help me,i am new to everything...

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-25 05:33:25 -0500

anky gravatar image

updated 2015-03-25 05:33:58 -0500

i just solved this problem by adding user in /etc/sudoers and rebooting system

before the ./stack.sh

edit flag offensive delete link more
0

answered 2015-03-20 07:54:13 -0500

Remko Duppen gravatar image

I suggest adding the relevant part of /var/log/nova/nova-scheduler.log to your question, The scheduler is the openstack module that selects te compute node on wich to spawn your instance, somehow it seems to think there are no hosts available, posting the log will help in finding why it thinks so

edit flag offensive delete link more

Comments

no nova logs in /var/log/ but i can open dashboard on my web browser with my IP

anky gravatar imageanky ( 2015-03-22 22:33:02 -0500 )edit

I have no personal experience with devstack, but there should usually be a nova subdir under /var/log just like a keystone directory Without logging it will be quite hard to hunt down your problem Have you installed/started nova-compute ?

Remko Duppen gravatar imageRemko Duppen ( 2015-03-25 05:07:52 -0500 )edit
0

answered 2015-03-25 05:48:44 -0500

Pradip gravatar image

Typically I faced such a problem when there is not enough system resources (of the host you're running the devstack). This is coming from the nova-scheduler where the n-sch filters are scanning through all the available host(s) and unable to find one to serve your instance requirement.

You may want to check with 'free' (ubuntu). And try to use some other flavor may be (m1.tiny ?).

--pradip

edit flag offensive delete link more

Comments

i am doing it on centos7

anky gravatar imageanky ( 2015-03-25 06:42:30 -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

1 follower

Stats

Asked: 2015-03-20 02:19:20 -0500

Seen: 5,819 times

Last updated: Mar 25 '15