-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhos-17.1.z
Description of problem:
Creation of LUKS encrypted volume from image create a volume in ERROR status and the error message [1] in cinder volume log.
Version-Release number of selected component (if applicable):
RHOSP17.1.3
How reproducible:
Always
Steps to Reproduce:
1. Create encryption type // SUCCESS
cinder type-create TestEncTypeLUKS256
cinder encryption-type-create --cipher aes-xts-plain64 --key-size 256 --control-location front-end TestEncTypeLUKS256 luks
2. Test create encryption volume // SUCCESS
cinder --debug create 100 --volume-type TestEncTypeLUKS256 --name TestEncTypeLUKS256Vol
3. Create encryption volume from image // FAILURE
cinder --debug create 100 --volume-type TestEncTypeLUKS256 --image cirros --name TestEncTypeLUKS256VolFromImage
Actual results:
Volume in error status.
Expected results:
Volume in available status.
Additional info:
[1]
2024-10-22 08:40:06.068 21 ERROR cinder.volume.volume_utils [req-99999999-dc1e-4688-8e71-b814064e8e40 64a837e9a22b4edf90375c7182a9f297 59c2d928ef6046069a0175d700000000 - - -] Failed to copy image dbe0c761-622b-4bda-bf89-720200000000 to volume: 39e177ce-e2ab-40eb-974d-e56c00000000: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: qemu-img convert -O raw -t none -f qcow2 /var/lib/cinder/conversion/image_fetch_dbe0c761-622b-4bda-bf89-720255e881fa_00000000hostgroup@netapp /var/lib/cinder/mnt/976861412d62f317d2b725b200000000/volume-39e177ce-e2ab-40eb-974d-e56c00000000
Note: Considering that this bug can be similar to BZ2279972 or related to BZ2293368.
- external trackers