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

openshift-azure-routes triggered continously on rhel9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.13.0
    • None
    • No
    • SDN Sprint 234, SDN Sprint 235
    • 2
    • Approved
    • False
    • Hide

      None

      Show
      None

      openshift-azure-routes.path has the following [Path] section:

      [Path]
      PathExistsGlob=/run/cloud-routes/*
      PathChanged=/run/cloud-routes/
      MakeDirectory=true

       

      There was a change in systemd that re-checks the files watched with PathExistsGlob once the service finishes:

      With this commit, systemd rechecks all paths specs whenever the triggered unit deactivates. If any PathExists=, PathExistsGlob= or DirectoryNotEmpty= predicate passes, the triggered unit is reactivated

       

      This means that openshift-azure-routes will get triggered all the time as long there are files in /run/cloud-routes.

            pdiak@redhat.com Patryk Diak
            pdiak@redhat.com Patryk Diak
            Mike Fiedler Mike Fiedler
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: