Fail to resize an openstack instance

asked 2019-01-18 03:39:18 -0600

najeh gravatar image

updated 2019-01-18 03:39:47 -0600

I would like to resize a created instance but an error is displayed

root@controller:~# nova resize ubuntu 4 --poll

ERROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-54b84cdc-3cc0-4134-b0e5-da1766eff1a8)

PS: I have two compute nodes

Where is the error and how can i solve it ?

edit retag flag offensive close merge delete


This seems related to your other question. A resize usually means that the instance will be migrated to a different host, which in your case is not possible due to (probably) missing RAM, CPU etc.

eblock gravatar imageeblock ( 2019-01-18 05:16:21 -0600 )edit

Check nova-conductor.log, nova-scheduler.log on control node (debug mode) and nova-compute.log on both compute nodes.

eblock gravatar imageeblock ( 2019-01-18 05:16:59 -0600 )edit