From: Sandon Van Ness Date: Tue, 9 Dec 2014 01:58:16 +0000 (-0800) Subject: Use FQDN in downburst yaml. X-Git-Tag: 1.1.0~1067^2~16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F383%2Fhead;p=teuthology.git Use FQDN in downburst yaml. As newer rhel's like to default to localdomain screwing with things if its not set. Older cloud-init/distros appear to just ignore the domain. Signed-off-by: Sandon Van Ness --- diff --git a/teuthology/provision.py b/teuthology/provision.py index 9e2d75951..8bc1ca7e2 100644 --- a/teuthology/provision.py +++ b/teuthology/provision.py @@ -71,7 +71,8 @@ def create_if_vm(ctx, machine_name): file_info['additional-disks-size'] = lcnfg.get( 'additional-disks-size', '200G') file_info['arch'] = lcnfg.get('arch', 'x86_64') - file_out = {'downburst': file_info} + fqdn = machine_name.split('@')[1] + file_out = {'downburst': file_info, 'local-hostname': fqdn} yaml.safe_dump(file_out, tmp) metadata = "--meta-data=%s" % tmp.name dbrst = _get_downburst_exec()