Comment 2 for bug 1692567

Revision history for this message
Bob Fournier (bfournie) wrote :

True, this is also a Neutron issue as its not possible to create a port with a fixed_ip if the subnet is associated with a segment. The neutron port create commands only takes the subnet parameter for fixed_ip, and if a valid subnet is used the port is created, but the port does not have a fixed ip.

[stack@host01 ~]$ openstack port create --network ctlplane --fixed-ip subnet=ctlplane-subnet0,ip-address=10.8.146.8 fixed-ip-test

[stack@host01 ~]$ openstack port show fixed-ip-test
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| admin_state_up | UP |
| allowed_address_pairs | |
| binding_host_id | |
| binding_profile | |
| binding_vif_details | |
| binding_vif_type | unbound |
| binding_vnic_type | normal |
| created_at | 2017-05-22T17:58:53Z |
| description | |
| device_id | |
| device_owner | |
| dns_assignment | None |
| dns_name | None |
| extra_dhcp_opts | |
| fixed_ips | |
| id | 05adac6f-9b10-4877-a1bd-fdda52852159 |
| ip_address | None |
| mac_address | fa:16:3e:2c:8b:80 |
| name | fixed-ip-test |
| network_id | 5f93540c-b00e-42c7-b1a1-0560906d9a8d |
| option_name | None |
| option_value | None |
| port_security_enabled | False |
| project_id | 08b43a05b88c4d4089355b3aba9dd8fb |
| qos_policy_id | None |
| revision_number | 3 |
| security_groups | f862fbd3-5c64-41d4-87e6-1825d9d04568 |
| status | DOWN |
| subnet_id | None |
| updated_at | 2017-05-22T17:58:53Z |
+-----------------------+--------------------------------------+

I will open a Neutron bug. Perhaps this heat bug should stay open so it can be resolved after the support is added to Neutron?