← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1789378] [NEW] quotasv2_detail quota driver check

 

Public bug reported:

Currently, the quotasv2_detail  extension only used for quota driver
neutron.db.quota.driver.DbQuotaDriver, because there is a check in
extensions/quotasv2_detail.py file, see below

class Quotasv2_detail(api_extensions.ExtensionDescriptor):
    """Quota details management support."""

    # Ensure new extension is not loaded with old conf driver.
    extensions.register_custom_supported_check(
        ALIAS, lambda: True if QUOTA_DRIVER == DB_QUOTA_DRIVER else False,
        plugin_agnostic=True)

It's better to remove this check to make quotasv2_detail work with quota
drivers other then  neutron.db.quota.driver.DbQuotaDriver

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1789378

Title:
  quotasv2_detail  quota driver check

Status in neutron:
  New

Bug description:
  Currently, the quotasv2_detail  extension only used for quota driver
  neutron.db.quota.driver.DbQuotaDriver, because there is a check in
  extensions/quotasv2_detail.py file, see below

  class Quotasv2_detail(api_extensions.ExtensionDescriptor):
      """Quota details management support."""

      # Ensure new extension is not loaded with old conf driver.
      extensions.register_custom_supported_check(
          ALIAS, lambda: True if QUOTA_DRIVER == DB_QUOTA_DRIVER else False,
          plugin_agnostic=True)

  It's better to remove this check to make quotasv2_detail work with
  quota drivers other then  neutron.db.quota.driver.DbQuotaDriver

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


Follow ups