Don't attach to multiple Quantum networks by default

Bug #1193376 reported by Phil Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Phil Day

Bug Description

If no networking information is passed to a create request Nova will connect the instance to all available networks.

Whilst this may make sense in Nova Networking (where the networks are mainly controlled by the cloud provider) in a Quantum configuration, where the user may have many networks it really doesn't make sense to allow this, as the network order is non-deterministic and most guest OS's will only set up the first network (which may not be the one which is externally route-able.

To prevent the user getting into this state, the system should reject requests with no networking information when more than one quantum network is available, so that the user is made to specify them in the required order.

Phil Day (philip-day)
Changed in nova:
assignee: nobody → Phil Day (philip-day)
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/33996

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

Reviewed: https://review.openstack.org/33996
Committed: http://github.com/openstack/nova/commit/5936b2158da16bc0dbcaa99d5009a76f077999d7
Submitter: Jenkins
Branch: master

commit 5936b2158da16bc0dbcaa99d5009a76f077999d7
Author: Phil Day <email address hidden>
Date: Fri Jun 21 15:57:31 2013 +0100

    Don't attach to multiple Quantum networks by default

    If no networking information is passed to a create request
    Nova will connect the instance to all available networks.

    In a Quantum configuration, where the user may have many
    networks it really doesn't make sense to allow this, as the
    network order is critical to most Guests and this approach
    non-deterministic.

    For example most guest OS's will only automatically configure
    the first network which may not be externally route-able thereby
    leaving the instance in an un-usable state.

    To prevent the user getting into this state, the system should
    reject requests with no networking information when more than
    one quantum network is available, so that the user is made to
    specify them in the required order.

    Fixes bug 1193376

    Change-Id: I950798cc3d04994b82be16e94397c117aaceecce

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
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.