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

Gatekeeper mutation for modifying VM network CIDR from 10.0.2.0/24 to another CIDR prevents multi-nic for OpenShift virt

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Important
    • Customer Reported
    • None

      Description of problem:

      Trying to configure Cluster-wide default for masquerade subnet per the following KCS
      https://access.redhat.com/solutions/7065667
      
      This is based on https://issues.redhat.com/browse/CNV-28786
      
      When trying to add a second NIC to the VM (localnet UDN or VLAN network) the web ui reports an error back: 
      
      "An error occurred
      Error "more than one interface is connected to a pod network in spec.template.spec.interfaces" for field "spec.template.spec.interfaces"."
      
      Note: The same also happens if we try to modify using 'oc edit'

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

      CNV 4.18.13

      How reproducible:

      Follow https://access.redhat.com/solutions/7065667 for setting up gatekeeper to override the vm network cidr.  Then try to add a second nic to a VM.

       

              omisan@redhat.com Orel Misan
              shaselde@redhat.com Sean Haselden
              Yoss Segev Yoss Segev
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: