nova net-list fails on empty list with Quantum backend

Bug #1189976 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Édouard Thuleau
Grizzly
Fix Released
Low
Aaron Rosen

Bug Description

I work on the trunk version of OpenStack with Quantum backend for the network.
If we list networks through the Nova OpenStack API and if the list is empty, Nova API fails to parse the Quantum response:
http://paste.openstack.org/show/38375/

Tags: network
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Édouard Thuleau (ethuleau)
status: New → In Progress
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/32638
Committed: http://github.com/openstack/nova/commit/14d3ae58c1ec39edd1b0b2a2a1947c5f8e96bab5
Submitter: Jenkins
Branch: master

commit 14d3ae58c1ec39edd1b0b2a2a1947c5f8e96bab5
Author: Édouard Thuleau <email address hidden>
Date: Tue Jun 11 22:32:49 2013 +0200

    Quantumapi returns an empty network list

    When nova retries network list and if the list is empty, quantumapi
    should return a empty list instead of an empty dictionnary.

    Fixes bug 1189976

    Change-Id: I5b8c498a6c86e92d0de14d8de9e55722408c5669

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/34985

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/34985
Committed: http://github.com/openstack/nova/commit/b92075c9b73b568e99b61544286da506bfb991a4
Submitter: Jenkins
Branch: stable/grizzly

commit b92075c9b73b568e99b61544286da506bfb991a4
Author: Édouard Thuleau <email address hidden>
Date: Tue Jun 11 22:32:49 2013 +0200

    Quantumapi returns an empty network list

    When nova retries network list and if the list is empty, quantumapi
    should return a empty list instead of an empty dictionnary.

    Fixes bug 1189976

    Conflicts:

     nova/tests/network/test_quantumv2.py

    Change-Id: I5b8c498a6c86e92d0de14d8de9e55722408c5669
    (cherry picked from commit 14d3ae58c1ec39edd1b0b2a2a1947c5f8e96bab5)

tags: added: in-stable-grizzly
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential in-stable-grizzly
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
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.