diff --git a/rally/verification/tempest/config.py b/rally/verification/tempest/config.py index ce2357038c..475941c6cb 100644 --- a/rally/verification/tempest/config.py +++ b/rally/verification/tempest/config.py @@ -479,10 +479,12 @@ class TempestResourcesContext(utils.RandomNameGeneratorMixin): def _create_network_resources(self): neutron_wrapper = network.NeutronWrapper(self.clients, self) + tenant_name = self.clients.keystone().tenant_name + tenant_id = self.clients.keystone().get_project_id(tenant_name) LOG.debug("Creating network resources: network, subnet, router") net = neutron_wrapper.create_network( - self.clients.keystone().tenant_id, subnets_num=1, - add_router=True, network_create_args={"shared": True}) + tenant_id, subnets_num=1, add_router=True, + network_create_args={"shared": True}) self._created_networks.append(net) return net