Commit 40684c3a authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix breakage due to OS parameters



I was using wrong python installation path (thanks Guido!), so I was not
actually testing the new backend.py module. Two immediate things bugs
are fixed, and after these burnin passes again…
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 3b08cd1c
......@@ -1903,7 +1903,8 @@ def _TryOSFromDisk(name, base_dir=None):
export_script=os_files[constants.OS_SCRIPT_EXPORT],
import_script=os_files[constants.OS_SCRIPT_IMPORT],
rename_script=os_files[constants.OS_SCRIPT_RENAME],
verify_script=os_files[constants.OS_SCRIPT_VERIFY],
verify_script=os_files.get(constants.OS_SCRIPT_VERIFY,
None),
supported_variants=variants,
supported_parameters=parameters,
api_versions=api_versions)
......
......@@ -1816,7 +1816,7 @@ class LUVerifyCluster(LogicalUnit):
_ErrorIf(a != b, self.ENODEOS, node,
"OS %s %s differs from reference node %s: %s vs. %s",
kind, os_name, base.name,
utils.CommaJoin(a), utils.CommaJoin(a))
utils.CommaJoin(a), utils.CommaJoin(b))
# check any missing OSes
missing = set(base.oslist.keys()).difference(nimg.oslist.keys())
......
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