Tiny machines fail on Havana

Bug #1244316 reported by Liam Young
This bug report is a duplicate of:  Bug #1161661: Rescheduling loses reasons. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned

Bug Description

I have a fresh install of Havana on precise. Creating a m1.tiny fails but a m1.small succeeds.

The m1.tniy fails with:
| fault | {u'message': u'No valid host was found. Exceeded max scheduling attempts 3 for instance 22d88956-7a77-4f0a-95ae-946f19264fdc', u'code': 500, u'details': u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 147, in run_instance |
  legacy_bdm_in_spec) |
File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 85, in schedule_run_instance |
  filter_properties, instance_uuids) |
File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 306, in _schedule|
  self._populate_retry(filter_properties, properties)|
File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 275, in _populate_retry|
  raise exception.NoValidHost(reason=msg)|

Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

Hi Liam, please turn on nova-scheduler/nova-compute debug log and run the test case again. If encounter this again, please append scheduler log here.

The reason you encounter this issue is that retryFilter was enabled by default and nova scheduler try to create VMs with m1.tiny for 3 times (max retry time) but all failed, so above error was thrown out.

Changed in nova:
status: New → Incomplete
Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

I think we need find out "why tiny machines fails", waiting for Liam's further input. Thanks.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Revision history for this message
Shannon McFarland (shmcfarl) wrote :

I am having the same issue on multiple nodes/deployments. It happens only with precise and only with m1.tiny. I have added the log files as attachments.

Revision history for this message
Shannon McFarland (shmcfarl) wrote :
Revision history for this message
Shannon McFarland (shmcfarl) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.