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

Update service label selectors to use vmi.kubevirt.io/id for KubeVirt v1.7+ compatibility

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • CNV User Interface
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • [ ] Update SSH service creation to use new label
      • [ ] Update RDP service creation to use new label
      • [ ] Implement backward compatibility for KubeVirt < v1.7
      • [ ] Services correctly connect to VMs with long names (>63 chars)
      • [ ] Services correctly connect to VMs with custom hostnames
      Show
      [ ] Update SSH service creation to use new label [ ] Update RDP service creation to use new label [ ] Implement backward compatibility for KubeVirt < v1.7 [ ] Services correctly connect to VMs with long names (>63 chars) [ ] Services correctly connect to VMs with custom hostnames
    • None
    • None

      KubeVirt v1.7 introduces a new label vmi.kubevirt.io/id to replace vm.kubevirt.io/name for service selectors. The old label causes mismatches between service selectors and pod labels due to:

      • Truncation of long VM names (>63 chars)
      • Hostname override behavior

      Impact: SSH and RDP services created by the console will fail to connect to VMs in KubeVirt v1.7+

      Reference: KubeVirt PR #15783 introducing the change

              rh-ee-gkremer Gal Kremer
              rh-ee-gkremer Gal Kremer
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: