yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69243
[Bug 1732830] [NEW] Unreachable 'ImageSizeLimitExceeded' exception block in stage call
Public bug reported:
ImageSizeLimitExceeded exception block [1] is unreachable in stage because
we are using sotre_backend.add (filesystem.add in this case) and it will
raise 'exceptions.StorageFull()' [2] if image file is too large (errno.EFBIG).
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L323
[2] https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/filesystem.py#L691
** Affects: glance
Importance: Undecided
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Changed in: glance
Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1732830
Title:
Unreachable 'ImageSizeLimitExceeded' exception block in stage call
Status in Glance:
New
Bug description:
ImageSizeLimitExceeded exception block [1] is unreachable in stage because
we are using sotre_backend.add (filesystem.add in this case) and it will
raise 'exceptions.StorageFull()' [2] if image file is too large (errno.EFBIG).
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L323
[2] https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/filesystem.py#L691
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1732830/+subscriptions
Follow ups