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, 2020 in OpenStack by akhtar
• 38,260 points
1,265 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, 2020 by MD
• 95,460 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, 2020 in OpenStack by MD
• 95,460 points
1,239 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, 2020 in OpenStack by MD
• 95,460 points
1,723 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, 2020 in OpenStack by MD
• 95,460 points
1,688 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, 2020 in OpenStack by MD
• 95,460 points
2,892 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, 2020 in OpenStack by MD
• 95,460 points
1,715 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, 2020 in OpenStack by MD
• 95,460 points
6,442 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, 2020 in OpenStack by MD
• 95,460 points
9,634 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, 2020 in OpenStack by MD
• 95,460 points
1,184 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, 2020 in OpenStack by MD
• 95,460 points
2,395 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, 2020 in OpenStack by anonymous
• 95,460 points
2,646 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP