Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-39019

warning message not accurate for hot plugging bridge NIC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • CNV v4.14.4
    • CNV v4.14.3
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • 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

            phbailey@redhat.com Phillip Rhodes
            dbewley@redhat.com Dale Bewley
            Guohua Ouyang Guohua Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: