← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1857047] [NEW] openstack port set --no-fixed-ips removed only 1 fixed IP

 

Public bug reported:

In the devstack environment (master branch), stack.sh created the
private network.  It has two subnets it (an IPv4 and an IPv6).

 A port is created using the "private" network.

Then the port is updated using the "openstack port set --no-fixed-ip"
command.  The IPv4 IP address is removed but not the IPv6 address.


stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                                           |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                                              |
| allowed_address_pairs   |                                                                                                                                                                 |
| binding_host_id         | None                                                                                                                                                            |
| binding_profile         | None                                                                                                                                                            |
| binding_vif_details     | None                                                                                                                                                            |
| binding_vif_type        | None                                                                                                                                                            |
| binding_vnic_type       | normal                                                                                                                                                          |
| created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
| data_plane_status       | None                                                                                                                                                            |
| description             |                                                                                                                                                                 |
| device_id               |                                                                                                                                                                 |
| device_owner            |                                                                                                                                                                 |
| dns_assignment          | None                                                                                                                                                            |
| dns_domain              | None                                                                                                                                                            |
| dns_name                | None                                                                                                                                                            |
| extra_dhcp_opts         |                                                                                                                                                                 |
| fixed_ips               | ip_address='10.0.0.62', subnet_id='9283e75b-f414-4a55-af38-bb884330c322'                                                                                        |
|                         | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
| id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
| location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
| mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
| name                    | test-private-port                                                                                                                                               |
| network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
| port_security_enabled   | True                                                                                                                                                            |
| project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
| propagate_uplink_status | None                                                                                                                                                            |
| qos_policy_id           | None                                                                                                                                                            |
| resource_request        | None                                                                                                                                                            |
| revision_number         | 1                                                                                                                                                               |
| security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
| status                  | DOWN                                                                                                                                                            |
| tags                    |                                                                                                                                                                 |
| trunk_details           | None                                                                                                                                                            |
| updated_at              | 2019-12-19T19:11:40Z                                                                                                                                            |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                                           |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                                              |
| allowed_address_pairs   |                                                                                                                                                                 |
| binding_host_id         | None                                                                                                                                                            |
| binding_profile         | None                                                                                                                                                            |
| binding_vif_details     | None                                                                                                                                                            |
| binding_vif_type        | None                                                                                                                                                            |
| binding_vnic_type       | normal                                                                                                                                                          |
| created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
| data_plane_status       | None                                                                                                                                                            |
| description             |                                                                                                                                                                 |
| device_id               |                                                                                                                                                                 |
| device_owner            |                                                                                                                                                                 |
| dns_assignment          | None                                                                                                                                                            |
| dns_domain              | None                                                                                                                                                            |
| dns_name                | None                                                                                                                                                            |
| extra_dhcp_opts         |                                                                                                                                                                 |
| fixed_ips               | ip_address='10.0.0.62', subnet_id='9283e75b-f414-4a55-af38-bb884330c322'                                                                                        |
|                         | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
| id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
| location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
| mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
| name                    | test-private-port                                                                                                                                               |
| network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
| port_security_enabled   | True                                                                                                                                                            |
| project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
| propagate_uplink_status | None                                                                                                                                                            |
| qos_policy_id           | None                                                                                                                                                            |
| resource_request        | None                                                                                                                                                            |
| revision_number         | 1                                                                                                                                                               |
| security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
| status                  | DOWN                                                                                                                                                            |
| tags                    |                                                                                                                                                                 |
| trunk_details           | None                                                                                                                                                            |
| updated_at              | 2019-12-19T19:11:40Z                                                                                                                                            |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
stack@dvstku1804:/etc/neutron$ 
stack@dvstku1804:/etc/neutron$ openstack port set --no-fixed-ip   test-private-port
stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                                           |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                                              |
| allowed_address_pairs   |                                                                                                                                                                 |
| binding_host_id         | None                                                                                                                                                            |
| binding_profile         | None                                                                                                                                                            |
| binding_vif_details     | None                                                                                                                                                            |
| binding_vif_type        | None                                                                                                                                                            |
| binding_vnic_type       | normal                                                                                                                                                          |
| created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
| data_plane_status       | None                                                                                                                                                            |
| description             |                                                                                                                                                                 |
| device_id               |                                                                                                                                                                 |
| device_owner            |                                                                                                                                                                 |
| dns_assignment          | None                                                                                                                                                            |
| dns_domain              | None                                                                                                                                                            |
| dns_name                | None                                                                                                                                                            |
| extra_dhcp_opts         |                                                                                                                                                                 |
| fixed_ips               | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
| id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
| location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
| mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
| name                    | test-private-port                                                                                                                                               |
| network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
| port_security_enabled   | True                                                                                                                                                            |
| project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
| propagate_uplink_status | None                                                                                                                                                            |
| qos_policy_id           | None                                                                                                                                                            |
| resource_request        | None                                                                                                                                                            |
| revision_number         | 2                                                                                                                                                               |
| security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
| status                  | DOWN                                                                                                                                                            |
| tags                    |                                                                                                                                                                 |
| trunk_details           | None                                                                                                                                                            |
| updated_at              | 2019-12-19T19:14:00Z                                                                                                                                            |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1857047

Title:
  openstack port set --no-fixed-ips removed only 1 fixed IP

Status in neutron:
  New

Bug description:
  In the devstack environment (master branch), stack.sh created the
  private network.  It has two subnets it (an IPv4 and an IPv6).

   A port is created using the "private" network.

  Then the port is updated using the "openstack port set --no-fixed-ip"
  command.  The IPv4 IP address is removed but not the IPv6 address.


  stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                   | Value                                                                                                                                                           |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up          | UP                                                                                                                                                              |
  | allowed_address_pairs   |                                                                                                                                                                 |
  | binding_host_id         | None                                                                                                                                                            |
  | binding_profile         | None                                                                                                                                                            |
  | binding_vif_details     | None                                                                                                                                                            |
  | binding_vif_type        | None                                                                                                                                                            |
  | binding_vnic_type       | normal                                                                                                                                                          |
  | created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
  | data_plane_status       | None                                                                                                                                                            |
  | description             |                                                                                                                                                                 |
  | device_id               |                                                                                                                                                                 |
  | device_owner            |                                                                                                                                                                 |
  | dns_assignment          | None                                                                                                                                                            |
  | dns_domain              | None                                                                                                                                                            |
  | dns_name                | None                                                                                                                                                            |
  | extra_dhcp_opts         |                                                                                                                                                                 |
  | fixed_ips               | ip_address='10.0.0.62', subnet_id='9283e75b-f414-4a55-af38-bb884330c322'                                                                                        |
  |                         | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
  | id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
  | location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
  | mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
  | name                    | test-private-port                                                                                                                                               |
  | network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
  | port_security_enabled   | True                                                                                                                                                            |
  | project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
  | propagate_uplink_status | None                                                                                                                                                            |
  | qos_policy_id           | None                                                                                                                                                            |
  | resource_request        | None                                                                                                                                                            |
  | revision_number         | 1                                                                                                                                                               |
  | security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
  | status                  | DOWN                                                                                                                                                            |
  | tags                    |                                                                                                                                                                 |
  | trunk_details           | None                                                                                                                                                            |
  | updated_at              | 2019-12-19T19:11:40Z                                                                                                                                            |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                   | Value                                                                                                                                                           |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up          | UP                                                                                                                                                              |
  | allowed_address_pairs   |                                                                                                                                                                 |
  | binding_host_id         | None                                                                                                                                                            |
  | binding_profile         | None                                                                                                                                                            |
  | binding_vif_details     | None                                                                                                                                                            |
  | binding_vif_type        | None                                                                                                                                                            |
  | binding_vnic_type       | normal                                                                                                                                                          |
  | created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
  | data_plane_status       | None                                                                                                                                                            |
  | description             |                                                                                                                                                                 |
  | device_id               |                                                                                                                                                                 |
  | device_owner            |                                                                                                                                                                 |
  | dns_assignment          | None                                                                                                                                                            |
  | dns_domain              | None                                                                                                                                                            |
  | dns_name                | None                                                                                                                                                            |
  | extra_dhcp_opts         |                                                                                                                                                                 |
  | fixed_ips               | ip_address='10.0.0.62', subnet_id='9283e75b-f414-4a55-af38-bb884330c322'                                                                                        |
  |                         | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
  | id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
  | location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
  | mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
  | name                    | test-private-port                                                                                                                                               |
  | network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
  | port_security_enabled   | True                                                                                                                                                            |
  | project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
  | propagate_uplink_status | None                                                                                                                                                            |
  | qos_policy_id           | None                                                                                                                                                            |
  | resource_request        | None                                                                                                                                                            |
  | revision_number         | 1                                                                                                                                                               |
  | security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
  | status                  | DOWN                                                                                                                                                            |
  | tags                    |                                                                                                                                                                 |
  | trunk_details           | None                                                                                                                                                            |
  | updated_at              | 2019-12-19T19:11:40Z                                                                                                                                            |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  stack@dvstku1804:/etc/neutron$ 
  stack@dvstku1804:/etc/neutron$ openstack port set --no-fixed-ip   test-private-port
  stack@dvstku1804:/etc/neutron$ openstack port show test-private-port
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                   | Value                                                                                                                                                           |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up          | UP                                                                                                                                                              |
  | allowed_address_pairs   |                                                                                                                                                                 |
  | binding_host_id         | None                                                                                                                                                            |
  | binding_profile         | None                                                                                                                                                            |
  | binding_vif_details     | None                                                                                                                                                            |
  | binding_vif_type        | None                                                                                                                                                            |
  | binding_vnic_type       | normal                                                                                                                                                          |
  | created_at              | 2019-12-19T19:11:39Z                                                                                                                                            |
  | data_plane_status       | None                                                                                                                                                            |
  | description             |                                                                                                                                                                 |
  | device_id               |                                                                                                                                                                 |
  | device_owner            |                                                                                                                                                                 |
  | dns_assignment          | None                                                                                                                                                            |
  | dns_domain              | None                                                                                                                                                            |
  | dns_name                | None                                                                                                                                                            |
  | extra_dhcp_opts         |                                                                                                                                                                 |
  | fixed_ips               | ip_address='fd2f:1450:5e39:0:f816:3eff:fe0c:5d1e', subnet_id='79c9c3f8-b93b-487e-a287-7f583b7ee992'                                                             |
  | id                      | 7d366c7b-8557-4ce4-ae9b-336aa00403b3                                                                                                                            |
  | location                | cloud='', project.domain_id='default', project.domain_name=, project.id='e38b18b8ad344dcd96cf563aaeb81193', project.name='demo', region_name='RegionOne', zone= |
  | mac_address             | fa:16:3e:0c:5d:1e                                                                                                                                               |
  | name                    | test-private-port                                                                                                                                               |
  | network_id              | 6e02e7ad-b530-43c4-bbe8-da5751ab0f8f                                                                                                                            |
  | port_security_enabled   | True                                                                                                                                                            |
  | project_id              | e38b18b8ad344dcd96cf563aaeb81193                                                                                                                                |
  | propagate_uplink_status | None                                                                                                                                                            |
  | qos_policy_id           | None                                                                                                                                                            |
  | resource_request        | None                                                                                                                                                            |
  | revision_number         | 2                                                                                                                                                               |
  | security_group_ids      | 900feb50-83d3-408c-9fa1-1e38ddbe9bb7                                                                                                                            |
  | status                  | DOWN                                                                                                                                                            |
  | tags                    |                                                                                                                                                                 |
  | trunk_details           | None                                                                                                                                                            |
  | updated_at              | 2019-12-19T19:14:00Z                                                                                                                                            |
  +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1857047/+subscriptions


Follow ups