Issue Description:
-----------------
When ODL controller is disconnected and if changes are done for policy name or rules then after
reconnection 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.
Issue Description:
-----------------
When ODL controller is disconnected and if changes are done for policy name or rules then after
reconnection 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.
2018-07-04 01:10:14.166 DEBUG networking_ odl.common. client [req-fe573334- 4a8a-409b- 80a7-9d40ef14b9 9f None None] Sending METHOD (put) URL (http:// 10.164. 224.59: 8181/controller /nb/v2/ neutron/ qos/policies/ 73f0ed89- ad73-4102- 8b74-a8e3bfde88 33) JSON ({
"direction" : "egress",
"qos_policy_ id": "73f0ed89- ad73-4102- 8b74-a8e3bfde88 33", 8382-4b4f- b435-f2bc91bcbd d1",
"max_burst_ kbps": 600 78b82ae4ad118e2 e07", 03T19:26: 37Z", 03T19:28: 12Z", number" : 2, 78b82ae4ad118e2 e07", ad73-4102- 8b74-a8e3bfde88 33", networking- odl/networking_ odl/common/ client. py:89 odl.common. client [req-fe573334- 4a8a-409b- 80a7-9d40ef14b9 9f None None] Got response: ad73-4102- 8b74-a8e3bfde88 33", 78b82ae4ad118e2 e07", 78b82ae4ad118e2 e07", revision_ number" : 2, networking- odl/networking_ odl/common/ client. py:143
"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- 8382-4b4f- b435-f2bc91bcbd d1 --max-kbps 8900
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