Bugfix: plugin remove command use "JUMP_HOST_IP" if ip is set to local 11/38111/2
authorJingLu5 <lvjing5@huawei.com>
Wed, 26 Jul 2017 01:50:49 +0000 (01:50 +0000)
committerJing Lu <lvjing5@huawei.com>
Wed, 26 Jul 2017 01:58:44 +0000 (01:58 +0000)
JIRA: YARDSTICK-762

Change-Id: Id4a94ef8bbe578944e3664e5e7c24fdf7478805b
Signed-off-by: JingLu5 <lvjing5@huawei.com>
yardstick/benchmark/core/plugin.py

index 6c06767..c8d0865 100644 (file)
@@ -107,8 +107,8 @@ class Plugin(object):
 
         if deployment_ip == "local":
             self.client = ssh.SSH.from_node(deployment, overrides={
-                # host can't be None, fail if no INSTALLER_IP
-                'ip': os.environ["INSTALLER_IP"],
+                # host can't be None, fail if no JUMP_HOST_IP
+                'ip': os.environ["JUMP_HOST_IP"],
             })
         else:
             self.client = ssh.SSH.from_node(deployment)