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

nm-cloud-setup.service: Failed with result 'start-limit-hit'

    • None
    • None
    • sst_network_management
    • ssg_networking
    • 3
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Hide

      Given a system administrator enabling the nm-cloud-setup.service.

      When they create and activate 10 or more dummy interfaces.

      Then the nm-cloud-setup.service should handle the multiple interface activations gracefully without any issues.

      Definition of done

      • The implementation meets the acceptance criteria
      • unit tests and integration tests are written and pass
      • The code is part of a build attached to an errata
      Show
      Given a system administrator enabling the nm-cloud-setup.service . When they create and activate 10 or more dummy interfaces. Then the nm-cloud-setup.service should handle the multiple interface activations gracefully without any issues. Definition of done The implementation meets the acceptance criteria unit tests and integration tests are written and pass The code is part of a build attached to an errata
    • None
    • None
    • None

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

      The `/usr/lib/NetworkManager/dispatcher.d/90-nm-cloud-setup.sh` will restart `nm-cloud-setup.service` on every interface's `pre-up` and `dhcp4-change` events. This will easily reach systemd rate limit on restarting a service causing error:

      systemd[1]: nm-cloud-setup.service: Failed with result 'start-limit-hit'.
      

      Please provide the package NVR for which bug is seen:

      NetworkManager-1.45.4-32628.copr.6fa4a45470.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Enable nm-cloud-setup.service
      2. Create 10+ dummy interfaces and activate them
      3. Check systemd log on nm-cloud-setup.service

      Expected results

      nm-cloud-setup.service: Succeeded

      Actual results

      nm-cloud-setup.service: Failed with result 'start-limit-hit'

            bgalvani@redhat.com Beniamino Galvani
            fge@redhat.com Gris Ge
            Network Management Team Network Management Team
            Vladimir Benes Vladimir Benes
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: