Trees | Indices | Help |
|
---|
|
Module keeping state for Ganeti watcher.
|
|||
WatcherState Interface to a state file recording restart attempts. |
|
|||
|
|
|||
RETRY_EXPIRATION = 8* 3600
|
|||
KEY_CLEANUP_COUNT = "cleanup_count"
|
|||
KEY_CLEANUP_WHEN = "cleanup_when"
|
|||
KEY_RESTART_COUNT = "restart_count"
|
|||
KEY_RESTART_WHEN = "restart_when"
|
|||
KEY_BOOT_ID = "bootid"
|
Imports: os, time, logging, utils, serializer, errors
|
Opens the state file and acquires a lock on it.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jan 11 11:57:45 2016 | http://epydoc.sourceforge.net |