This test uses a non-existing config value "file-storage-dir" and fails. Fixing it by using the default value, which is currently what qa does.
Signed-off-by: Guido Trotter <[email protected]> --- qa/qa_instance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/qa_instance.py b/qa/qa_instance.py index e6d8d44..6e3e107 100644 --- a/qa/qa_instance.py +++ b/qa/qa_instance.py @@ -613,7 +613,9 @@ def TestInstanceModifyPrimaryAndBack(instance, currentnode, othernode): current = currentnode.primary other = othernode.primary - filestorage = qa_config.get("file-storage-dir") + # FIXME: the qa doesn't have a customizable file storage dir parameter. As + # such for now we use the default. + filestorage = pathutils.DEFAULT_FILE_STORAGE_DIR disk = os.path.join(filestorage, name) AssertCommand(["gnt-instance", "modify", "--new-primary=%s" % other, name], -- 1.7.10.4
