Commit 26b6af5e authored by Guido Trotter's avatar Guido Trotter
Browse files

Verify: save instance config

Save the instance config after we queried it in an instance_cfg dict.  This can
be used later by any function that wants it, without reloading it from the
configuration module. It will be used for N+1 memory resilience checking.

Reviewed-by: iustinp
parent 36e7da50
......@@ -769,6 +769,7 @@ class LUVerifyCluster(NoHooksLU):
node_volume = {}
node_instance = {}
node_info = {}
instance_cfg = {}
# FIXME: verify OS list
# do local checksums
......@@ -858,6 +859,8 @@ class LUVerifyCluster(NoHooksLU):
instance_cfg[instance] = inst_config
pnode = inst_config.primary_node
if pnode in node_info:
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