yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66683
[Bug 1710908] [NEW] scheduler.utils.merge_resources allows zero value resources
Public bug reported:
(master as of 2017-08-15)
If the merge of two resources of the same class can result in a sum of
zero, or one of the provided keys has a value of zero in the first place
and it is only in one of the provided resource dicts, the result dict of
resources will have a zero value entry. If this is then used directly to
produce an allocations entry, the allocation will fail.
I discovered this while manually testing resizes of servers using
flavors with no disk.
** Affects: nova
Importance: Undecided
Status: New
** Tags: resource-tracker scheduler
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1710908
Title:
scheduler.utils.merge_resources allows zero value resources
Status in OpenStack Compute (nova):
New
Bug description:
(master as of 2017-08-15)
If the merge of two resources of the same class can result in a sum of
zero, or one of the provided keys has a value of zero in the first
place and it is only in one of the provided resource dicts, the result
dict of resources will have a zero value entry. If this is then used
directly to produce an allocations entry, the allocation will fail.
I discovered this while manually testing resizes of servers using
flavors with no disk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1710908/+subscriptions
Follow ups