ODL deletes QOS policy bound to a port inspiteof Neutron rejecting the policy delete since its associate to a port.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
1. Qos Policy is bound to the port
vishal@
Updated port: 9f2c5d5e-
vishal@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | ubuntu |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2016-12-
| description | |
| device_id | 0c42d9fb-
| device_owner | compute:nova |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "83b01e0a-
| id | 9f2c5d5e-
| mac_address | fa:16:3e:6f:23:f1 |
| name | |
| network_id | cedf5f96-
| port_security_
| project_id | 8769516ed27c49d
| qos_policy_id | 83068877-
| revision_number | 8 |
| security_groups | 56c31cf8-
| status | ACTIVE |
| tenant_id | 8769516ed27c49d
| updated_at | 2016-12-
+------
2. When policy delete is tried
vishal@
QoS Policy 83068877-
Neutron server returns request_ids: ['req-6629b80e-
vishal@
3. Neutron qos policy and port from database after tried deleting qos policy
vishal@
+------
| Field | Value |
+------
| created_at | 2016-12-
| description | |
| id | 83068877-
| name | bw-limiter |
| project_id | 8769516ed27c49d
| revision_number | 2 |
| rules | d71514ce-
| shared | False |
| tenant_id | 8769516ed27c49d
| updated_at | 2016-12-
+------
vishal@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | ubuntu |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2016-12-
| description | |
| device_id | 0c42d9fb-
| device_owner | compute:nova |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "83b01e0a-
| id | 9f2c5d5e-
| mac_address | fa:16:3e:6f:23:f1 |
| name | |
| network_id | cedf5f96-
| port_security_
| project_id | 8769516ed27c49d
| qos_policy_id | 83068877-
| revision_number | 8 |
| security_groups | 56c31cf8-
| status | ACTIVE |
| tenant_id | 8769516ed27c49d
| updated_at | 2016-12-
+------
vishal@
4. When a rest query done on ODL: Policy deleted from ODL but still the policy remains bound to the Port in ODL
Ideally ODL should delete the policy whenever Neutron deletes it. There should not be any inconsistencies between Openstack and ODL databases. I think there should be a bug in the ML2 driver code. If not please assign to the right module.
affects: | networking-odl → neutron |
possible fix for the bug. Tried this fix, it's working.