Ask Your Question
0

New VMs are automatically associated with all available networks

asked 2013-01-29 20:19:32 -0500

martin-loschwitz gravatar image

Folks,

I am seeing a strange problem here. Whenever I boot up a virtual machine from the command line via "nova boot", it immediately appears to be associated with all available networks:

+--------------------------------------+------------------+--------+-----------------------------------------+ | ID | Name | Status | Networks | +--------------------------------------+------------------+--------+-----------------------------------------+ | 6207a2a1-ca04-494d-bdbb-b4e58e4f0155 | fluxcapacitor | ACTIVE | admin-net=10.5.5.3; ext_net=10.20.7.132 | | 5b920849-c24f-4eb0-98b1-ed31b33be5b8 | superfrobnicator | ACTIVE | admin-net=10.5.5.4 | +--------------------------------------+------------------+--------+-----------------------------------------+

If I boot a VM from the dashboard I can select which nets I want it to associated with (and it works). In the above paste example, the first VM was booted via the command line and the second was booted via the dashboard with the appropriate networks selected.

ext_net is the network where my floating IPs would be coming from; please note that the newly started VMs are not assigned proper floating IPs. I looks like quantum creates a port for the VM but does not associate a floating Ip with it.

Please help!

Best regards Martin

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-02-09 18:40:20 -0500

martin-loschwitz gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2013-02-01 02:04:35 -0500

gongysh gravatar image

helo, to select a network from command line: nova boot --image xx --flavor yy --nic net-id=zzzz myserver1 by default, the system will allocate net cards for each available networks. 2. In nova, we have auto_assign_floating_ip=false|true, quantum has no such option item as of now. to assign floating ip, u have to do it manually.

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: 2013-01-29 20:19:32 -0500

Seen: 10 times

Last updated: Feb 09 '13