yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86047
[Bug 1674846] Re: using glance v2 api does not remove temporary files
The indicated fix merged during the Ussuri development cycle, so in
theory this bug should be valid only for stable/train and older
branches. Given stable/train is scheduled to enter extended maintenance
phase tomorrow, there is no opportunity to backport the fix to it and
issue a point release at this stage. The fix could still be backported
under extended maintenance if someone is interested in working on that,
but there would be no point in issuing a security advisory for it
because it will never appear in a point release for that series. As
such, I'm marking our security advisory task won't fix to reflect this.
** Changed in: ossa
Status: Incomplete => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1674846
Title:
using glance v2 api does not remove temporary files
Status in OpenStack Dashboard (Horizon):
Incomplete
Status in OpenStack Security Advisory:
Won't Fix
Bug description:
Currently if you are using Glance v2 with TemporaryUploadedFile
(legacy mode?) the temporary file created on disk is never removed.
This will eventually cause the machine to run out of tmp disk space.
The issue is that if Glance v2 is used, the code never calls image_update which is responsible for deleting the temporary file.
https://github.com/openstack/horizon/blob/446e5aefb4354c9092d1cbc5ff258ee74558e769/openstack_dashboard/api/glance.py#L439
https://github.com/openstack/horizon/blob/446e5aefb4354c9092d1cbc5ff258ee74558e769/openstack_dashboard/api/glance.py#L349
Either the function image_update should always be called, or if data
is a TemporaryUploadedFile object, the call should always try to
delete the temporary file once done.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1674846/+subscriptions