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

nmstate Bug: Apply Fails with mac-identifier in YAML

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.4.z
    • nmstate
    • No
    • None
    • 1
    • rhel-sst-network-management
    • ssg_networking
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • NMT SST - 2025Q2
    • Hide

      Given a YAML file with mac-identifier: mac-address and a working nmstate.service,

      When the YAML configuration is applied using nmstate.service,

      Then the keyfiles should be created successfully without any errors and the configuration should be applied to the relevant network interfaces.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and pass 
      • The code is part of a downstream build attached to an errata
      Show
      Given a YAML file with mac-identifier: mac-address and a working nmstate.service, When the YAML configuration is applied using nmstate.service, Then the keyfiles should be created successfully without any errors and the configuration should be applied to the relevant network interfaces. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and pass  The code is part of a downstream build attached to an errata
    • None
    • None
    • None

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

      In Assisted, we use the nmstate.service to apply network configurations.

      However, when identifier: mac-address it fails with the error shown in the attached image.

       

      What is the impact of this issue to you?

      Due to this bug, we implemented a workaround to use the old flow instead of the one with nmstate.service.

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

      How reproducible is this bug?:

      Always

      Steps to reproduce:

        1. Create a YAML file as shown in the image above.
        2. Use nmstate.service to apply the YAML configuration.

      Expected results

      Keyfiles are created successfully.

      Actual results

      An error occurs, as shown in the screenshot above.

              rh-ee-sfaye Stanislas Faye
              rh-ee-lhadad Linoy Hadad
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: