From 4a05bccefc241eb6c42feb7434ea2db592856c1a Mon Sep 17 00:00:00 2001 From: jamepark4 Date: Fri, 5 Apr 2024 15:38:42 -0400 Subject: [PATCH] Remove ctlplane addr pass to client vGPU test function wsa passing ctrlplane address the SSHClient creation when that was already happening by default within the function, resulting in failing. Change-Id: Ib2e6cd83f215bc25b6b7089c61f965d547ddd988 --- whitebox_tempest_plugin/api/compute/test_vgpu.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/whitebox_tempest_plugin/api/compute/test_vgpu.py b/whitebox_tempest_plugin/api/compute/test_vgpu.py index ea5b0fff..25bcae0f 100644 --- a/whitebox_tempest_plugin/api/compute/test_vgpu.py +++ b/whitebox_tempest_plugin/api/compute/test_vgpu.py @@ -19,7 +19,6 @@ from tempest import config from tempest.lib.common.utils import data_utils from whitebox_tempest_plugin.api.compute import base from whitebox_tempest_plugin.services import clients -from whitebox_tempest_plugin import utils as whitebox_utils from oslo_log import log as logging @@ -546,8 +545,7 @@ class VGPUMultiTypes(VGPUTest): :return mdev_type: str, the mdev_type of vgpu provided to guest """ host = self.get_host_for_server(server_id) - ctlplane_addr = whitebox_utils.get_ctlplane_address(host) - ssh_client = clients.SSHClient(ctlplane_addr) + ssh_client = clients.SSHClient(host) root = self.get_server_xml(server_id) vgpu_dev = root.find("./devices/hostdev[@type='mdev']") source_element = vgpu_dev.find(".source/address")