Revision 61a980a9 lib/watcher/__init__.py

b/lib/watcher/__init__.py
62 62
# 5 minutes, so it takes around half an hour to exceed the retry
63 63
# counter, so 8 hours (16*1/2h) seems like a reasonable reset time
64 64
RETRY_EXPIRATION = 8 * 3600
65
BAD_STATES = ['ERROR_down']
66
HELPLESS_STATES = ['ERROR_nodedown', 'ERROR_nodeoffline']
65
BAD_STATES = [constants.INSTST_ERRORDOWN]
66
HELPLESS_STATES = [constants.INSTST_NODEDOWN, constants.INSTST_NODEOFFLINE]
67 67
NOTICE = 'NOTICE'
68 68
ERROR = 'ERROR'
69 69
KEY_RESTART_COUNT = "restart_count"

Also available in: Unified diff