yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85923
[Bug 1926404] [NEW] HTTP 413 : Failed to add object to Swift. Got error from Swift
Public bug reported:
Hi,
Openstack Glance Version : Victoria
Openstack Swift Version : Victoria
During image_upload, the HTTP 413 error is generated in glance-api logs
if swift quota is full and hence the entire image_upload fails and
delete operation is triggered :
Caught error: Failed to add object to Swift.
Got error from Swift: Object PUT failed: https://objectstore-3.xxx:443/v1/AUTH_22a2e2dfd8dd4156ba5c945bed320f50/glance_6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7/6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7-00118 413 Request Entity Too Large b'Upload exceeds quota.'.
BackendException
Failed to add object to Swift.
Got error from Swift: Object PUT failed: https://objectstore-3.xxx:443/v1/AUTH_22a2e2dfd8dd4156ba5c945bed320f50/glance_6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7/6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7-00118 413 Request Entity Too Large b'Upload exceeds quota.'.
Unfortunately the user receives :
The error message is :HttpException: 500: Server Error for url:
https://image-3.xxx/v2/images/6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7/file,
Internal Server Error
The swift error is generated from :
https://github.com/openstack/python-
swiftclient/blob/master/swiftclient/client.py#L1491-L1492
** Affects: glance
Importance: Undecided
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/1926404
Title:
HTTP 413 : Failed to add object to Swift. Got error from Swift
Status in Glance:
New
Bug description:
Hi,
Openstack Glance Version : Victoria
Openstack Swift Version : Victoria
During image_upload, the HTTP 413 error is generated in glance-api
logs if swift quota is full and hence the entire image_upload fails
and delete operation is triggered :
Caught error: Failed to add object to Swift.
Got error from Swift: Object PUT failed: https://objectstore-3.xxx:443/v1/AUTH_22a2e2dfd8dd4156ba5c945bed320f50/glance_6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7/6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7-00118 413 Request Entity Too Large b'Upload exceeds quota.'.
BackendException
Failed to add object to Swift.
Got error from Swift: Object PUT failed: https://objectstore-3.xxx:443/v1/AUTH_22a2e2dfd8dd4156ba5c945bed320f50/glance_6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7/6a5e5cae-180c-42ca-ad0f-b459cb8ad8f7-00118 413 Request Entity Too Large b'Upload exceeds quota.'.
Unfortunately the user receives :
The error message is :HttpException: 500: Server Error for url:
https://image-3.xxx/v2/images/6a5e5cae-180c-42ca-ad0f-
b459cb8ad8f7/file, Internal Server Error
The swift error is generated from :
https://github.com/openstack/python-
swiftclient/blob/master/swiftclient/client.py#L1491-L1492
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1926404/+subscriptions
Follow ups