Hostconfig task in db stuck in processing state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
New
|
Undecided
|
Unassigned | ||
odl |
New
|
Undecided
|
Unassigned |
Bug Description
Issue reproduced with Openstack networking-odl stable/pike release ( but could be applicable to later releases as weell as per description below)
Frequency - Low
It is observed that Hostconfig periodic task maybe stuck in processing state (like during a neutron server reboot scenario or one of the neutron process died ) and there is no way to unlock the task within the n-odl driver to set it back to pending for such scenarios.
This will eventually cause ODL agents to be marked as down.
mysql> select * from opendaylight_
+-----
| state | processing_
+-----
| processing | _get_and_
| pending | NULL | maintenance | 2018-12-03 08:16:18 | ====> 08:16:18
+-----
2 rows in set (0.00 sec)
Neutron Log Snippet
WARNING neutron.
ODL L2 2018-12-03 07:53:58 compute-
ODL L2 2018-12-03 07:52:32 compute-
ODL L2 2018-12-03 07:54:09 compute-
It is not certain as to what is the exact cause of the problem for state to remain in processing but there needs to be a mechanism for the task to come out
of the processing state beyond an interval and prevent the ODL L2 agent from
going down permanently
Changed in networking-odl: | |
assignee: | nobody → Achuth M (achuthm) |
Fix proposed to branch: master /review. openstack. org/633190
Review: https:/