Comment 1 for bug 1408529

Revision history for this message
Pasquale Porreca (pasquale-porreca) wrote : Re: nova boot vm with '--nic net-id=xxxx, v4-fixed-ip=xxx'

Not really a bug, moreover a lack of feature, but it is documented: "Networking does not currently support the v4-fixed-ip parameter of the --nic option for the nova command" ( http://docs.openstack.org/admin-guide-cloud/content/advanced_vm_creation.html ).

If you want to specify an IP address you have to use:

$ neutron port-create --fixed-ip subnet_id=SUBNET_ID,ip_address=IP_ADDRESS NET_ID
$ nova boot --image IMAGE --flavor FLAVOR --nic port-id=PORT_ID VM_NAME