-
Bug
-
Resolution: Done-Errata
-
Normal
-
2.8.0
-
Incidents & Support
-
False
-
-
True
-
-
Description of problem:
Warm migrate VM: "mtv.func.-.rhel.-...8.8" from vSphere7 to OCP cluster, the plan get warning: "Target VM name does not comply with DNS1123 RFC, will be automatically changed" Start the migration plan, it failed in "Virtual Machine Creation" phase with error below, if MTV changed the name, need to make sure the new name work. --------------------------------------------------------------------------------- VirtualMachine.kubevirt.io "mtv.func.-.rhel.-...8.8" is invalid: metadata.name: Invalid value: "mtv.func.-.rhel.-...8.8": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
Version-Release number of selected component (if applicable):
MTV 2.8.0-37(IIB 943611) with CNV 4.17.6
How reproducible:
Always
Steps to Reproduce:
1) Prepare a VM: "mtv.func..rhel....8.8" on vSphere7
2) Create warm migration plan to migrate the vm to ocp cluster, get warning message:
"Target VM name does not comply with DNS1123 RFC, will be automatically changed"
3) Start the migration plan, it failed in "Virtual Machine Creation" phase with error, if MTV changed the name, need to make sure the new name work.
Actual results:
In step3: Migration plan failed with error, failed to create VM
Expected results:
In step3: Migration plan succeeded, create VM successfully
Additional info:
- For VM name: ".mtv.func.win2022.", the new name is "mtv.func.win2022-vgsu", the plan executed successfully
- links to
-
RHBA-2025:147666 MTV 2.8.1 Images