Commit 259578eb authored by Iustin Pop's avatar Iustin Pop
Browse files

Export and show the cluster uuid in cluster info

Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent edc8fc5f
......@@ -3102,6 +3102,7 @@ class LUQueryClusterInfo(NoHooksLU):
"file_storage_dir": cluster.file_storage_dir,
"ctime": cluster.ctime,
"mtime": cluster.mtime,
"uuid": cluster.uuid,
"tags": list(cluster.GetTags()),
......@@ -228,6 +228,7 @@ def ShowClusterConfig(opts, args):
result = cl.QueryClusterInfo()
ToStdout("Cluster name: %s", result["name"])
ToStdout("Cluster UUID: %s", result["uuid"])
ToStdout("Creation time: %s", utils.FormatTime(result["ctime"]))
ToStdout("Modification time: %s", utils.FormatTime(result["mtime"]))
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