Swift client can't reauthenticate even if login and password are provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Opinion
|
Undecided
|
Tim Burke | ||
python-swiftclient |
Invalid
|
Undecided
|
Mike Fedosin |
Bug Description
Swift client supports retries, but it seems it doesn't work when token is expired.
The normal expected workflow is: If we get 401 code and users credentials are provided, then swiftclient sets flag 'retried_auth', tries to re-authenticate and sends the request again with new user token https:/
But it seems like there is a bug in the code, because we provide a reset function https:/
Steps to reproduce on devstack:
0. Deploy devstack with Swift backend.
1. Set 'expiration' option in /etc/keystone/
2. Try to upload a big file (>5,5G) to glance with command 'glance image-create --name cool_name --disk-format qcow2 --container-format bare --file <big_file>'
Expected result: image is successfully created.
Actual result:
Changed in python-swiftclient: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
Fix proposed to branch: master /review. openstack. org/246943
Review: https:/