quotasv2_detail quota driver check

Bug #1789378 reported by Junbo Jiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Opinion
Wishlist
Junbo Jiang

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

Tags: api rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/597011

Changed in neutron:
assignee: nobody → junbo (junbo)
status: New → In Progress
Revision history for this message
Hirofumi Ichihara (ichihara-hirofumi) wrote :

Do you want to add other quota driver?

tags: added: api
Changed in neutron:
importance: Undecided → Wishlist
Miguel Lavalle (minsel)
tags: added: rfe
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Due to lack of any activity in this RFE since more than 1 year, I'm going to close it for now. If You would be still interested in implementing this and would like to continue discussion on that, feel free to reopen it and ping me (slaweq) on irc.

Changed in neutron:
status: In Progress → Opinion
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by junbo (<email address hidden>) on branch: master
Review: https://review.opendev.org/597011

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.