QOS V2 Driver: Policy/rule update/create resulting in removal of rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
New
|
Undecided
|
Unassigned |
Bug Description
Issue Description:
-----------------
When ODL controller is disconnected (i.e ODL shutdown) and
1) if newchanges are done for policy name or rules
2) If any new policy and rules are created then
after reconnection (i.e restart of ODL) of ODL, only policy is getting synced with ODL and policy rule is missing in ODL data store
Note: This problem occurs only when ODL is disconnected. when ODL is connected then no issue is observed with policy/rule update OR create.
2018-07-04 01:10:14.166 DEBUG networking_
"policy": {
"name": "bw-limiter6",
"tags": [],
"rules": [
{
"max_kbps": 8900,
"type": "bandwidth_limit",
"id": "4c752ea1-
}
],
"tenant_id": "72236739e58442
"created_at": "2018-07-
"updated_at": "2018-07-
"is_default": false,
"revision_
"shared": false,
"project_id": "72236739e58442
"id": "73f0ed89-
"description": ""
}
}) from (pid=28765) request /opt/stack/
2018-07-04 01:10:14.330 DEBUG networking_
({
"policy" : {
"id" : "73f0ed89-
"tenant_id" : "72236739e58442
"project_id" : "72236739e58442
"
"name" : "bw-limiter6",
"shared" : false
}
}) from (pid=28765) _check_response /opt/stack/
Steps to Reproduce:
-------
1.
openstack network qos policy create bw-limiter6
openstack network qos rule create --type bandwidth-limit --max-kbps 6600 --max-burst-kbits 600 --egress bw-limiter6
2. Verify the Policy and Rule are reflecting in ODL data store
3. Disconnect the ODL
4.openstack network qos rule set bw-limiter6 4c752ea1-
OR
openstack network qos policy set bw-limiter6 --name bw-limiter61
5. Reconnect the ODL
6. Verify the Qos policies in ODL data store and make sure changes are reflected and Policy rule present
Environment:
Devstack : Pike
ODL : Oxyagen
description: | updated |
summary: |
- QOS V2 Driver: Policy/rule update resulting in removal of rules + QOS V2 Driver: Policy/rule update/create resulting in removal of rules |