Created attachment 1954055 [details] error about VM is not started Description of problem: Clone a VM and then add a secret to the VM, VM is not able to be scheduled due to the secret name exceeds 63 characters Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. create a vm from centos-stream8, wait for it up 2. clone a VM from it 3. add a secret to it and then restart the VM Actual results: VM is not started Expected results: VM is started Additional info:
The right number for the secret is 51 chars, as BE creates volume and adds more chars, so our bug fix will limit the name of the secret to 51 chars.
verified with v4.14.0-755
(In reply to Guohua Ouyang from comment #2) > verified with v4.14.0-755 Added it by mistake, the issue is still there.
As discussed, you have tested against the 4.12 cluster. The bug is caused by a very long VM name, the fix is applied for 4.13, 4.14. not backported to 4.12
verified it with v4.13.0-2383
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6817