Commit dfb34028 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add function to read cluster domain secret

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent 895eb320
......@@ -599,6 +599,13 @@ def _CheckStorageType(storage_type):
def _GetClusterDomainSecret():
"""Reads the cluster domain secret.
return utils.ReadOneLineFile(constants.CLUSTER_DOMAIN_SECRET_FILE,
def _CheckInstanceDown(lu, instance, reason):
"""Ensure that an instance is not running."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment