Glance can't upload image by link from slow source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Fix Released
|
Medium
|
Mike Fedosin |
Bug Description
If the image is uploaded into the Glance from the remote http source (i.e. the image is created with "image-create" Glance CLI command specified with "--copy-from" parameter containing some http location, or using the equivalent set of API calls, for example when creating image by copying it from the URL in Horizon) AND the speed of downloading from that location is low (i.e. there exists a possibility that at some moment a 16 MB chunk of data will not be fetched within a minute), then the Image will not be uploaded (in several minuted of being in "Saving" state it will be moved to "killed" state, thus disappearing from list of active images).
This may be happen often for image storages on the public hosting providers, such as murano-
STEPS TO REPRODUCE:
1. Navigate to Horizon dashboard-
2. Click Create Image.
3. Specify image url from slow resource (http://
4. Create Image
Actual Result:
Image has status 'Killed'
Glance logs have no tracebacks
In /var/log/messages we can see warning about Swift:
swift-proxy-server: Client disconnected without sending enough data
Changed in glance-store: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Mike Fedosin (mfedosin) |
status: | Confirmed → In Progress |
Changed in glance-store: | |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/#/c/ 162599/