-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
rhos-17.1.3
-
False
-
-
False
-
?
-
None
-
-
-
Important
-
Customer Escalated
Customer is trying to create image out of volume and it fails. He is on OpenStack version 17.1.3. The complete steps customer wants to use.
- Create a VM
- Take snapshot of the volume associated with the VM
- Create volume out of that snapshot
- Upload that volume to image is failing.
But during the last remote, customer just created a volume and try to create image out of it that fails.
Steps he performed and the logs:
1. $ cinder upload-to-image f5221615-2a06-42c1-9f6d-0698a1828f7e instance-volume-upload-testing1-Volume2-Glance3
2. openstack image list |grep -i f26bc50a-32ce-4683-81f5-453b679f7585 [ It will be shown as queued for some time and will get deleted ]
Please find the associated logs.
Cinder:
~~~
001f5d1c8b554a9d9b2df1c493f268e4 bdd6c04e96c04bcc8391b1f3b32cf6f9 - - -] Registration of image volume URI cinder://7ed8ef71-6221-453e-8af1-166680e1cd00 to image f26bc50a-32ce-4683-81f5-453b679f7585 failed.
/var/log/containers/cinder/cinder-volume.log:2025-02-10 14:40:11.532 14 DEBUG cinder.image.image_utils [req-04fa56b3-455e-4eba-850c-22c24239bd42 001f5d1c8b554a9d9b2df1c493f268e4 bdd6c04e96c04bcc8391b1f3b32cf6f9 - - -] f26bc50a-32ce-4683-81f5-453b679f7585 was raw, no need to convert to raw upload_volume /usr/lib/python3.9/site-packages/cinder/image/image_utils.py:978
/var/log/containers/cinder/cinder-volume.log:2025-02-10 14:40:33.130 14 ERROR cinder.volume.manager [req-04fa56b3-455e-4eba-850c-22c24239bd42 001f5d1c8b554a9d9b2df1c493f268e4 bdd6c04e96c04bcc8391b1f3b32cf6f9 - - -] Upload volume to image encountered an error (image-id: f26bc50a-32ce-4683-81f5-453b679f7585).: glanceclient.exc.HTTPInternalServerError: HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.
~~~
Glance:
~~~
/var/log/containers/glance/api_internal.log:2025-02-10 14:40:31.254 16 INFO eventlet.wsgi.server [req-80761272-028c-42aa-a4ae-f864c4c3734f 001f5d1c8b554a9d9b2df1c493f268e4 bdd6c04e96c04bcc8391b1f3b32cf6f9 - default default] 10.106.14.51,10.106.14.63 - - [10/Feb/2025 14:40:31] "PUT /v2/images/f26bc50a-32ce-4683-81f5-453b679f7585/file HTTP/1.1" 500 430 19.718741
~~~
Configurations and commands:
cinder.conf:default_volume_type="NVMe based High IOPS Storage"
glance-api.conf:
default_backend=default_backend
[default_backend]
cinder_store_auth_address=http://10.106.14.51:5000/v3
cinder_store_project_name=service
cinder_store_user_name=glance
cinder_store_password=7O99ZSgOURmWmswXo4YBy3ej1
cinder_os_region_name=ap-south-noi-1
cinder_volume_type="NVMe based High IOPS Storage"
cinder_use_multipath=True
cinder_mount_point_base=/var/lib/glance/mnt
store_description=Default glance store backend.
Glance container image version
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp17/openstack-glance-api/images/17.1.3-8.1720438735",
We checked all looks fine from the Link:
https://docs.redhat.com/en/documentation/red_hat_openstack_platform/17.1/html/creating_and_managing_images/assembly_image-service-with-multiple-stores_glance-creating-images#ref_multiple-block-storage-service-stores_image-service-with-multiple-stores
Customer will upload latest sorepor from all 3 controller