cinder upload-to-image not working with big vols

Bug #1902689 reported by Macks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
Unassigned

Bug Description

Brief Description
-----------------
Converting an unattached bootable volume only works with <= 8gb. Glance gets stuck on 'uploading' with anything bigger in size.

Severity
--------
Major

Steps to Reproduce
------------------
Using horizon GUI to create image from unattached bootable volume (>8gb). Glance shows uploading forever.

Tried to do the same via CLI. Same pattern observed.

cinder --os-username 'admin' --os-password 'St8RlingX*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-endpoint-type internalURL --container-format bare --disk-format raw <volguid> ubuntu-img

I tried this one too:

OS_CLOUD=openstack_helm openstack image create --volume <volguid> ubuntu-img

Expected Behavior
------------------
Conversion finishes in a while.

Actual Behavior
----------------
Image status is stuck.

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
STX3 AIO

Workaround
----------
I notice that a number of pods were evicted due to this action:

kubectl describe pod -n openstack glance-api-566cbcdb84-lh6ns

Status: Failed
Reason: Evicted
Message: The node was low on resource: ephemeral-storage. Container glance-api was using 37412Ki, which exceeds its request of 0.

I will try increasing kubelet partition size, but that is really no reasonable configuration! If volume to image conversion is so disk intensive that it can take down pods and cause service disruption, shouldn't this feature be disabled by default (or available to admins only)? There should also be an option to place it on a separate disk perhaps.

Ghada Khalil (gkhalil)
tags: added: stx.distro.openstack
Revision history for this message
Ghada Khalil (gkhalil) wrote :

screening: Marking as Won't Fix since stx.3.0 is EOL

Changed in starlingx:
importance: Undecided → Low
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.