diff options
author | Fan Zhang <zh.f@outlook.com> | 2017-11-03 09:58:27 +0800 |
---|---|---|
committer | Fan Zhang <zh.f@outlook.com> | 2017-12-08 13:23:36 +0800 |
commit | a57bf8816bd08c836cf2134c1da78ec940bd4d78 (patch) | |
tree | 8f245d206c7fd4d6e23bdd0a54f088b6d7402a93 /trove/common/exception.py | |
parent | 8aad3ee2e45603bbbeaeb242a00f316c9bf55cdd (diff) | |
download | trove-a57bf8816bd08c836cf2134c1da78ec940bd4d78.tar.gz |
Implementation of root-enable, root-disable in redis.
Implement root-enable, root-disable for redis to manage redis
authentication.
Change-Id: If88092c24c51192a19eeec8312701e2c6d709db9
Implements: blueprint root-enable-in-redis
Signed-off-by: Fan Zhang <zh.f@outlook.com>
Diffstat (limited to 'trove/common/exception.py')
-rw-r--r-- | trove/common/exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trove/common/exception.py b/trove/common/exception.py index a5074683..1448f52f 100644 --- a/trove/common/exception.py +++ b/trove/common/exception.py @@ -671,3 +671,9 @@ class DatastoreVersionAlreadyExists(BadRequest): class LogAccessForbidden(Forbidden): message = _("You must be admin to %(action)s log '%(log)s'.") + + +class SlaveOperationNotSupported(TroveError): + + message = _("The '%(operation)s' operation is not supported for slaves in " + "replication.") |