yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25603
[Bug 1403129] [NEW] Glance with swift backend - upload of an image from horizon is not streaming
Public bug reported:
Glance is configured to use swift as its backend.
While creating image from horizon using image source as image file, the image is uploaded in the controller occupying the disk space of the controller instead of streaming. A tmp file is created in /tmp directory and the owner of this file horizon user.
Image create fails if there is no enough space in controller to hold the full image.
But when the same image is uploaded using glance CLI (from a remote Linux macine) streaming happens as - remote machine to glance to swift.
Streaming also happens in the case of upload using URL from Horizon.
Horizon should stream in the case of image source as image file
** Affects: horizon
Importance: Undecided
Status: New
** Attachment added: "tmp_copy_image_upload.png"
https://bugs.launchpad.net/bugs/1403129/+attachment/4282222/+files/tmp_copy_image_upload.png
--
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/1403129
Title:
Glance with swift backend - upload of an image from horizon is not
streaming
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Glance is configured to use swift as its backend.
While creating image from horizon using image source as image file, the image is uploaded in the controller occupying the disk space of the controller instead of streaming. A tmp file is created in /tmp directory and the owner of this file horizon user.
Image create fails if there is no enough space in controller to hold the full image.
But when the same image is uploaded using glance CLI (from a remote Linux macine) streaming happens as - remote machine to glance to swift.
Streaming also happens in the case of upload using URL from Horizon.
Horizon should stream in the case of image source as image file
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1403129/+subscriptions
Follow ups
References