Revision aa224134 lib/watcher/nodemaint.py
b/lib/watcher/nodemaint.py | ||
---|---|---|
130 | 130 |
"""Check node status versus cluster desired state. |
131 | 131 |
|
132 | 132 |
""" |
133 |
if not constants.ENABLE_CONFD: |
|
134 |
logging.warning("Confd use not enabled, cannot do maintenance") |
|
135 |
return |
|
136 |
|
|
133 | 137 |
my_name = netutils.Hostname.GetSysName() |
134 | 138 |
req = \ |
135 | 139 |
confd.client.ConfdClientRequest(type=constants.CONFD_REQ_NODE_ROLE_BYNAME, |
Also available in: Unified diff