← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1833130] [NEW] Quota legacy method warning logged even without CONF.quota.count_usage_from_placement=True

 

Public bug reported:

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.

** Affects: nova
     Importance: Low
     Assignee: melanie witt (melwitt)
         Status: Triaged


** Tags: quotas

-- 
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):
  Triaged

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


Follow ups