Read more

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

Kim Klotz
January 30, 2014Software engineer at makandra GmbH

If you get this error while trying to resize an openstack instance:

# nova resize fooinstance 16 --poll

==> /var/log/nova/nova-scheduler.log <==
2014-01-30 17:40:34 WARNING nova.scheduler.manager [req-aaaaaaa-bbbb-cccc-dddd-1ed34b64adef bajd7394hftgs71dba31d642342effa0f bfe2djhg6538sg384jgb82ks070ce0b] Failed to schedule_prep_resize: No valid host was found. 
2014-01-30 17:40:34 WARNING nova.scheduler.manager [req-aaaaaaa-bbbb-cccc-dddd-1ed34b64adef bajd7394hftgs71dba31d642342effa0f bfe2djhg6538sg384jgb82ks070ce0b] Setting instance aaaaaaaa-uuuu-dddd-bbbb-esdfg63asdfb to ACTIVE state.
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

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.

Posted by Kim Klotz to makandra dev (2014-01-30 18:06)