nic ordering is inconsistent in backend and ui

Bug #1405271 reported by Vish Ishaya
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Vish Ishaya

Bug Description

The order of nics in both the UI and the backend should be consistent since it has a strong impact in the guest. The first network shown should be the first network that the guest is connected to. Unfortunately we store this info in a dict which has inconsistent ordering. This should be an ordered dict.

Changed in nova:
status: New → In Progress
assignee: nobody → Vish Ishaya (vishvananda)
importance: Undecided → High
Revision history for this message
Vish Ishaya (vishvananda) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/143730
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2ec71f6d04862fe909ef03fa881ff7e915766def
Submitter: Jenkins
Branch: master

commit 2ec71f6d04862fe909ef03fa881ff7e915766def
Author: Vishvananda Ishaya <email address hidden>
Date: Tue Dec 23 11:40:26 2014 -0800

    Maintain the creation order for vifs

    Ensure that the backend and the front end keep the vifs in the
    same order that they were specified in when they were created.

    Closes-Bug: 1405271
    Change-Id: If6e1dc51609c764de8352b933b7a847952d08931

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-2 → 2015.1.0
Roman Rufanov (rrufanov)
tags: added: customer-found support
tags: removed: customer-found support
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

With this issue order of interfaces that you specified on instance creation is ignored, and alphabetical order used instead. Is it correct?

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

*With this patch

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

@Vish does this fixes nova network only? Or neutron too?

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.