Commit 5d9d1aff authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Provide PYTHONPATH to burnin

One feature of the new private-module layout is that a python
script cannot simply 'import ganeti'. The reason is that the
interfaces to these modules are not stable and hence should not
be used outside Ganeti. However, this is what the burnin test
in the qa does. The good news is that we know that the burnin
script will always be from the same version of ganeti as the
one we're testing against; so we can simply provide the appropriate
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarJose Lopes <>
parent 12475881
......@@ -27,6 +27,7 @@ import re
import tempfile
import os.path
from ganeti import _autoconf
from ganeti import constants
from ganeti import compat
from ganeti import utils
......@@ -1110,7 +1111,9 @@ def TestClusterBurnin():
disks = qa_config.GetDiskOptions()
# Run burnin
cmd = [script,
cmd = ["env",
"--os=%s" % qa_config.get("os"),
"--minmem-size=%s" % qa_config.get(constants.BE_MINMEM),
"--maxmem-size=%s" % qa_config.get(constants.BE_MAXMEM),
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