-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.16.0
-
No
-
CNF Ran Sprint 253, IB-7
-
2
-
False
-
-
Description of problem:
The LCA init monitor watchdog is built into the seed image, and therefore the service-unit runs in both IBI and IBU, but aborts immediately in an IBI based on the absence of the auto-rollback config file. This produces unnecessary error logs in an IBI.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: Error: failed to run init monitor: failed to read rollback config file: unable to find auto-rollback config file (/var/lib/lca/autorollback_config.json): stat /var/lib/lca/autorollback_config.json: no such file or directory Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: Usage: Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: lca-cli init-monitor [flags] Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: Flags: Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: --exec-stop-post string Run ExecStopPost, with specified component tag Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: -h, --help help for init-monitor Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: --monitor Run LCA init monitor Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: Global Flags: Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: -c, --no-color Control colored output Apr 19 13:10:10 52-54-00-a3-b0-5e lca-cli[1514]: -v, --verbose Display verbose logs
Expected results:
The LCA init monitor watchdog should exit silently and with success exit code when the auto-rollback file is absent
Additional info:
- links to
-
RHEA-2024:128907 OpenShift Container Platform 4.16.0 IBU extras update
- mentioned on