Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-50102

fix: proper cleanup for networks; ensure cleanup of resources

    • rhel-system-roles-1.84.1-0.1.el9
    • None
    • None
    • ZStream
    • 2
    • rhel-sst-system-roles
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • System Roles Sprint 3, System Roles Sprint 4
    • Approved Blocker
    • Bug Fix
    • Hide
      .The network units in the Quadlet unit files are now properly cleaned up

      The `podman` RHEL system role was not correctly managing the network units defined under the `[Network]` section in the Quadlet unit files. Consequently, the network units were not stopped and disabled and subsequent runs would fail due to those units not being cleaned up properly. With this update, `podman` manages the `[Network]` units, including stopping and removing. As a result, the `[Network]` units in the Quadlet unit files are properly cleaned up.
      Show
      .The network units in the Quadlet unit files are now properly cleaned up The `podman` RHEL system role was not correctly managing the network units defined under the `[Network]` section in the Quadlet unit files. Consequently, the network units were not stopped and disabled and subsequent runs would fail due to those units not being cleaned up properly. With this update, `podman` manages the `[Network]` units, including stopping and removing. As a result, the `[Network]` units in the Quadlet unit files are properly cleaned up.
    • Done
    • None

      Cause: The code was not managing network systemd quadlet units.

      Consequence: Network systemd quadlet units were not being stopped and
      disabled. Subsequent runs would fail due to the network units not
      being cleaned up properly.

      Fix: The role manages network systemd quadlet units, including stopping
      and removing.

      Result: Systemd quadlet network units are properly cleaned up.

      In addition - improve the removal of all types of quadlet resources,
      and include code which can be used to test and debug quadlet resource
      removal.

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: