Fix bug in sysbench

Given this: https://review.opendev.org/#/c/663291/
This patch fixes the issue in Sysbench

Change-Id: I764861ede0eaa6c89e980fb7e68781e15ab3f156
This commit is contained in:
Lucas H. Xu 2019-08-15 19:30:05 +00:00
parent 3d13705713
commit fa42e128b3

View File

@ -29,7 +29,8 @@ LOG = logging.getLogger(__name__)
@scenario.configure(context={"cleanup@openstack": ["neutron", "nova"],
"keypair@openstack": {}, "allow_ssh@openstack": None},
name="BrowbeatPlugin.sysbench", platform="openstack")
class BrowbeatSysbench(neutron_utils.NeutronScenario,vm_utils.VMScenario):
class BrowbeatSysbench(vm_utils.VMScenario,
neutron_utils.NeutronScenario):
def build_host(self, external, image, flavor, user, password=None, **kwargs):
keyname = self.context["user"]["keypair"]["name"]
host, host_ip = self._boot_server_with_fip(image,