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

Some systemd services cannot be stopped on agent ISO

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      * Before this update, some systemd services in the Agent-based Installer continued to run after being stopped, which caused confusing log messages during cluster installation. With this update, these services are correctly stopped. (link:https://issues.redhat.com/browse/OCPBUGS-53107[OCPBUGS-53107])
      Show
      * Before this update, some systemd services in the Agent-based Installer continued to run after being stopped, which caused confusing log messages during cluster installation. With this update, these services are correctly stopped. (link: https://issues.redhat.com/browse/OCPBUGS-53107 [ OCPBUGS-53107 ])
    • None
    • None
    • None
    • 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.

              zabitter Zane Bitter
              zabitter Zane Bitter
              None
              None
              zhenying niu zhenying niu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: