"Failed to schedule_prep_resize: No valid host was found." when trying to resize an instance

0 votes

I am getting this error while trying to resize an OpenStack instance.

$ nova resize fooinstance 16 --poll
Failed to schedule_prep_resize: No valid host was found.

Thank You

Mar 30 in OpenStack by akhtar
• 10,290 points
39 views

1 answer to this question.

0 votes

Hi@akhtar,

To avoid this error you have to set

--allow_resize_to_same_host=true

in /etc/nova/nova.conf and /etc/nova/nova-compute.conf and after that you need to restart the nova-compute and nova-api daemon.

Hope this will work.

Thank You

answered Mar 30 by MD
• 22,160 points

Related Questions In OpenStack

0 votes
1 answer

How can I create and attach a volume to an instance?

Hi@akhtar, To create an additional storage in OpenStack, ...READ MORE

answered Mar 19 in OpenStack by MD
• 22,160 points
26 views
0 votes
1 answer

Not able to launch an instance in OpenStack?

Hi@akhtar, You might get this error because you ...READ MORE

answered Mar 20 in OpenStack by MD
• 22,160 points
63 views
0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16 in OpenStack by MD
• 22,160 points
67 views
0 votes
1 answer

How to update an image properties in OpenStack?

Hi@akhtar, You can update your image properties. Follow ...READ MORE

answered Mar 16 in OpenStack by MD
• 22,160 points
29 views
0 votes
1 answer

Can anyone explain, how nova works internally?

Hi@akhtar, Nova is comprised of multiple server process, ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,160 points
34 views
0 votes
1 answer

Instance is not pingable from outside in OpenStack!

Ho@akhtar, There is nothing wrong. But when you ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,160 points
149 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,160 points
81 views
0 votes
1 answer

Why I am getting Server Failure in OpenStack ?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,160 points
26 views
0 votes
1 answer

Error: neutron-server failed to start and no log was written – neutron dead but pid file exists.

Hi@akhtar, Generally, after installing keystone, glance, nova services, ...READ MORE

answered Mar 24 in OpenStack by MD
• 22,160 points
42 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 22,160 points
52 views