yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83878
[Bug 1895663] [NEW] Image import "web-download" doesn't check on download size
Public bug reported:
When using the image import "web-download" the downloaded data size is
not checked.
This can result in corrupted images in case of network failures or if
the source breaks the connection. In such a case Glance should interrupt
the process instead of continuing the import.
If the server hosting the data supports the header "Content-Length",
Glance should rely on it. All necessaries informations are provided as
"store.add" already returns the written size.
https://github.com/openstack/glance/blob/master/glance/async_/flows/_internal_plugins/web_download.py#L120
** Affects: glance
Importance: Undecided
Assignee: Grégoire Unbekandt (gregoire-unbekandt)
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1895663
Title:
Image import "web-download" doesn't check on download size
Status in Glance:
New
Bug description:
When using the image import "web-download" the downloaded data size is
not checked.
This can result in corrupted images in case of network failures or if
the source breaks the connection. In such a case Glance should
interrupt the process instead of continuing the import.
If the server hosting the data supports the header "Content-Length",
Glance should rely on it. All necessaries informations are provided as
"store.add" already returns the written size.
https://github.com/openstack/glance/blob/master/glance/async_/flows/_internal_plugins/web_download.py#L120
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1895663/+subscriptions
Follow ups