Change I4320fb3e8bb30603bd70f8159fbcf855fc4a2880 set the retries to 0 to
minimize the delay. Unfortunately, swiftclient makes no difference between the
errors, so it won't renew the token on 401 and retry.
Set retry to 1 so we have a chance to renew the token.
Closes-Bug: #1589926
Change-Id: I44428dd4b23d2c8c12852ebf87bd7b60e2f85e3b
(cherry picked from commit 0bbf0799768b28df156f7871125d1f8120723132)
Reviewed: https:/ /review. openstack. org/327293 /git.openstack. org/cgit/ openstack/ gnocchi/ commit/ ?id=a247c52ba6f c5fc8f69ab06806 5cb0514a7760a9
Committed: https:/
Submitter: Jenkins
Branch: stable/2.1
commit a247c52ba6fc5fc 8f69ab068065cb0 514a7760a9
Author: Julien Danjou <email address hidden>
Date: Tue Jun 7 15:11:10 2016 +0200
swift: force retry to 1
Change I4320fb3e8bb306 03bd70f8159fbcf 855fc4a2880 set the retries to 0 to
minimize the delay. Unfortunately, swiftclient makes no difference between the
errors, so it won't renew the token on 401 and retry.
Set retry to 1 so we have a chance to renew the token.
Closes-Bug: #1589926
Change-Id: I44428dd4b23d2c 8c12852ebf87bd7 b60e2f85e3b f156f7871125d1f 8120723132)
(cherry picked from commit 0bbf0799768b28d