yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78950
[Bug 1833130] Re: Quota legacy method warning logged even without CONF.quota.count_usage_from_placement=True
Reviewed: https://review.opendev.org/665765
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=818c31f96e773a47a6fcbf084e13933865fdac80
Submitter: Zuul
Branch: master
commit 818c31f96e773a47a6fcbf084e13933865fdac80
Author: melanie witt <melwittt@xxxxxxxxx>
Date: Mon Jun 17 21:21:27 2019 +0000
Log quota legacy method warning only if counting from placement
The log warning message is being emitted unconditionally and should be
limited to only when CONF.quota.count_usage_from_placement = True.
This fixes the issue and adds missing unit test coverage that would
have caught it.
Closes-Bug: #1833130
Change-Id: I00ee0bd99c4f31a2b73fc69373fefb56740f5425
** Changed in: nova
Status: In Progress => Fix Released
--
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/1833130
Title:
Quota legacy method warning logged even without
CONF.quota.count_usage_from_placement=True
Status in OpenStack Compute (nova):
Fix Released
Bug description:
The following warning is being logged even when
CONF.quota.count_usage_from_placement is not set to True:
Jun 17 18:10:23.399734 ubuntu-bionic-rax-dfw-0007867224
devstack@n-api.service[9186]: WARNING nova.quota [None req-3ba6d21b-
40e4-47bb-8d38-ae2647245cbd None None] Falling back to legacy quota
counting method for instances, cores, and ram
This is not correct and results in constant warnings being logged for
users who have not opted-in to counting quota usage from placement.
Example from a gate run:
http://logs.openstack.org/67/652967/6/check/tempest-full-
py3/02860e1/controller/logs/screen-n-api.txt.gz#_Jun_17_18_10_23_399734
The message is logged 186 times in the file ^ when
CONF.quota.count_usage_from_placement = False.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1833130/+subscriptions
References