"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
• 33,120 points
151 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
• 78,020 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
• 78,020 points
64 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
• 78,020 points
154 views
0 votes
1 answer

How to launch an instance in OpenStack using Terraform?

Hi@akhtar, You need to use openstack_compute_instance_v2 resource to launch ...READ MORE

answered Jul 5 in OpenStack by MD
• 78,020 points
150 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
• 78,020 points
569 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
• 78,020 points
138 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
• 78,020 points
960 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
• 78,020 points
828 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

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

answered Mar 17 in OpenStack by MD
• 78,020 points
149 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
• 78,020 points
189 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
• 78,020 points
239 views