Revision dfb34028
b/lib/cmdlib.py | ||
---|---|---|
599 | 599 |
_RequireFileStorage() |
600 | 600 |
|
601 | 601 |
|
602 |
def _GetClusterDomainSecret(): |
|
603 |
"""Reads the cluster domain secret. |
|
604 |
|
|
605 |
""" |
|
606 |
return utils.ReadOneLineFile(constants.CLUSTER_DOMAIN_SECRET_FILE, |
|
607 |
strict=True) |
|
608 |
|
|
602 | 609 |
|
603 | 610 |
def _CheckInstanceDown(lu, instance, reason): |
604 | 611 |
"""Ensure that an instance is not running.""" |
Also available in: Unified diff