scheduler report client sends allocations with value of zero, violating min_unit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Ed Leafe | ||
Newton |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
When a VM boots using non-local disk, it tries to send an allocation of 'DISK_GB': 0. This violates the default min_unit of 1 and causes an error that looks like this:
[req-858cbed4-
Traceback (most recent call last):
File "/usr/lib/
allocations
File "/usr/lib/
return fn(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return fn(*args, **kwargs)
File "/usr/lib/
before_gens = _check_
File "/usr/lib/
resource_
InvalidAllocati
The causing code is at https:/
The correct fix is probably that whenever the value of any resource class is zero, don't send that resource class in the dict.
Changed in nova: | |
assignee: | Chris Dent (cdent) → Ed Leafe (ed-leafe) |
Changed in nova: | |
assignee: | Ed Leafe (ed-leafe) → Chris Dent (cdent) |
Changed in nova: | |
assignee: | Chris Dent (cdent) → Ed Leafe (ed-leafe) |
Yeah I think that would be the best approach for fixing that bug.