Port in some type of device_owner should not allow update IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
LIU Yulong |
Bug Description
Some L3 ports can now be directly modify the IP address, but there are some type of device_owner, for instance network:
Step to reproduce, update dvr router network:
$ openstack port show 85ffe5a3-
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | node3 |
| binding_profile | |
| binding_vif_details | datapath_
| binding_vif_type | ovs |
| binding_vnic_type | normal |
| created_at | 2018-09-
| data_plane_status | None |
| description | |
| device_id | 867e1473-
| device_owner | network:
| dns_assignment | None |
| dns_name | None |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| id | 85ffe5a3-
| ip_address | None |
| mac_address | fa:16:3e:1e:01:f8 |
| name | |
| network_id | f5c2435f-
| option_name | None |
| option_value | None |
| port_security_
| project_id | |
| qos_policy_id | None |
| revision_number | 266 |
| security_group_ids | |
| status | ACTIVE |
| subnet_id | None |
| tags | |
| trunk_details | None |
| updated_at | 2018-10-
+------
$ openstack port set --fixed-ip subnet=
$ openstack port unset --fixed-ip subnet=
$ openstack port show 85ffe5a3-
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | node3 |
| binding_profile | |
| binding_vif_details | datapath_
| binding_vif_type | ovs |
| binding_vnic_type | normal |
| created_at | 2018-09-
| data_plane_status | None |
| description | |
| device_id | 867e1473-
| device_owner | network:
| dns_assignment | None |
| dns_name | None |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| id | 85ffe5a3-
| ip_address | None |
| mac_address | fa:16:3e:1e:01:f8 |
| name | |
| network_id | f5c2435f-
| option_name | None |
| option_value | None |
| port_security_
| project_id | |
| qos_policy_id | None |
| revision_number | 270 |
| security_group_ids | |
| status | ACTIVE |
| subnet_id | None |
| tags | |
| trunk_details | None |
| updated_at | 2018-10-
+------
Nothing happened in L3 agent side.
Changed in neutron: | |
importance: | Medium → Wishlist |
It looks as some change in API behavior so IMO it should be discussed on drivers meeting.