Ask Your Question

Build of instance re-shceduled: Image could not be found - but the image exists and is active

asked 2016-08-16 09:34:11 -0600

Juha a.k.a Hemmo gravatar image

If I try to launch a new image using horizon, I get two of these (from different nodes) in nova-scheduler.log

ERROR nova.scheduler.utils ... RescheduledException: Build of instance xxx was re-scheduled: Image yyy could not be found.

Then final message in nova-scheduler log is

WARNING nova.scheduler.driver ... NoValidHost exception with message: 'No valid host was found. Exceeded max scheduling attempts 3 for instance xxx. Last exception: ... RescheduledException: Build of instance xxx was re-scheduled: Image yyy could not be found.
WARNING nova.scheduler.driver ... [instance: xxx] Setting instance to ERROR state.

But when I execute nova image show xxx then the image information gets displayed. Also executing openstack image show displays the information about the image, it exists and it is active. The user trying to launch the instance is admin user.

Any ideas where to start looking?

edit retag flag offensive close merge delete


Hi, Once restart all the openstack services. Please ensure that you've selected the correct flavor for your image while launching instance. Please check nova-compute logs. Thanks

Praveen N gravatar imagePraveen N ( 2016-08-17 09:06:02 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-08-17 05:40:57 -0600

yprokule gravatar image

Try to enable debug in nova.conf and re-launch instance. Then check in logs which filter is failing.

edit flag offensive delete link more

answered 2016-08-17 09:24:20 -0600

Juha a.k.a Hemmo gravatar image

Enabling debug in several services finally led to the answer. DEBUG:glanceclient.common.http:Request returned failure status 404. Then trying glance --debug image-download xxx proved that glance was not able to access the image, although glance image-list was able to list it from the database.

Turned out that the nfs mount that should have served the images had died.

edit flag offensive delete link more

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


Asked: 2016-08-16 09:34:11 -0600

Seen: 685 times

Last updated: Aug 17 '16