zone_aware_scheduler assert failure

Bug #813864 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Chris Behrens

Bug Description

I can provide the log later (it scrolled out of my history), but this line:

zone_aware_scheduler.py: assert isinstance(zone_id, int) 

fails in parent when trying to build on a child zone. Changing it to 'isinstance(zone_id, long)' fixes it.

Related branches

Chris Behrens (cbehrens)
Changed in nova:
assignee: nobody → Chris Behrens (cbehrens)
Revision history for this message
Thierry Carrez (ttx) wrote :

Not sure how prevalent this actually is, from description -- so setting to Medium. Feel free to adjust.

Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Thierry Carrez (ttx) wrote :

@Chris: are you currently working on this, or should we leave it unassigned to let someone else have a shot at it ?

Revision history for this message
Ed Leafe (ed-leafe) wrote :

Is there even a good reason for this assert? Could we really have gotten that far in the scheduling process with an incorrect type for the zone's id?

Revision history for this message
Chris Behrens (cbehrens) wrote :

Thierry: I'll get a prop out today. Forgot this was assigned to me.
Ed: I'll take a look... might not be a good reason for it at all, no.

Chris Behrens (cbehrens)
Changed in nova:
status: Confirmed → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-rbp
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-rbp → 2011.3
status: Fix Committed → Fix Released
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.