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

Removal of dispatch section from templates is not removing the dispatcher scripts

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • nmstate
    • None
    • No
    • Critical
    • rhel-sst-network-management
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Apply a nmstate template with the dispatch section. Then reapply the same template without the dispatch section. Its found that the removal of the dispatch section doesn't remove the dispatcher script earlier generated.

      What is the impact of this issue to you?

      The dispatcher script in /etc/NetworkManager/dispatcher.d/nmstate-eno12409-up.sh is not removed

      Please provide the package NVR for which the bug is seen:

      nmstate 2.2.40

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. nmstatectl apply nms_dispatch.yaml
      1. nmstatectl apply nms_no_dispatch.yaml

      Expected results

      The dispatcher script in /etc/NetworkManager/dispatcher.d/nmstate-eno12409-up.sh shall be removed

      Actual results

      The dispatcher script in /etc/NetworkManager/dispatcher.d/nmstate-eno12409-up.sh is not removed

              nm-team Network Management Team
              ksundara@redhat.com Karthik Sundaravel
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: