Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -992,6 +992,7 @@ class ConfigWriter: ...@@ -992,6 +992,7 @@ class ConfigWriter:
constants.SS_MASTER_NODE: cluster.master_node, constants.SS_MASTER_NODE: cluster.master_node,
constants.SS_NODE_LIST: node_data, constants.SS_NODE_LIST: node_data,
constants.SS_OFFLINE_NODES: off_data, constants.SS_OFFLINE_NODES: off_data,
constants.SS_RELEASE_VERSION: constants.RELEASE_VERSION,
} }
@locking.ssynchronized(_config_lock) @locking.ssynchronized(_config_lock)
......
...@@ -414,6 +414,7 @@ SS_MASTER_NETDEV = "master_netdev" ...@@ -414,6 +414,7 @@ SS_MASTER_NETDEV = "master_netdev"
SS_MASTER_NODE = "master_node" SS_MASTER_NODE = "master_node"
SS_NODE_LIST = "node_list" SS_NODE_LIST = "node_list"
SS_OFFLINE_NODES = "offline_nodes" SS_OFFLINE_NODES = "offline_nodes"
SS_RELEASE_VERSION = "release_version"
# cluster wide default parameters # cluster wide default parameters
DEFAULT_ENABLED_HYPERVISOR = HT_XEN_PVM DEFAULT_ENABLED_HYPERVISOR = HT_XEN_PVM
......
...@@ -133,6 +133,7 @@ class SimpleStore(object): ...@@ -133,6 +133,7 @@ class SimpleStore(object):
constants.SS_MASTER_NODE, constants.SS_MASTER_NODE,
constants.SS_NODE_LIST, constants.SS_NODE_LIST,
constants.SS_OFFLINE_NODES, constants.SS_OFFLINE_NODES,
constants.SS_RELEASE_VERSION,
) )
_MAX_SIZE = 131072 _MAX_SIZE = 131072
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment