-
Bug
-
Resolution: Unresolved
-
Normal
-
CNV v4.20.0
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
CNV Storage 278
-
None
Description of problem:
Originally found and fixed in the UI - however the backend accepted the invalid name. The name generated by the UI is sometimes invalid (too long). If user will provide custom disk name longer then 20 chars the generated name will always be invalid.
Version-Release number of selected component (if applicable):
4.20
How reproducible:
Custom name: always Generated name: 20% (?)
Steps to Reproduce:
1. add a new disk using "Add Empty disk(blank)" modal 2. disk name is generated for the user (but editable) - make sure it's longer then 20chars 3. create the disk my clicking "save" 4. detach the disk (action in the kebab menu) 5. add volume again using virtctl i.e. := ยป virtctl addvolume centos-stream9-bronze-termite-38 --volume-name=dv-centos-stream9-bronze-termite-38-disk-black-scorpion-97-8xjlop -n radek --persist
Actual results:
error adding volume, admission webhook "kubevirt-crd-status-validator.kubevirt.io" denied the request: must be no more than 63 characters
Expected results:
volume is successfully added
Additional info:
- clones
-
CNV-68830 Created PVC has name that is an invalid DNS Label
-
- Verified
-