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

nmcli doesn't accept space in connection.secondaries "VPN connection"

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

    • None
    • Low
    • rhel-net-mgmt
    • ssg_networking
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 0

      Description of problem:
      nmcli doesn't accept space in connection.secondaries "VPN connection"

      Version-Release number of selected component (if applicable):
      NetworkManager-1.42.2-1.el9.x86_64

      How reproducible:
      always

      Steps to Reproduce:
      1. nmcli c add con-name base_con ifname eth1 type ethernet connection.autoconnect no
      2. nmcli c add con-name 'Open VPN' type vpn ifname '*' vpn-type openvpn
      3. nmcli c modify base_con connection.secondaries "Open VPN"

      Actual results:
      Error: failed to modify connection.secondaries: 'Open' is not a name of any existing profile.

      Expected results:
      secondary profile of "Open VPN" is added and its UUID is visible in base_con's connection.secondaries

      Additional info:
      Already covered by NMCI scenario nmcli_space_in_secondaries

      Acceptance criteria:

      Given a RHEL machine with NetworkManager installed,  

      When a user runs the following commands:

      • nmcli c add con-name base_con ifname eth1 type ethernet connection.autoconnect no
      • nmcli c add con-name 'Open VPN' type vpn ifname '*' vpn-type openvpn
      • nmcli c modify base_con connection.secondaries "Open VPN"

      Then the system should respond with:

      • No errors should be displayed
      • The secondary profile of "Open VPN" should be added successfully to base_con's connection.secondaries
      • The UUID of the "Open VPN" profile should be visible in base_con's connection.secondaries And the test should pass successfully.

              nm-team Network Management Team
              djasa@redhat.com David Jaša
              Network Management Team Network Management Team
              Desktop QE Desktop QE
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: