Neutron LBaaS CLI quota show includes l7policy and doesn't include member

Bug #1624097 reported by Trevor Vardeman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
octavia
Fix Released
Medium
Unassigned
python-openstackclient
Fix Released
Undecided
Unassigned

Bug Description

When running devstack and executing "neutron quota-show" it lists an l7 policy quota, but does not show a member quota. However, the help message for "neutron quota-update" includes a member quota, but not an l7 policy quota. The show command should not have the l7 policy quota, but should have the member quota.

Tags: lbaas network
Changed in neutron:
assignee: nobody → Reedip (reedip-banerjee)
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

You are right.
But this is a client side issue.
Would be fixing it on the OpenstackClient side, as NeutronClient would be deprecated soon

affects: neutron → python-openstackclient
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Currently Member update is not supported for LBaaS v2 members

curl -s -i -X PUT http://10.0.4.130:9696/v2.0/quotas/1247149b4d7a4e26b358e935f83e2b2a.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 01b8ea3e237049efbf68024e3888db6c" -d '{"quota": {"member": 6}}'

HTTP/1.1 400 Bad Request
Content-Length: 107
Content-Type: application/json; charset=UTF-8
X-Openstack-Request-Id: req-2c24b454-426b-4a94-9355-28f3eca37393
Date: Fri, 16 Sep 2016 09:36:46 GMT

{"NeutronError": {"message": "Unrecognized attribute(s) 'member'", "type": "HTTPBadRequest", "detail": ""}}

Awaiting response from Neutron ( and LBaaS ) members for the same

Richard Theis (rtheis)
tags: added: network
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

For neutron , query has been shared in the ML : http://lists.openstack.org/pipermail/openstack-dev/2016-September/103832.html

Awaiting response

Changed in neutron:
assignee: nobody → Reedip (reedip-banerjee)
Revision history for this message
Hirofumi Ichihara (ichihara-hirofumi) wrote :

@Reedip: Thank you for your help. We wait responses for the mail in neutron side.

Changed in neutron:
status: New → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/371342
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=91c4509afe1bdf89f89a40dfc0a3cb808fd2004a
Submitter: Jenkins
Branch: master

commit 91c4509afe1bdf89f89a40dfc0a3cb808fd2004a
Author: Reedip <email address hidden>
Date: Fri Sep 16 13:39:54 2016 +0530

    Fix quota-update issue in LBaaS

    Currently L7Policies cannot be updated( it was missing
    in implementation in neutronclient). The same has been
    taken care in the current patch.

    Also, currently quota doesnt support updating the members
    in an LBaaS pool. This patch temporarily removes it, till
    it is not confirmed that LBaaS v2 needs to support quotas
    for members or not.

    Change-Id: I25a54a57debb762a32a280ece8c081fc52365f0f
    Closes-Bug: #1624097

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lbaas (master)

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

Changed in neutron:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.3.0

This issue was fixed in the openstack/python-openstackclient 3.3.0 release.

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

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/373135
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.3.0

This issue was fixed in the openstack/python-openstackclient 3.3.0 release.

Changed in neutron:
importance: Undecided → Medium
affects: neutron → octavia
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lbaas 10.0.0.0b2

This issue was fixed in the openstack/neutron-lbaas 10.0.0.0b2 development milestone.

Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

The issue has been fixed in neutron-lbaas.
Does not seem to affect octavia as of now

Changed in octavia:
assignee: Reedip (reedip-banerjee) → nobody
status: In Progress → Fix Released
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.