]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
suite/run.py: refactor to reuse config substitution code
authorDan Mick <dan.mick@redhat.com>
Mon, 27 Jun 2016 21:45:32 +0000 (14:45 -0700)
committerDan Mick <dan.mick@redhat.com>
Mon, 27 Jun 2016 22:51:29 +0000 (15:51 -0700)
commit617f6f3673127384ad5cc8bcb2552899735cb3c9
tree03e036274c3769bed5e9b7547a83490b6dc8f113
parentf1225a392646c8452efb2621cd31c351dc795f29
suite/run.py: refactor to reuse config substitution code

In --newest mode we must recreate the base config, because
the ceph sha1 has been substituted several times already.
Factor the substitution code out of create_initial_config so
that it can be called from the backtracking code (which requires
storing kernel_dict and config_input on the instance).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/suite/run.py