summaryrefslogtreecommitdiff
path: root/troveclient/exceptions.py
diff options
context:
space:
mode:
authorAlex Tomic <atomic@tesora.com>2015-06-22 15:01:42 -0400
committerPeter Stachowski <peter@tesora.com>2016-01-27 14:41:15 -0500
commitfb33d87fef21052126b1ae10efb2f2e4dca9ccf9 (patch)
treefbf1eb6ec57d1ba64c940495bf8ddb250a21fef3 /troveclient/exceptions.py
parentfd3d348adaeb7f012c625923cbc6a2944f535739 (diff)
downloadpython-troveclient-fb33d87fef21052126b1ae10efb2f2e4dca9ccf9.tar.gz
Client Changes for Guest Log File Retrieval
Implements log file retrieval from the guest agent. The contents of the log file are pushed up to a swift container as a series of objects that represent a subset of the lines in the log. The following trove CLI commands are implemented: trove log-list <instance> : lists log files available on guest trove log-enable <instance> <log> : enables writing to log file trove log-disable <instance> <log>: disables writing to log file trove log-publish <instance> <log>: publishes updates to swift container trove log-discard <instance> <log>: discards published logs trove log-tail <instance> <log> : displays last lines of log trove log-save <instance> <log> : saves the entire log to a file Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9 Co-Authored-By: Morgan Jones <morgan@tesora.com> Co-Authored-By: Alex Tomic <atomic@tesora.com> Co-Authored-By: Peter Stachowski <peter@tesora.com>
Diffstat (limited to 'troveclient/exceptions.py')
-rw-r--r--troveclient/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/troveclient/exceptions.py b/troveclient/exceptions.py
index 0f205a2..536a8d4 100644
--- a/troveclient/exceptions.py
+++ b/troveclient/exceptions.py
@@ -34,3 +34,8 @@ class NoTokenLookupException(Exception):
class ResponseFormatError(Exception):
"""Could not parse the response format."""
pass
+
+
+class GuestLogNotFoundError(Exception):
+ """The specified guest log does not exist."""
+ pass