Bug 1649679
Summary: | Glance doesn't clean up the staging area with default config | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Thomas Hervé <therve> |
Component: | openstack-glance | Assignee: | Abhishek Kekane <akekane> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Abrams <mabrams> |
Severity: | medium | Docs Contact: | Kim Nylander <knylande> |
Priority: | medium | ||
Version: | 14.0 (Rocky) | CC: | akekane, eglynn, gfidente, joflynn, tenobreg |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Release Note | |
Doc Text: |
When you use the web-download feature, the staging area - defined in the configuration using the `node_staging_uri` option - is not cleaned up properly. Ensure that `file` is part of the `stores` configuration option in the `glance_store` section of the glance-api.conf file.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-05 09:38:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Hervé
2018-11-14 08:28:08 UTC
It looks like it was present since the beginning, too: https://bugzilla.redhat.com/show_bug.cgi?id=1418436#c8 So, I talked to Thomas. If he adds "file" to the list of stores in glance-api.conf, everything works as expected. I do not think that this is especially user-friendly, though. Shouldn't we automagically load the "file" store? This could be done in the _DeleteFromFS class: https://github.com/openstack/glance/blob/master/glance/async_/flows/api_image_import.py#L78 We already use this workaround here: https://github.com/openstack/glance/blob/master/glance/async_/flows/api_image_import.py#L149 @Abhishek: do you think upstream would be ok with this? Hi Cyril, Thomas, I have proposed a upstream fix for this issue. Please refer, https://review.openstack.org/618468 |