-
Bug
-
Resolution: Duplicate
-
Normal
-
CNV v4.17.11
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
Important
-
Customer Reported
-
None
Description of problem:
I'm allowed to create a VM Export with dots in the name, however the associated service fails to be created because of the dots. This breaks MTV migrations of VMs with dots between OpenShift clusters.
Version-Release number of selected component (if applicable):
kubevirt-hyperconverged-operator.v4.17.11
How reproducible:
Always
Steps to Reproduce:
1. Create a VM export with a dot in the name: virtctl vmexport create my-export-vm.test --vm=vm.test
Actual results:
- VM export is created - Export service fails to be created. This can be seen in the virt-controller logs: E0508 07:36:49.772385 1 util.go:72] Service "virt-export-my-export-vm.test" is invalid: metadata.name: Invalid value: "virt-export-my-export-vm.test": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')
Expected results:
The service associated with the VM export must not have dots in the name.
Additional info:
- duplicates
-
CNV-64842 [4.20] MTV fails to migrate vm from OCP to OCP when name contains period
-
- Verified
-
- links to