]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
openstack: get user-data path relative to the sources 689/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 28 Oct 2015 01:34:52 +0000 (10:34 +0900)
committerLoic Dachary <ldachary@redhat.com>
Tue, 3 Nov 2015 07:56:50 +0000 (08:56 +0100)
commit898cd732b3576bd18330d0e8eeaa585b390c27ff
tree9b58d5edcc2f36321d22f524709f475439d9b93e
parenta6d00b20df894e6e2bc00c157be1b92b9df15c2d
openstack: get user-data path relative to the sources

The user-data files are in the sources, in the teuthology/openstack
directory. By default the template path being used is
teuthology/openstack/openstack-{os_type}-{os_version}-user-data.txt and
assumes teuthology-suite / teuthology-openstack is run from the root of
the source directory.

If the user-data path is relative, make it absolute based on the
directory in which the openstack module is found.

http://tracker.ceph.com/issues/13416 Fixes: #13416

Signed-off-by: Loic Dachary <ldachary@redhat.com>
teuthology/openstack/__init__.py