-
Bug
-
Resolution: Done
-
Undefined
-
CNV v4.14.3
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
-
Low
-
No
Description of problem:
Hot plugging of bridged interface requires only a live migration, but the console warning message indicates that a restart is necessary. "The following areas have pending changes that will be applied when this VirtualMachine is restarted."
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Create net-attach-def of type cnv-bridge
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
annotations:
description: Testing
k8s.v1.cni.cncf.io/resourceName: bridge.network.kubevirt.io/br-vmdata
name: test-br
namespace: default
spec:
config: |-
\{
"name": "test-br",
"type": "cnv-bridge",
"cniVersion": "0.3.1",
"bridge": "br-vmdata",
"vlan": 1926,
"macspoofchk": true,
"ipam": {},
"preserveDefaultVlan": false
\}
2. Add bridge interface to running VM
virtctl addinterface rhel-node-1 \
--network-attachment-definition-name default/test-br \
--name nettest
3. View VM details in console
4. Live migrate VM to any node without a restart and message disappears
Actual results:
Message: The following areas have pending changes that will be applied when this VirtualMachine is restarted.
Expected results:
Message: The following areas have pending changes that will be applied when this VirtualMachine is migrated.
Additional info:
NIC hot plugging is TP