creating a VM without IP (ip_allocation='none')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
Using latest neutron [1] and python-
If I run :
$ openstack network create net1
$ openstack port create --network net1 --no-fixed-ip port_net1
I get the IP_allocation field equal to "none" in the neutron database for the created port.
So the following command should result in a VM without IP Addresses :
$ openstack server create --flavor 1 --image 78ee2490-
Instead I have the following error :
Port c1013516-
It seems that nova only accepts VMs with deferred ip_allocation [3][4], not "none".
Accepting "none" as a valid option for the ip_allocation attribute would implement [5], as [4] was expected to, regarding Matt Riedemann last comment on [5].
[1] https:/
[2] https:/
[3] http://
[4] https:/
[5] https:/
description: | updated |
summary: |
- creating a VM without IP (ip_allocation=None) + creating a VM without IP (ip_allocation='none') |
Changed in nova: | |
assignee: | Mathieu Rohon (mathieu-rohon) → do3meli (d-info-e) |
Changed in nova: | |
assignee: | do3meli (d-info-e) → nobody |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
assignee: | nobody → do3meli (d-info-e) |
status: | Opinion → In Progress |
Changed in nova: | |
assignee: | do3meli (d-info-e) → nobody |
status: | In Progress → Opinion |
As soon as the port-security as been disabled on the network, the following patch works fine on top of 21d7d4e20c89e8a 8ae174b5a42b8bc 388c3a95e6
We end up having a VM without an IP, correctly created by nova.