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

on-prem-resolv-prepender.service loops indefinitely even after successful script execution on OCP 4.16

XMLWordPrintable

    • Quality / Stability / Reliability
    • True
    • Hide

      v6 stack disabled using `net.ipv6.conf.all.disable_ipv6`. Waiting for clarifications.

      Show
      v6 stack disabled using `net.ipv6.conf.all.disable_ipv6`. Waiting for clarifications.
    • None
    • Important
    • No
    • x86_64
    • Production
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          The `on-prem-resolv-prepender.service` remains in an "activating" state and keeps executing in a loop (`until` loop) even after `/usr/local/bin/resolv-prepender.sh` completes successfully (exit code 0) and the DNS is correctly set in `/etc/resolv.conf`.

      Version-Release number of selected component (if applicable):

      OpenShift Container Platform 4.16.33  
      Component: Machine Config Operator / platform-baremetal    

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install or upgrade to OCP 4.16 in a Bare Metal IPI environment where this systemd unit exists.
      2. Allow the system to boot and check the status of `on-prem-resolv-prepender.service`.
      3. Observe that the service remains in a looping "activating" state even if the script inside completes successfully.     

      Actual results:

      The service keeps running unnecessarily in a bash loop, continuing to invoke podman and DNS configuration logic.
      

      Expected results:

      The service should stop once the script completes successfully with code 0, as no further action is needed.
      

      Additional info:

          

              mkowalsk@redhat.com Mat Kowalski
              rhn-support-ravellan Ronald Avellaneda
              None
              None
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: