Ask Your Question

resize image issue

asked 2015-08-22 15:39:43 -0500

Anario gravatar image

Hi All, When i try resize my image i get this error

 - -] Failed to compute_task_migrate_server: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/", line 142, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/", line 86, in select_destinations

  File "/usr/lib/python2.7/site-packages/nova/scheduler/", line 80, in select_destinations
    raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

image description

any idea ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-08-24 02:13:07 -0500

ram gravatar image
edit flag offensive delete link more


Thank's ram

Anario gravatar imageAnario ( 2015-08-24 12:59:34 -0500 )edit

answered 2015-08-22 15:49:52 -0500

bnordgren gravatar image

If you have more than one host, check out Hostnames need to resolve and ssh keys need to be set up such that the compute nodes can log into each other directly.

If you only have one host, you may need to check out the nova.conf options

"allow_resize_to_same_host" or "allow_migrate_to_same_host"


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: 2015-08-22 15:39:43 -0500

Seen: 1,406 times

Last updated: Aug 24 '15