-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.5
-
nmstate-2.2.35-1.el9
-
None
-
None
-
1
-
rhel-sst-network-management
-
ssg_networking
-
5
-
False
-
-
None
-
NMT - RHEL-9.5 DTM 22
-
-
Pass
-
Automated
-
None
What were you trying to do that didn't work?
Changing the id of an existing vlan, got error "missing field `base-iface`", but the id actually changed.
Please provide the package NVR for which bug is seen:
nmstate-2.2.30-1.el9.x86_64
nispor-1.2.14-1.el9.x86_64
NetworkManager-1.47.91-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
echo " interfaces: - name: vlan_on_veth2 type: vlan state: up vlan: base-iface: veth2 id: 3 - name: veth2 type: veth state: up veth: peer: veth2_p " | nmstatectl apply nmstatectl show vlan_on_veth2 | sed 's/id: 3/id: 5/g' | nmstatectl apply
Expected results
No error, id changed
Actual results
id changed but with error:
[2024-05-25T11:02:39Z INFO nmstatectl] Nmstate version: 2.2.30
Using 'set' is deprecated, use 'apply' instead.
[2024-05-25T11:02:39Z INFO nmstatectl] Nmstate version: 2.2.30
[2024-05-25T11:02:40Z INFO nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/27
[2024-05-25T11:02:40Z INFO nmstate::nm::query_apply::profile] Deactivating connection b676faae-e7aa-4789-85ea-bfa837d1157a: vlan_on_veth2/vlan
[2024-05-25T11:02:40Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("b676faae-e7aa-4789-85ea-bfa837d1157a"), ID Some("vlan_on_veth2"), type Some("vlan") name Some("vlan_on_veth2")
[2024-05-25T11:02:40Z INFO nmstate::nm::query_apply::profile] Reapplying connection b676faae-e7aa-4789-85ea-bfa837d1157a: vlan_on_veth2/vlan
[2024-05-25T11:02:40Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): Failed to find a compatible device for this connection
[2024-05-25T11:02:40Z INFO nmstate::nm::query_apply::profile] Will retry activation 2 seconds
[2024-05-25T11:02:42Z INFO nmstate::nm::query_apply::profile] Reapplying connection b676faae-e7aa-4789-85ea-bfa837d1157a: vlan_on_veth2/vlan
[2024-05-25T11:02:42Z INFO nmstate::query_apply::net_state] Destroyed checkpoint /org/freedesktop/NetworkManager/Checkpoint/27
NmstateError: InvalidArgument: Invalid propriety: missing field `base-iface`
- links to
-
RHBA-2024:129019 nmstate bug fix and enhancement update