Cannot see Network quota using "openstack quota show"

Bug #1655537 reported by Reedip on 2017-01-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Reedip

Bug Description

Running Openstack Quota show states that while the compute_quota_info and volume_quota_info are both of the type DICT, network_quota_info is an Object, therefore not iterable

[outofmemory@localhost python-openstackclient]$openstack quota show
<type 'dict'>
<type 'dict'>
<class 'openstack.network.v2.quota.Quota'>
'Quota' object is not iterable

Reedip (reedip-banerjee) on 2017-01-11
Changed in python-openstackclient:
assignee: nobody → Reedip (reedip-banerjee)

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

Changed in python-openstackclient:
status: New → In Progress
Changed in python-openstackclient:
importance: Undecided → Medium

Reviewed: https://review.openstack.org/419067
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=024bd3bd660490e458456c28674dcd0ad4ee13c8
Submitter: Jenkins
Branch: master

commit 024bd3bd660490e458456c28674dcd0ad4ee13c8
Author: Reedip <email address hidden>
Date: Wed Jan 11 12:34:48 2017 -0500

    Fix quota show output

    Currently Quota Show expects dictionary to be returned
    for Network client, similar to Volume and Compute clients, but
    Network Object is being returned, causing the "openstack quota show"
    to fail.
    This patch takes care of this issue.

    Depends-On: Ie0e045ff4888615d68804fd739d5b995ca11e9a1
    Change-Id: Ic507997cba09fcfa84dd1151d6922f56a7c5187b
    Closes-Bug:#1655537

Changed in python-openstackclient:
status: In Progress → Fix Released

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

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

Other bug subscribers