diff options
author | Dariusz Krol <d.krol@samsung.com> | 2018-07-27 14:18:28 +0200 |
---|---|---|
committer | Dariusz Krol <d.krol@samsung.com> | 2018-08-02 11:44:02 +0200 |
commit | 4d358c8f5de4f7feda17053fb363be033146c9dc (patch) | |
tree | 39fcf95645fe25bebda96918dd21951c1ee159da /trove/common/wsgi.py | |
parent | 56050fce957072cedf1b0ad2f0d04ad8e2ac75a0 (diff) | |
download | trove-4d358c8f5de4f7feda17053fb363be033146c9dc.tar.gz |
Fix replication failure when Swift isn't availablerocky-em10.0.0.0rc110.0.0
* add Swift token verification in create instance method in Trove API
when slave_id is given
* catch ConnectionError exception in verify_swift_auth_token
* add Swift token verification to guestagent before backup and restore
* add new exception representing Swift connection error
* set missing fault information when replication snapshot fails
* mock verify auth token method in replication and restore unit tests
Closes-Bug: #1395523
Change-Id: I6a21ba2ba890a82875f9b6dae3c6b93bc9fdb4b0
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
Diffstat (limited to 'trove/common/wsgi.py')
-rw-r--r-- | trove/common/wsgi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trove/common/wsgi.py b/trove/common/wsgi.py index 63d966ac..e294ea18 100644 --- a/trove/common/wsgi.py +++ b/trove/common/wsgi.py @@ -361,6 +361,7 @@ class Controller(object): webob.exc.HTTPServerError: [ exception.VolumeCreationFailure, exception.UpdateGuestError, + exception.SwiftConnectionError, ], webob.exc.HTTPNotImplemented: [ exception.VolumeNotSupported, |