Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

unable to resize instance

I followed the latest installation guide (http://docs.openstack.org/mitaka/install-guide-ubuntu/) to setup the openstack. everything works fine. Then I tried the resize feature. But the resize failed with the following error message:

ken@controller:~$ nova resize 2adbfad6-ae27-4af5-9596-3252044b9817 0 ERROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-38700377-8394-46b1-8f47-7e7c9c256929)

Then I checked the nova-api log and found the following message: ken@controller:/var/log/nova$ cat nova-conductor.log 2016-09-27 17:42:17.936 1154 WARNING nova.scheduler.utils [req-c3a3de80-ee69-41ff-819b-9577ecc3531b 7ea37408ad9f409f858116cebc5f84bc 260e011ff9c54f959a22410a032f7d6a - - -] Failed to compute_task_migrate_server: No valid host was found. There are not enough hosts available. Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner return func(args, *kwargs)

File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 104, in select_destinations dests = self.driver.select_destinations(ctxt, spec_obj)

File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 74, in select_destinations raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

Can anyone give me a hint to troubleshoot this issue?

BTW, glance/keystone/neutron are all installed in the control node.