FWaaS extension doesn't register its quota resources

Bug #1399280 reported by Ralf Haferkamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
James Arendt

Bug Description

This issue is basically the same as https://bugs.launchpad.net/neutron/+bug/1305957 . Just for the FWaaS extension. In short FWaaS misses to pass the register_quota=True argument to build_resource_info().

Ralf Haferkamp (rhafer)
Changed in neutron:
assignee: nobody → Ralf Haferkamp (rhafer)
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/139124

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
tags: added: fwaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-fwaas (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/141064

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron-fwaas (master)

Reviewed: https://review.openstack.org/141064
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=b823b339d5089dd3db329b7f89a431d7a3dc94d2
Submitter: Jenkins
Branch: master

commit b823b339d5089dd3db329b7f89a431d7a3dc94d2
Author: Ralf Haferkamp <email address hidden>
Date: Thu Dec 11 10:33:00 2014 +0100

    Adjust fwaas unit tests to work with quotas enabled

    To allow unit tests that create multiple firewalls succeeding even after
    bug#1399280 (FWaaS doesn't register it's quota resources) is fixed we
    create the firewalls in separate tenants.
    The default per-tenant quota for firewalls is "1". Additionally the
    plugin currently has a hardcoded limit of one firewall per tenant so
    there is no point in increasing the default quota.

    Change-Id: I7933d3bc6cf2465fe28604ea3dba9d38cf2e0a05
    Related-Bug: #1399280

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Kyle Mestery (<email address hidden>) on branch: master
Review: https://review.openstack.org/139124
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in neutron:
assignee: Ralf Haferkamp (rhafer) → nobody
Changed in neutron:
importance: Low → High
Changed in neutron:
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas (master)

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

Changed in neutron:
assignee: nobody → German Eichberger (german-eichberger)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas (master)

Reviewed: https://review.openstack.org/231246
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=28948f6559711a0d861fa76f3adf65cda22768fb
Submitter: Jenkins
Branch: master

commit 28948f6559711a0d861fa76f3adf65cda22768fb
Author: German Eichberger <email address hidden>
Date: Mon Oct 5 15:50:52 2015 -0700

    Register FWaaS resources to quota engine

    This is picking up the work done in
    https://review.openstack.org/#/c/139124/5

    Increased some quotas to pass unit tests.

    Change-Id: I4e0e1810877b2fff3b097a143b8287a90acc0ff5
    Closes-Bug: #1399280

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
Sean M. Collins (scollins) wrote :

Was recently reverted. This work needs to be re-done, with a higher default quota.

Changed in neutron:
status: Fix Committed → Confirmed
Revision history for this message
Manjeet Singh Bhatia (manjeet-s-bhatia) wrote :

how much default quota is needed ?

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

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

Changed in neutron:
assignee: German Eichberger (german-eichberger) → Manjeet Singh Bhatia (manjeet-s-bhatia)
status: Confirmed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-fwaas 8.0.0.0b1

This issue was fixed in the openstack/neutron-fwaas 8.0.0.0b1 development milestone.

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

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

Changed in neutron:
assignee: Manjeet Singh Bhatia (manjeet-s-bhatia) → James Arendt (james-arendt-7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas (master)

Reviewed: https://review.openstack.org/284249
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=e338df4244ca684d3b8a962341a6eab733f3e074
Submitter: Jenkins
Branch: master

commit e338df4244ca684d3b8a962341a6eab733f3e074
Author: James Arendt <email address hidden>
Date: Sat Feb 13 18:54:09 2016 -0800

    FWaaS quota registration

    Builds on prior attempts to register FWaaS resources to the quota
    engine, such as commit Ia4d6b9a65acd1111a050dc73b63a1f0ce619cb55
    which had to be reverted for bug 1513280 for failing gate via commit
    28948f6559711a0d861fa76f3adf65cda22768fb.

    Since with router insertion a user can have a separate firewall
    and policy per targeted router in their tenant, the original
    fixes which had defaults of only 1 were too low.

    Also added the release notes and updated the options to reflect
    the quota.

    Change-Id: I68a5538f7bc8df78212633c73eeca0eaae0d8455
    Closes-Bug: #1399280

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/285539

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-fwaas 8.0.0.0b3

This issue was fixed in the openstack/neutron-fwaas 8.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas (stable/liberty)

Reviewed: https://review.openstack.org/285539
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=2ce8b589c11d37d3f13ff37cf412d00f1e718e4b
Submitter: Jenkins
Branch: stable/liberty

commit 2ce8b589c11d37d3f13ff37cf412d00f1e718e4b
Author: James Arendt <email address hidden>
Date: Sat Feb 13 18:54:09 2016 -0800

    FWaaS quota registration

    Builds on prior attempts to register FWaaS resources to the quota
    engine, such as commit Ia4d6b9a65acd1111a050dc73b63a1f0ce619cb55
    which had to be reverted for bug 1513280 for failing gate via commit
    28948f6559711a0d861fa76f3adf65cda22768fb.

    Since with router insertion a user can have a separate firewall
    and policy per targeted router in their tenant, the original
    fixes which had defaults of only 1 were too low.

    Also added the release notes to reflect the quota.

    Set default as -1 (unlimited) in Liberty to avoid breaking
    compatibility.

    Change-Id: I68a5538f7bc8df78212633c73eeca0eaae0d8455
    Closes-Bug: #1399280

tags: added: in-stable-liberty
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-fwaas 7.1.0

This issue was fixed in the openstack/neutron-fwaas 7.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-fwaas (master)

Change abandoned by Manjeet Singh Bhatia (<email address hidden>) on branch: master
Review: https://review.openstack.org/244281

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.