Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32488

Unnecessary failure logs from LCA init monitor in IBI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.16.0
    • LCA operator
    • No
    • CNF Ran Sprint 253, IB-7
    • 2
    • False
    • Hide

      None

      Show
      None

      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:

          

            dpenney1@redhat.com Don Penney
            dpenney1@redhat.com Don Penney
            Yang Liu Yang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: