diff options
author | Morgan Jones <morgan@tesora.com> | 2015-09-26 15:57:05 +0000 |
---|---|---|
committer | Peter Stachowski <peter@tesora.com> | 2016-01-26 17:16:02 +0000 |
commit | 2bf92b906d087ad6e52853cfed6180ad3c81eba2 (patch) | |
tree | 5fced5fe8dff5433b4a3ace3fa371aafcd7f56bc /trove/common/utils.py | |
parent | 895eecc6c29a2cdaca536353190806e550a052c8 (diff) | |
download | trove-2bf92b906d087ad6e52853cfed6180ad3c81eba2.tar.gz |
Implement 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 now supported:
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
Log declarations and scenario tests were added for MySQL and
PostgreSQL.
Co-Authored-By: Morgan Jones <morgan@tesora.com>
Co-Authored-By: Alex Tomic <atomic@tesora.com>
Co-Authored-By: Peter Stachowski <peter@tesora.com>
Implements: blueprint datastore-log-operations
Change-Id: I16c3bba4a3183d05af2971be6ba56110105797a6
Diffstat (limited to 'trove/common/utils.py')
-rw-r--r-- | trove/common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/utils.py b/trove/common/utils.py index 52af8156..f86b306d 100644 --- a/trove/common/utils.py +++ b/trove/common/utils.py @@ -200,7 +200,7 @@ def build_polling_task(retriever, condition=lambda value: value, raise exception.PollTimeOut return loopingcall.FixedIntervalLoopingCall( - f=poll_and_check).start(sleep_time, True) + f=poll_and_check).start(sleep_time, initial_delay=False) def poll_until(retriever, condition=lambda value: value, |