← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280959] [NEW] Glance plugin in XenApi should use "Expect: 100-continue" header during upload.

 

Public bug reported:

During upload, if the Auth token is expired, the xenapi glance plugin in Nova
unnecessarily uploads the chunks and fails at the end.
Instead, we could have a fail fast mechanism using the
100-continue handshake. Only if the client receives a 100 continue
from glance, it should continue uploading the chunks.
Otherwise, if a 401 is received, it should fetch a fresh auth
token and retry the request.

** 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/1280959

Title:
  Glance plugin in XenApi should use "Expect: 100-continue" header
  during upload.

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  During upload, if the Auth token is expired, the xenapi glance plugin in Nova
  unnecessarily uploads the chunks and fails at the end.
  Instead, we could have a fail fast mechanism using the
  100-continue handshake. Only if the client receives a 100 continue
  from glance, it should continue uploading the chunks.
  Otherwise, if a 401 is received, it should fetch a fresh auth
  token and retry the request.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1280959/+subscriptions


Follow ups

References