]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: remove dead code 671/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 20 Oct 2015 16:24:06 +0000 (18:24 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 25 Oct 2015 13:55:54 +0000 (22:55 +0900)
Signed-off-by: Loic Dachary <ldachary@redhat.com>
teuthology/provision.py

index 7c8af80293fda82490a81e2d588e7a450df29f0f..2a54afc3887da3a83f67aec5d6866fa1aa5d6846 100644 (file)
@@ -391,9 +391,6 @@ def create_if_vm(ctx, machine_name, _downburst=None):
         return False
     os_type = get_distro(ctx)
     os_version = get_distro_version(ctx)
-    if status_info.get('machine_type') == 'openstack':
-        return ProvisionOpenStack(name=machine_name).create(
-            os_type, os_version)
 
     has_config = hasattr(ctx, 'config') and ctx.config is not None
     if has_config and 'downburst' in ctx.config: