Revision 013ce4ae lib/watcher/__init__.py
b/lib/watcher/__init__.py | ||
---|---|---|
114 | 114 |
else: |
115 | 115 |
logging.debug("Watcher hook %s: success (output: %s)", relname, |
116 | 116 |
runresult.output) |
117 |
else: |
|
118 |
raise errors.ProgrammerError("Unknown status %s returned by RunParts", |
|
119 |
status) |
|
117 | 120 |
|
118 | 121 |
|
119 | 122 |
class Instance(object): |
... | ... | |
517 | 520 |
logging.debug("Not master, exiting") |
518 | 521 |
return constants.EXIT_NOTMASTER |
519 | 522 |
except errors.ResolverError, err: |
520 |
logging.error("Cannot resolve hostname '%s', exiting.", err.args[0])
|
|
523 |
logging.error("Cannot resolve hostname '%s', exiting", err.args[0]) |
|
521 | 524 |
return constants.EXIT_NODESETUP_ERROR |
522 | 525 |
except errors.JobQueueFull: |
523 | 526 |
logging.error("Job queue is full, can't query cluster state") |
Also available in: Unified diff