-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
rhel-9.2.0
-
None
-
Low
-
rhel-net-mgmt
-
ssg_networking
-
2
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
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.