← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2025410] [NEW] After `openstack port set no-fixed-ip` command, the port's ip and mac's arp are still in qrouter without deletion

 

Public bug reported:

neutron branch: stable/victoria

Steps to reproduce the problem:

```

# openstack port show ba20b562-7320-4fb4-99f1-eae617720bf1
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                             |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                                |
| allowed_address_pairs   |                                                                                                                                                   |
| binding_host_id         | hci-002                                                                                                                                           |
| binding_profile         |                                                                                                                                                   |
| binding_vif_details     | bridge_name='br-int', connectivity='l2', datapath_type='system', ovs_hybrid_plug='False', port_filter='True'                                      |
| binding_vif_type        | ovs                                                                                                                                               |
| binding_vnic_type       | normal                                                                                                                                            |                                                                                                        |
| device_owner            | compute:az-box-1                                                                                                                                                                                                                                                                             |
| extra_dhcp_opts         |                                                                                                                                                   |
| fixed_ips               | ip_address='192.168.1.43', subnet_id='f5acaafe-554e-47d4-9107-6566b5d50bb3'                                                                       |
| id                      | ba20b562-7320-4fb4-99f1-eae617720bf1                                                                                                              |
| ip_allocation           | None                                                                                                                                              |
| mac_address             | fa:16:3e:4c:fd:ce                                                                                                                                 |
...

openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.143

openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.243

[root@hci-002 ~]# ip netns exec qrouter-ffd819cb-349e-4b31-845a-7b7d97461f32 arp -n |grep fa:16:3e:4c:fd:ce
192.168.1.43             ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
192.168.1.143            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
192.168.1.243            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
```

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- When I pass the `openstack port set no-fixed-ip` command, the port's ip and mac's arp are still in qrouter without deletion
+ After `openstack port set no-fixed-ip` command, the port's ip and mac's arp are still in qrouter without deletion

** Description changed:

- When I pass the `openstack port set no-fixed-ip` command, the port's ip
- and mac's arp are still in qrouter without deletion
- 
  neutron branch: stable/victoria
- 
  
  Steps to reproduce the problem:
  
  ```
  
- # openstack port show ba20b562-7320-4fb4-99f1-eae617720bf1 
+ # openstack port show ba20b562-7320-4fb4-99f1-eae617720bf1
  +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                   | Value                                                                                                                                             |
  +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up          | UP                                                                                                                                                |
  | allowed_address_pairs   |                                                                                                                                                   |
  | binding_host_id         | hci-002                                                                                                                                           |
  | binding_profile         |                                                                                                                                                   |
  | binding_vif_details     | bridge_name='br-int', connectivity='l2', datapath_type='system', ovs_hybrid_plug='False', port_filter='True'                                      |
  | binding_vif_type        | ovs                                                                                                                                               |
  | binding_vnic_type       | normal                                                                                                                                            |                                                                                                        |
  | device_owner            | compute:az-box-1                                                                                                                                                                                                                                                                             |
  | extra_dhcp_opts         |                                                                                                                                                   |
  | fixed_ips               | ip_address='192.168.1.43', subnet_id='f5acaafe-554e-47d4-9107-6566b5d50bb3'                                                                       |
  | id                      | ba20b562-7320-4fb4-99f1-eae617720bf1                                                                                                              |
  | ip_allocation           | None                                                                                                                                              |
  | mac_address             | fa:16:3e:4c:fd:ce                                                                                                                                 |
  ...
  
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.143
  
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.243
  
- 
  [root@hci-002 ~]# ip netns exec qrouter-ffd819cb-349e-4b31-845a-7b7d97461f32 arp -n |grep fa:16:3e:4c:fd:ce
  192.168.1.43             ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  192.168.1.143            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  192.168.1.243            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  ```

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

Title:
  After `openstack port set no-fixed-ip` command, the port's ip and
  mac's arp are still in qrouter without deletion

Status in neutron:
  New

Bug description:
  neutron branch: stable/victoria

  Steps to reproduce the problem:

  ```

  # openstack port show ba20b562-7320-4fb4-99f1-eae617720bf1
  +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                   | Value                                                                                                                                             |
  +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up          | UP                                                                                                                                                |
  | allowed_address_pairs   |                                                                                                                                                   |
  | binding_host_id         | hci-002                                                                                                                                           |
  | binding_profile         |                                                                                                                                                   |
  | binding_vif_details     | bridge_name='br-int', connectivity='l2', datapath_type='system', ovs_hybrid_plug='False', port_filter='True'                                      |
  | binding_vif_type        | ovs                                                                                                                                               |
  | binding_vnic_type       | normal                                                                                                                                            |                                                                                                        |
  | device_owner            | compute:az-box-1                                                                                                                                                                                                                                                                             |
  | extra_dhcp_opts         |                                                                                                                                                   |
  | fixed_ips               | ip_address='192.168.1.43', subnet_id='f5acaafe-554e-47d4-9107-6566b5d50bb3'                                                                       |
  | id                      | ba20b562-7320-4fb4-99f1-eae617720bf1                                                                                                              |
  | ip_allocation           | None                                                                                                                                              |
  | mac_address             | fa:16:3e:4c:fd:ce                                                                                                                                 |
  ...

  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.143

  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --no-fixed-ip
  openstack port set  ba20b562-7320-4fb4-99f1-eae617720bf1 --fixed-ip  ip-address=192.168.1.243

  [root@hci-002 ~]# ip netns exec qrouter-ffd819cb-349e-4b31-845a-7b7d97461f32 arp -n |grep fa:16:3e:4c:fd:ce
  192.168.1.43             ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  192.168.1.143            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  192.168.1.243            ether   fa:16:3e:4c:fd:ce   CM                    qr-8ce629a5-03
  ```

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



Follow ups