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

VM cannot be started after adding 2nd nic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • CNV v4.14.0
    • CNV v4.14.0
    • CNV User Interface
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • High
    • No

      Description of problem:

      VM cannot be started after adding 2nd nic, it seems it has some issues in VM spec while creating it from UI, the VM could be started after made changes like below.
      1.           interfaces:
                  - macAddress: '02:bc:ea:00:00:0c'
                    masquerade: {}
                    model: virtio
                    name: default
                  - macAddress: '02:bc:ea:00:00:0d'
                    model: virtio
                    name: nic-pure-termite
      Change it like below:
                interfaces:
                  - macAddress: '02:bc:ea:00:00:0c'
                    masquerade: {}
                    model: virtio
                    name: default
                  - macAddress: '02:bc:ea:00:00:0d'
                    model: virtio
                    name: nic-pure-termite
                    bridge: {}
      2.       networks:
              - name: default
                pod: {}
              - multus:
                  networkName: test-ns/bridge-network
                name: nic-pure-termite
      need to change it to:
            networks:
              - name: default
                pod: {}
              - multus:
                  networkName: bridge-network
                name: nic-pure-termite

       

      Version-Release number of selected component (if applicable):

      4.14.0

      How reproducible:

      100%

      Steps to Reproduce:

      1. configure nncp with dhcp 
      2. create nad with bridge 
      3. create vm with the nad
      

      Actual results:

      VM is not started

      Expected results:

      VM is started 

      Additional info:

       

        1. bridge.png
          170 kB
          Guohua Ouyang
        2. networkattachmentdefinition-bridge-network (2).yaml
          1 kB
          Guohua Ouyang
        3. networkname.png
          183 kB
          Guohua Ouyang
        4. nodenetworkconfigurationpolicy-policy-name1 (2).yaml
          2 kB
          Guohua Ouyang

              mschatzm@redhat.com Matan Schatzman
              gouyang1@redhat.com Guohua Ouyang
              Ying Cui Ying Cui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: