default quota driver not suitable for production

Bug #1189671 reported by Robert Collins
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Akihiro Motoki

Bug Description

The default quota driver is conf file driven, which isn't particularly useful in non-trivial clouds.

Can we change the default to quantum.db.quota_db.DbQuotaDriver please?

Revision history for this message
Robert Collins (lifeless) wrote :

(see also bug 1188651 which is the tripleo task we opened when we got told about the issue).

Revision history for this message
Mark McClain (markmcclain) wrote :

Interesting. I've relayed this bug to the mailing list to gather input from larger community.

Changed in quantum:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: quantum-core
tags: added: neutron-core
removed: quantum-core
Changed in neutron:
assignee: nobody → Mark McClain (markmcclain)
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/38678

Changed in neutron:
status: Triaged → In Progress
Changed in neutron:
milestone: none → havana-3
Changed in neutron:
milestone: havana-3 → havana-rc1
Revision history for this message
Julie Pichon (jpichon) wrote :

The related patch has been abandoned for several weeks. Does this still have a chance of making it into Havana?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

Hi Mark,

Same comment from Julie. Horizon quota update implementation at now assumes that this configuration becomes the default
configuration of quota extension in Havana release.

Otherwise, Horizon team will receive a bug report that "Create project" or "Update Project" operation always displays an error message quota update failed.

If it will not land in Havana, Horizon should disable editing of Neutron related quota or just ignore an error message in Neutron quota operations.

Any suggestion will be appreciated.

Changed in neutron:
importance: Wishlist → High
tags: added: havana-rc-potential
Revision history for this message
Thierry Carrez (ttx) wrote :

was moved to rc-potential

Changed in neutron:
milestone: havana-rc1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in neutron:
assignee: Mark McClain (markmcclain) → Akihiro Motoki (amotoki)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/49993
Committed: http://github.com/openstack/neutron/commit/de15e0b9c51cf9124de41258c1e3d774de215213
Submitter: Jenkins
Branch: master

commit de15e0b9c51cf9124de41258c1e3d774de215213
Author: Akihiro MOTOKI <email address hidden>
Date: Mon Oct 7 08:38:07 2013 +0900

    Enable Quota DB driver by default

    Closes-Bug: #1189671

    Quota driver is now loaded in lazy mode, i.e. the driver is loaded
    the first time the driver is accessed. This is to make unit tests
    work. Some unit tests like extension test cases need to use Config
    Quota driver (previous default) but QuotaEngine is initialized
    when quota.py is imported. Thus the unit tests had no chance to
    specify quota_driver.

    Change-Id: I9e20961d5a6322361e3c0284b3c2a7ca86755c70

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/50378

Changed in neutron:
milestone: none → havana-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

Reviewed: https://review.openstack.org/50378
Committed: http://github.com/openstack/neutron/commit/82fee2ff4d298d26149a99519f33935746f82570
Submitter: Jenkins
Branch: milestone-proposed

commit 82fee2ff4d298d26149a99519f33935746f82570
Author: Akihiro MOTOKI <email address hidden>
Date: Mon Oct 7 08:38:07 2013 +0900

    Enable Quota DB driver by default

    Closes-Bug: #1189671

    Quota driver is now loaded in lazy mode, i.e. the driver is loaded
    the first time the driver is accessed. This is to make unit tests
    work. Some unit tests like extension test cases need to use Config
    Quota driver (previous default) but QuotaEngine is initialized
    when quota.py is imported. Thus the unit tests had no chance to
    specify quota_driver.

    Change-Id: I9e20961d5a6322361e3c0284b3c2a7ca86755c70

Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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