Ask Your Question
0

vNIC ordering inside VM

asked 2012-11-01 14:38:33 -0500

neb-c gravatar image

Using Folsom with Quantum Linux Bridge. When I launch VMs using nova boot command, I expect VMs to be created with eth0-eth3 in order of --nic argument provided in the command line. For example:

nova boot --image cdf63c19-4c75-481c-a86e-018384c313be --flavor 12345 --nic net-id=c4c5183a-d6a8-4555-a328-b2bb74fd2f82 --nic net-id=19ff69df-f62b-4375-92d3-eddf5f6ce983 --nic net-id=e7182f99-e4b8-4e06-9e04-bec5dad8347c --meta "host"="sd-1-a" --meta "myfixedip"="192.168.1.3" my_multi_nic_vm

However, when VM gets launched, it appears that vNICs are ordered based on port id as visible with quantum port-list command.

Is there a way to control vNIC order inside VM?

Thanks.

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted
0

answered 2012-11-01 15:03:12 -0500

gongysh gravatar image

please have a look at https://review.openstack.org/#/c/15034/

edit flag offensive delete link more
0

answered 2012-11-01 15:11:07 -0500

neb-c gravatar image

Thanks for the reply. But your link appears to be related to logging only. I can't find anything related to vNIC ordering in there.

edit flag offensive delete link more
0

answered 2012-11-01 16:46:10 -0500

danwent gravatar image

this is a bug and is already filed with a fix under review: https://bugs.launchpad.net/nova/+bug/1064524 (https://bugs.launchpad.net/nova/+bug/...)

edit flag offensive delete link more
0

answered 2012-11-01 17:39:36 -0500

neb-c gravatar image

Thanks dan wendlandt, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-11-01 14:38:33 -0500

Seen: 203 times

Last updated: Nov 01 '12