diff options
| author | Yuriy Nesenenko <ynesenenko@mirantis.com> | 2016-06-22 17:36:49 +0300 |
|---|---|---|
| committer | Yuriy Nesenenko <ynesenenko@mirantis.com> | 2016-07-06 11:42:20 +0300 |
| commit | f8eef18297ec2dba4abf45f8ca57c40c2380cad9 (patch) | |
| tree | 85afe6c794d1bd58996064f19056aada532f4210 /cinderclient/tests/functional/test_volume_create_cli.py | |
| parent | 0a92c9fb199b4b6cc32d9081a721d36eaa78a77e (diff) | |
| download | python-cinderclient-f8eef18297ec2dba4abf45f8ca57c40c2380cad9.tar.gz | |
Cinder client should retry with Retry-After value
If a request fails but the response contains a "Retry-After",
the cinder client should wait the amount of time and then retry.
Cinder client should report a warning to user and continue with
retry, so that user can cancel the operation if not interested
in retry. The value in "Retry-After" header will be in seconds
or GMT value, client should handle both the cases.
How many times client should retry will be controlled by user
through "--retries" argument to cinder api example,
$ cinder --retries 3 availability-zone-list
If request was not sucessful within the retries, client should
raise the exception.
Change-Id: I99af957bfbbe3a202b148dc2fcafdd20b5d7cda0
Partial-Bug: #1263069
Diffstat (limited to 'cinderclient/tests/functional/test_volume_create_cli.py')
0 files changed, 0 insertions, 0 deletions
