From 5225abb2e81669fc2f2ca1448b75aa48ea63ea3a Mon Sep 17 00:00:00 2001 From: ahothan Date: Mon, 4 Jun 2018 10:49:27 +0200 Subject: [PATCH] Fix keystone v3 issue with Queens Change-Id: I6f229285cd24bc410d7fb921bc82a0b9f7fc5b38 Signed-off-by: ahothan --- kloudbuster/kloudbuster.py | 2 +- kloudbuster/tenant.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kloudbuster/kloudbuster.py b/kloudbuster/kloudbuster.py index ec732ab..63351f0 100755 --- a/kloudbuster/kloudbuster.py +++ b/kloudbuster/kloudbuster.py @@ -40,7 +40,7 @@ from kb_runner_storage import KBRunner_Storage from kb_scheduler import KBScheduler import keystoneauth1 -from keystoneclient.v2_0 import client as keystoneclient +from keystoneclient import client as keystoneclient import log as logging from neutronclient.neutron import client as neutronclient diff --git a/kloudbuster/tenant.py b/kloudbuster/tenant.py index 1633117..814d070 100644 --- a/kloudbuster/tenant.py +++ b/kloudbuster/tenant.py @@ -68,7 +68,7 @@ class Tenant(object): LOG.info("Creating tenant: " + self.tenant_name) tenant_object = \ self.tenant_api.create(self.tenant_name, - # domain="default", + domain="default", description="KloudBuster tenant", enabled=True) return tenant_object