yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75166
[Bug 1796737] [NEW] resize: hypervisor local_gb_used still reports usage even with volume-backed instances after fix for bug 1469179
Public bug reported:
This is a follow up to bug 1782393 which handled reporting 0
local_gb_used during an instance claim in the resource tracker but we
still have the same issue with resize claims ignoring volume-backed
instances.
This is the instance_claim fix:
https://review.openstack.org/#/c/584204/
The problem is here during a resize:
https://github.com/openstack/nova/blob/f63fd14975cda83d24121b010cbedfc3a7e5ff1f/nova/compute/resource_tracker.py#L1027
That passes the flavor object to the _get_usage_dict method which
doesn't handle the is_bfv case:
https://github.com/openstack/nova/blob/f63fd14975cda83d24121b010cbedfc3a7e5ff1f/nova/compute/resource_tracker.py#L1466
** Affects: nova
Importance: Medium
Assignee: Matt Riedemann (mriedem)
Status: Triaged
** Affects: nova/rocky
Importance: Medium
Status: Triaged
** Tags: compute resour volumes
** Changed in: nova
Status: New => Triaged
** Changed in: nova
Importance: Undecided => High
** Changed in: nova
Importance: High => Medium
** Also affects: nova/rocky
Importance: Undecided
Status: New
--
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/1796737
Title:
resize: hypervisor local_gb_used still reports usage even with volume-
backed instances after fix for bug 1469179
Status in OpenStack Compute (nova):
Triaged
Status in OpenStack Compute (nova) rocky series:
Triaged
Bug description:
This is a follow up to bug 1782393 which handled reporting 0
local_gb_used during an instance claim in the resource tracker but we
still have the same issue with resize claims ignoring volume-backed
instances.
This is the instance_claim fix:
https://review.openstack.org/#/c/584204/
The problem is here during a resize:
https://github.com/openstack/nova/blob/f63fd14975cda83d24121b010cbedfc3a7e5ff1f/nova/compute/resource_tracker.py#L1027
That passes the flavor object to the _get_usage_dict method which
doesn't handle the is_bfv case:
https://github.com/openstack/nova/blob/f63fd14975cda83d24121b010cbedfc3a7e5ff1f/nova/compute/resource_tracker.py#L1466
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1796737/+subscriptions
Follow ups