openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #22991
(no subject)
hi community
i create a port which contains two subnet
and quantum returns the following json.
{
"port": {
"status": "DOWN",
"name": "",
"admin_state_up": true,
"network_id": "f9d3bd8e-377b-4f21-bfc6-64ae4257e44d",
"tenant_id": "82da519b676d400ab24e9ee38d138c3c",
"binding:vif_type": "ovs",
"device_owner": "",
"binding:capabilities": {
"port_filter": false
},
"mac_address": "fa:16:3e:e8:0c:75",
"fixed_ips": [
{
"subnet_id": "3a6c08b6-cb0e-4949-9e3f-dae76fc98741",
"ip_address": "20.20.1.1"
},
{
"subnet_id": "dfe2a150-5a87-4256-80c7-fd88b9dae113",
"ip_address": "20.20.2.20"
}
],
"id": "843cb8da-ccac-4550-b777-fa1455ee02fe",
"device_id": ""
}
}
when i try to boot a vm with this port (command showed below)
nova boot --nic port-id=f9d3bd8e-377b-4f21-bfc6-64ae4257e44d --key-name hi
--flavor 1 --block_device_mapping
vda=21f4dfc5-9752-4f5e-8133-0540a1dc3eb5:::0 vm7
the vm's network doesn't work , dhcp doesn't work and only one nic showed .
( if only one subnet specified, dhcp and other plugins works fine)
any one can help?
Daniels Cai
http://dnscai.com