Networking_odl full_sync record l2gw connection creation journal entry with wrong key name.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
In Progress
|
Critical
|
rajiv |
Bug Description
・Summary : Networking_odl full_sync record l2gw connection creation journal entry with wrong key name.
・Version: stable/ocata & master
・Issue faced :
We found that l2gw connection is not created sucessfully after full_sync executed.
By checking both neutron debug log and ODL karaf log, we found the cause is that json data send to ODL for l2gwconnection creation generated by full sync is different with json data generated by new neutron creation command.
For neutron creation command, journal entry is recorded by l2gw v2 driver after neutron DB updated.(using key name "gateway_id")
https:/
For full sync, journal entry is recorded directly by full_sync without l2gw v2 driver.(using key name "l2_gateway_id")
Below are neutron logs.
Neutron creation command:
2017-09-04 17:33:37.037 28382 DEBUG networking_
"l2gateway_
"gateway_id": "8b35c5a9-
"network_id": "78224892-
"tenant_id": "e309f6c154ef44
"
"project_id": "e309f6c154ef44
"id": "f4805b7e-
}
}) request /usr/lib/
2017-09-04 17:33:37.149 28382 DEBUG networking_
({
"l2gateway
"id" : "f4805b7e-
"tenant_id" : "e309f6c154ef44
}
}) _check_rensponse /usr/lib/
full_sync:
2017-09-04 12:09:11.735 31030 DEBUG networking_
"l2gateway_
"
"network_id": "043bd808-
"tenant_id": "e309f6c154ef44
"
"project_id": "e309f6c154ef44
"id": "e8f142ca-
}
}) request /usr/lib/
2017-09-04 12:09:12.254 31030 DEBUG networking_
({
"l2gateway
"id" : "e8f142ca-
"tenant_id" : "e309f6c154ef44
}
}) _check_rensponse /usr/lib/
Changed in networking-odl: | |
assignee: | nobody → rajiv (rajiv-kumar) |
Changed in networking-odl: | |
importance: | Undecided → Critical |
Full sync for other resources which have their own v2 drivers may have the similar issue.
sfc, qos, bgpvpn ...