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

Configuring an unmanaged controller on an interface fails

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.6, rhel-9.6.z
    • nmstate
    • None
    • No
    • None
    • rhel-net-mgmt
    • ssg_networking
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given a system administrator applies a policy that sets interface enp3s0 controller extranet when extranet is present but unmanaged,

      When Nmstate processes the policy,

      Then Nmstate marks extranet managed and attaches enp3s0 successfully without error.


      ( ) Code changes are included in a downstream build attached to an errata.


      ( ) All required testing (manual and/or automated) passes successfully.


      ( ) Related documentation updates (if applicable) have been completed.


      ( ) All necessary backports to the related RHEL streams (linked as 'relates' in this issue) have been completed and verified.

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given a system administrator applies a policy that sets interface enp3s0 controller extranet when extranet is present but unmanaged, When Nmstate processes the policy, Then Nmstate marks extranet managed and attaches enp3s0 successfully without error. ( ) Code changes are included in a downstream build attached to an errata. ( ) All required testing (manual and/or automated) passes successfully. ( ) Related documentation updates (if applicable) have been completed. ( ) All necessary backports to the related RHEL streams (linked as 'relates' in this issue) have been completed and verified.
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When applying this knmstate policy to attach a port to a VRF

        desiredState:
          interfaces:
          - controller: extranet
            name: enp3s0
            state: up
      

      if extranet VRF is unmanaged

      [jcaamano@sdn-08 origin]$ ssh core@192.168.111.20 nmcli d | grep -E "^extranet"
      extranet                                                                       vrf            unmanaged               -- 
      

      the policy fails to apply

      NmstateError: InvalidArgument: Interface enp3s0 desired controller extranet not found
      

      It is expected for nmstate to set the VRF device to managed and not fail.

      Attached policy, state and enactment.

        1. enactment.txt
          858 kB
        2. policy.txt
          1 kB
        3. state.txt
          23 kB

              nm-team Network Management Team
              jcaamano@redhat.com Jaime Caamaño Ruiz
              Jaime Caamaño Ruiz
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: