Multiple nics on same network not allowed

Bug #1166110 reported by Hareesh Puthalath
28
This bug affects 7 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Undecided
Hareesh Puthalath

Bug Description

I have a use case which requires a Nova VM to have multiple interfaces in the same Quantum network.

The current Nova implementation does not allow that.
This happens regardless of whether network or port is specified.

This behavior is enforced by the code in nova/network/quantumv2/api.py

Tags: nfv
Changed in nova:
assignee: nobody → Hareesh Puthalath (hareesh-puthalath)
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/26370

Changed in nova:
status: New → In Progress
Revision history for this message
Jason Kölker (jason-koelker) wrote :

Responding here since that's what ijw-ubuntu requested.

Why do you want to do this? So to take the case of the controlplane and dataplane on the same network, you can just create two networks in quantum that both have the same interface as the output interface. So on the hyperwiser you have just eth0 that goes into the ovs-integration bridge that then the ovs flows take the 2 separate networks, and outputs them on the same physical network.

The argument against is really one of simplicity, the end user (the one spinning up instances) should not have to care about the underlying infrastructure, that is the responsibility of the cloud operator, ie the burden of setup is on the cloud operator to configure their hyperwisers and ovs/quantum appropriately to support the network configurations required by the images they support.

Nova currently does not support multiple interfaces on the same network. Its all up to the driver on how to interpret the network model, and explicitly disallowed by drivers that use the legacy format, so really this is a feature request that should be a blueprint not a bug, the discussion of the merits should probably move there.

Revision history for this message
Trey Morris (tr3buchet) wrote :

I could not have put it better myself. I have yet to see a use case which can't be solved with Openstack supported hypervisor configuration. Jason had a great comment in the merge proposition that I don't think he put in his comment above: "Nova is a cloud system not a virtual datacenter"

Stephen Gordon (sgordon)
tags: added: nfv
Revision history for this message
Joe Gordon (jogo) wrote :

this isn't in progress any more and this more of a new feature then a bug per se.

Changed in nova:
status: In Progress → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.