taas can create tap-service on a port down but new rules not added even the port is up later

Bug #1802705 reported by qyq
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tap-as-a-service
Confirmed
High
Unassigned

Bug Description

First,My openstack version is Queens.
We can reproduce the result as follows:

1.create a tap-service on a neutron port down, we can get the success result on the console

# neutron tap-service-create --name dst1 --port 7db38629-39b7-46f7-935c-46e74cdb2dbf
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Created a new tap_service:
+-------------+--------------------------------------+
| Field | Value |
+-------------+--------------------------------------+
| description | |
| id | c1cf4617-cb26-44d0-9a74-d0c2f55aef41 |
| name | dst1 |
| port_id | 7db38629-39b7-46f7-935c-46e74cdb2dbf |
| project_id | 94b35ccc09164772a833e433b81c3e25 |
| status | ACTIVE |
| tenant_id | 94b35ccc09164772a833e433b81c3e25 |
+-------------+--------------------------------------+

notice: port 7db38629-39b7-46f7-935c-46e74cdb2dbf is down ,we can check its status using the following command;

#openstack port list | grep 7db38629-39b7-46f7-935c-46e74cdb2dbf
| 7db38629-39b7-46f7-935c-46e74cdb2dbf | s8 | fa:16:3e:37:5e:10 | ip_address='192.168.101.4', subnet_id='2b22fb1e-32fc-4782-ac64-f3d93f46f4cf' | DOWN |

2.bind the port 7db38629-39b7-46f7-935c-46e74cdb2dbf to a VM and start the VM,now check the status,the port is up:

#openstack port list | grep 7db38629-39b7-46f7-935c-46e74cdb2dbf
| 7db38629-39b7-46f7-935c-46e74cdb2dbf | s8 | fa:16:3e:37:5e:10 | ip_address='192.168.101.4', subnet_id='2b22fb1e-32fc-4782-ac64-f3d93f46f4cf' | ACTIVE |

3.After a while, Let's check the br-tap openflow rules,I do not see the rules configured by tap-service-create on br-tap, eg:
table=1,priority=1,dl_vlan=3900,actions=output:in_port
table=2,priority=1,dl_vlan=3900,output:patch_tap_int

qyq (qianyuqiao)
summary: - taas can create tap-flow-service on a port down but flows not added
+ taas can create tap-service on a port down but flows not added
summary: - taas can create tap-service on a port down but flows not added
+ taas can create tap-service on a port down but new rules not added
summary: - taas can create tap-service on a port down but new rules not added
+ taas can create tap-service on a port down but new rules not added even
+ the port is up later
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

"taas can create tap-service on a port down" is an expected behavior.
"new rules not added even the port is up later" is a bug.

Changed in tap-as-a-service:
importance: Undecided → High
status: New → Confirmed
tags: added: ovs
Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tap-as-a-service (master)

Change abandoned by "Slawek Kaplonski <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tap-as-a-service/+/658092
Reason: This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.