get_<resource> functions in N1kv plugin

Bug #1285289 reported by Bob Melander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Bob Melander

Bug Description

The N1kv plugin includes the 'fields' argument in the call to the super class function. Hence, only the specified fields are returned by the get_<..> function in the super class.

The problem is that a field that has been removed may be needed in the subsequent processing in the N1kv's get_<...> function.

The (trivial) solution is to set the fields argument to None in the call to the super class function.

A patch with the solution will be submitted momentarily.

Tags: n1kv
Changed in neutron:
assignee: nobody → Bob Melander (bob-melander)
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/76613

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

Reviewed: https://review.openstack.org/76613
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=038a56c13dafb1993ea2c6cba5a1a06b573cfa03
Submitter: Jenkins
Branch: master

commit 038a56c13dafb1993ea2c6cba5a1a06b573cfa03
Author: Bob Melander <email address hidden>
Date: Wed Feb 26 19:20:40 2014 +0100

    N1kv: Fixes fields argument not None

    N1kv plugin includes 'fields' in call to get_<resource> function in
    superclass. This can trigger errors if other fields are used in the
    subsequent processing in the N1kv plugin's own get_<resource>
    function.

    Change-Id: I63687a830579a178c6daaa2b8f71bef7eb53d584
    Closes-bug: #1285289

Changed in neutron:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in neutron:
milestone: none → icehouse-rc1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-rc1 → 2014.1
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.