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

Some systemd services cannot be stopped on agent ISO

XMLWordPrintable

    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When some systemd services in the agent ISO (e.g. start-cluster-installation.service) are stopped, the code in them continues to run due to KillMode: none being set in the systemd service. This can cause confusing logs like:

      Mar 13 09:36:18 master-0 start-cluster-installation.sh[13477]: jq: error (at <stdin>:1): Cannot index string with string "status"
      

      Steps to Reproduce:

      1. Stop assisted-service.service after cluster installation has started

      Actual results:

      Observe that the script from start-cluster-installation.service is still running:

      journalctl -f -u start-cluster-installation.service
      

      Expected results:

      Scripts in systemd units that get stopped are stopped.

              rhn-support-pamoedom Pedro Jose Amoedo Martinez
              zabitter Zane Bitter
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: