← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926404] Re: HTTP 413 : Failed to add object to Swift. Got error from Swift

 

** Changed in: glance
       Status: New => Triaged

** Changed in: glance
   Importance: Undecided => High

** Also affects: glance/wallaby
   Importance: Undecided
       Status: New

** Also affects: glance/victoria
   Importance: High
       Status: Triaged

** Also affects: glance/xena
   Importance: Undecided
       Status: New

** Changed in: glance/wallaby
       Status: New => Triaged

** Changed in: glance/xena
       Status: New => Triaged

** Changed in: glance/wallaby
   Importance: Undecided => High

** Changed in: glance/xena
   Importance: Undecided => High

** Changed in: glance/victoria
     Assignee: (unassigned) => Erno Kuvaja (jokke)

** Changed in: glance/wallaby
     Assignee: (unassigned) => Erno Kuvaja (jokke)

** Changed in: glance/xena
     Assignee: (unassigned) => Erno Kuvaja (jokke)

** No longer affects: glance/victoria

** No longer affects: glance/wallaby

** No longer affects: glance/xena

** Project changed: glance => glance-store

** Also affects: glance-store/victoria
   Importance: High
     Assignee: Erno Kuvaja (jokke)
       Status: Triaged

** Also affects: glance-store/wallaby
   Importance: Undecided
       Status: New

** Also affects: glance-store/xena
   Importance: Undecided
       Status: New

** Changed in: glance-store/wallaby
       Status: New => Triaged

** Changed in: glance-store/xena
       Status: New => Triaged

** Changed in: glance-store/wallaby
   Importance: Undecided => High

** Changed in: glance-store/xena
   Importance: Undecided => High

** Changed in: glance-store/wallaby
     Assignee: (unassigned) => Erno Kuvaja (jokke)

** Changed in: glance-store/xena
     Assignee: (unassigned) => Erno Kuvaja (jokke)

-- 
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_store:
  In Progress
Status in glance_store victoria series:
  In Progress
Status in glance_store wallaby series:
  Triaged
Status in glance_store xena series:
  Triaged

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-store/+bug/1926404/+subscriptions


References