← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154371] Re: nova.quota.py uses CONF on module load

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
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/1154371

Title:
  nova.quota.py uses CONF on module load

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Something started importing nova.quota before config options are
  parsed, meaning that the use of CONF.quota_driver does not work.  Only
  the default value of that option is seen and used.

  From eventlet backdoor on a service that has
  quota_driver=nova.quota.NoopQuotaDriver:

  >>> nova.quota.QUOTAS._driver
  <nova.quota.DbQuotaDriver object at 0x28de6d0>
  >>> cfg.CONF.quota_driver
  'nova.quota.NoopQuotaDriver'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1154371/+subscriptions