Image chunks remains in store if upload is interrupted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Mike Fedosin | ||
6.1.x |
Invalid
|
High
|
Alexey Khivin |
Bug Description
When I create a new task in v2 to upload an image, it creates the image record in db, sets status to "saving" and then begins the uploading.
If the image is deleted by appropriate API call while its content is still being uploaded, an exception is raised and it is not handled in the API code. This leads to the fact that the uploaded image file stays in a storage and clogs it.
And also trying to delete image created using task api (import-from) image gets deleted from the database, but image data remains in the backend.
Related upstream bugs:
- https:/
- https:/
information type: | Public → Public Security |
Changed in mos: | |
importance: | Undecided → High |
assignee: | nobody → Mike Fedosin (mfedosin) |
tags: | added: feature-security |
Fix for this bug: https:/ /review. fuel-infra. org/#/c/ 5607/