Booting instance with flavor too small returns NoValidHost to client when error should be e.g. InstanceTypeDiskTooSmall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04 with Havana (precise-updates and precise-proposed)
ii nova-ajax-
ii nova-api 1:2013.
ii nova-cert 1:2013.
ii nova-common 1:2013.
ii nova-conductor 1:2013.
ii nova-consoleauth 1:2013.
ii nova-doc 1:2013.
ii nova-novncproxy 1:2013.
ii nova-objectstore 1:2013.
ii nova-scheduler 1:2013.
ii python-nova 1:2013.
ii python-novaclient 1:2.15.
When launching an instance of a type that is too small, the error returned to the client is NoValidHost when the real error message is (in this case) "InstanceTypeDi
# nova show test1
fault | {u'message': u'No valid host was found. Exceeded max scheduling attempts 3 for instance 75ed5622-
| | legacy_bdm_in_spec) |
| | File "/usr/lib/
| | filter_properties, instance_uuids) |
| | File "/usr/lib/
| | self._populate_
| | File "/usr/lib/
| | raise exception.
| | ', u'created': u'2013-
Log entry in /var/log/
2013-10-27 20:16:03.731 11409 ERROR nova.scheduler.
summary: |
- Booting instance with flavor too small returns noValidHost to client + Booting instance with flavor too small returns NoValidHost to client when error should be e.g. InstanceTypeDiskTooSmall |
Guessing, this other bug https:/ /bugs.launchpad .net/nova/ +bug/1244316 is because of this same problem.