Hi,

 

On my setup , I have a tenant with 2 networks. I tried to create a vm in
this tenant having both the networks, with the following command

 

nova boot --flavor 1 --image 23ad72aa-bbb0-4add-a4ec-e1aab9434cc7 --nic
net-id=7b11e8dc-20c9-4d5f-a914-3df1558178c8 --nic
net-id=b9d9aee7-39fc-4138-ade4-7e028494347e vm9

 

 The nova list output shows that the vm has an ip assigned from both the
networks, but only an ip from one network is assigned on eth0 in the vm.
I have to manually log in and bring up the eth1 interface and assign the
other ip from the other network to it.

 

Why is this so? Is it a known issue?

 

Also if I have to bring up a vm in all the networks of a particular
tenant, do I need to provide the -nic option for all the networks within
it or is there a better way to do so. I tried this for the tenant
admin(I had my setup using devstack with ovs)

 

TENANT=admin

USERNAME=admin

. openrc

 

nova boot --flavor 1 --image 23ad72aa-bbb0-4add-a4ec-e1aab9434cc7 vm1

 

But it just brought up a vm in the default network.

 

Please let me know.

 

Thanks

Shweta

 

Shweta Padubidri

 

-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to