Glance plugin in XenApi should use "Expect: 100-continue" header during upload.
Bug #1280959 reported by
Sridevi Koushik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
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 post a comment you must log in.
Depends on bp: https:/ /blueprints. launchpad. net/nova/ +spec/use- buffered- http-in- glance- plugin