Trees | Indices | Help |
|
---|
|
Module keeping state for Ganeti watcher.
|
|||
WatcherState Interface to a state file recording restart attempts. |
|
|||
|
|
|||
RETRY_EXPIRATION = 8* 3600
|
|||
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 Tue Jul 24 16:51:20 2012 | http://epydoc.sourceforge.net |