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

[2093996] kubectl get vmi API should always return primary interface if exist

XMLWordPrintable

    • CNV-net-QE-229
    • Moderate
    • None

      Description of problem:
      Currently "kubectl get vmis" API return details of the first interface in Status.Interfaces list.
      In case primary interface exist but is not the first one in the list, the user will not receive it's details.

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

      How reproducible:
      kubectl get vmi API call

      Steps to Reproduce:
      1. add to the vm primary nic and more than one secondary nic
      2. make primary nic to be not the first in spec.domain.devices.interfaces list
      3.

      Actual results:
      get vmi call results will return the first_in_the_list interface details

      Expected results:
      get vmi call results should always return primary interface details (if exist)

      Additional info:

              phoracek@redhat.com Petr Horacek
              dteplits@redhat.com Diana Teplits (Inactive)
              Satyajit Bulage Satyajit Bulage (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: