Fix the logic error for hostwd
Bug #1824983 reported by
Tao Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
wanghao |
Bug Description
Brief Description
-----------------
In each period, the pmon_grace_loops is reduced two. In fact, minus one is enough.
Severity
--------
major
Steps to Reproduce
------------------
Expected Behavior
------------------
Actual Behavior
----------------
Reproducibility
---------------
System Configuration
-------
STD system
Branch/Pull Time/Commit
-------
2019-10-04_16
To post a comment you must log in.
You did not fill in the template.
What is the impact to you ?
Even though it decrements the number by 2 the start value is 5.
I recall the design being more than 2 back to back misses is a failure resulting in watchdog timeout reboot.
If there is a code change for this issue then be sure to maintain the current behavior in terms of misses before self reboot.
Guessing that would be removing one of the "ctrl-> pmon_grace_ loops-- " and reducing the config value of "config- >hostwd_ failure_ threshold" to 3.
Severity is minor.
I'll take the issue.