From: boucherv Date: Fri, 20 Jan 2017 09:56:26 +0000 (+0100) Subject: VNF_BASE - fix quota update failed X-Git-Tag: danube.1.RC1~186 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F27285%2F1;p=functest.git VNF_BASE - fix quota update failed JIRA: FUNCTEST-702 Change-Id: Ia831d35079f9286f924d0b407a64bf376b1cff21 Signed-off-by: boucherv --- diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py index 995204940..9d8b6dc49 100644 --- a/functest/core/vnf_base.py +++ b/functest/core/vnf_base.py @@ -152,14 +152,15 @@ class VnfOnBoardingBase(base.TestcaseBase): self.logger.info("Update OpenStack creds informations") self.creds.update({ - "username": self.tenant_name, - "password": self.tenant_name, "tenant": self.tenant_name, }) - self.glance_client = os_utils.get_glance_client(self.creds) self.neutron_client = os_utils.get_neutron_client(self.creds) self.nova_client = os_utils.get_nova_client(self.creds) - + self.creds.update({ + "username": self.tenant_name, + "password": self.tenant_name, + }) + self.glance_client = os_utils.get_glance_client(self.creds) self.logger.info("Upload some OS images if it doesn't exist") temp_dir = os.path.join(self.data_dir, "tmp/")