Python-neutronclient command extension does not support parent_id in neutronV20.find_resourceid_by_name_or_id()

Bug #1446428 reported by Sayaji Patil
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
High
Amir Sadoughi

Bug Description

neutronV20.find_resourceid_by_name_or_id() when used without the parent_id
parameter works . But in case we want to pass the parent_id to the method it fails
with this error

_fx() takes exactly 0 arguments (3 given)

Sayaji Patil (sayaji15)
affects: horizon → python-neutronclient
Changed in python-neutronclient:
assignee: nobody → Sayaji Patil (sayaji15)
Sayaji Patil (sayaji15)
Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

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

Change abandoned by Kyle Mestery (<email address hidden>) on branch: master
Review: https://review.openstack.org/176119
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
Amir Sadoughi (amir-sadoughi) wrote :

Hi Sayaji, are you still working on the fix for this? If not, I have an implementation to upload for review. If I don't hear back after 48 hours, I'll move forward. Thanks.

Changed in python-neutronclient:
assignee: Sayaji Patil (sayaji15) → Amir Sadoughi (amir-sadoughi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/202597
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=7066c31fe30f462603e26778bc157cc4a0211926
Submitter: Jenkins
Branch: master

commit 7066c31fe30f462603e26778bc157cc4a0211926
Author: Amir Sadoughi <email address hidden>
Date: Wed Jun 3 21:04:52 2015 +0000

    Support for child resource extensions

    Child resource extension classes will have to add a new class member,
    parent_resource, with new formatting for object_path and
    resource_path to take into account parent_id. An example class is
    shown in the unit test.

    Change-Id: Ie8f875edd341cac2f7af8fd286ae38d2d93e2a04
    Closes-Bug: 1446428

Changed in python-neutronclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 4.0.0
milestone: 4.0.0 → 3.1.0
status: Fix Committed → Fix Released
importance: Undecided → High
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.