Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1690415

Summary: CDI appends 'source pod' to a label and may fail on error that label must not be longer than 63 characters
Product: Container Native Virtualization (CNV) Reporter: Radim Hrazdil <rhrazdil>
Component: StorageAssignee: Tzvi Avni <tavni>
Status: MODIFIED --- QA Contact: Qixuan Wang <>
Severity: high Docs Contact:
Priority: high    
Version: 1.4CC: cnv-qe-bugs, igoihman, ncredi
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
VM manifests and importer log none

Description Radim Hrazdil 2019-03-19 12:37:48 UTC
Created attachment 1545602 [details]
VM manifests and importer log

Description of problem:
When a VM is created with long enough name, and than this VM is cloned, the cloning process fails on error:
E0319 12:24:27.745852       1 clone-controller.go:215] error processing pvc "default/vm-url-test-jwbfh-clone-vm-url-test-jwbfh-rootdisk-clone": invalid label value: "vm-url-test-jwbfh-clone-vm-url-test-jwbfh-rootdisk-clone-source-pod": must be no more than 63 characters

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

How reproducible:

Steps to Reproduce:
1. create vm using origVm.yaml
2. create another vm using clonedVm.yaml
3. Start cloned VM

Actual results:
Cloned VM is stuck on pending, cdi-deployment pod fails on error mentioned above

Expected results:

Additional info: