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

VirtualMachineExports with long names breaks VMExportController's ability to apply export service and pod

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.17.2
    • None
    • CNV Storage
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.17.1.rhel9-13
    • ---
    • ---
    • Storage Core Sprint 261
    • None

      Description of problem:

      When creating a VirtualMachineExport with a long name (e.g. greater than 63 characters) (I used a VirtualMachine as a source, but I'm not sure it matters), the VirtualMachineExport resource will not receive any status updates.This happens because the Service it will try to apply passes through VirtualMachineExport's name without length validation.

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

      Client Version: 4.15.2
      Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
      Server Version: 4.16.4
      Kubernetes Version: v1.29.6+aba1e8d
      

      How reproducible:

      100%

      Steps to Reproduce:

      1.Create a VirtualMachineExport with a name length exceeding 63 characters
      

      Actual results:

      The VirtualMachineExport does not receive status updates. The virt-controller fails to reconcile it.

      Expected results:

      The VirtualMachineExport should receive status updates and progress.

      Additional Information:

            rhn-support-awels Alexander Wels
            jogonza Jose Gonzalez
            Natalie Gavrielov Natalie Gavrielov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: