Commit 8a113c7a authored by Iustin Pop's avatar Iustin Pop
Browse files

Add a new ssconf file with the ganeti version

The patch adds a new ssconf file containing the ganeti version.

Reviewed-by: imsnah
parent 7d585316
......@@ -992,6 +992,7 @@ class ConfigWriter:
constants.SS_MASTER_NODE: cluster.master_node,
constants.SS_NODE_LIST: node_data,
constants.SS_OFFLINE_NODES: off_data,
constants.SS_RELEASE_VERSION: constants.RELEASE_VERSION,
}
@locking.ssynchronized(_config_lock)
......
......@@ -414,6 +414,7 @@ SS_MASTER_NETDEV = "master_netdev"
SS_MASTER_NODE = "master_node"
SS_NODE_LIST = "node_list"
SS_OFFLINE_NODES = "offline_nodes"
SS_RELEASE_VERSION = "release_version"
# cluster wide default parameters
DEFAULT_ENABLED_HYPERVISOR = HT_XEN_PVM
......
......@@ -133,6 +133,7 @@ class SimpleStore(object):
constants.SS_MASTER_NODE,
constants.SS_NODE_LIST,
constants.SS_OFFLINE_NODES,
constants.SS_RELEASE_VERSION,
)
_MAX_SIZE = 131072
......
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