From f613a07be929fba4593c14fde693157a322ddbdf Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Sat, 3 Feb 2018 12:45:31 -0800 Subject: [PATCH] Remove use of deprecated profile parameter The use of the profile parameter in openstacksdk's connection object has been deprecated and is currently causing upgrade testing to fail. Change-Id: If2c0ae577df3e174773b045b7c9efdd285ee1a6d --- bowling_ball/rolling_tests.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bowling_ball/rolling_tests.py b/bowling_ball/rolling_tests.py index a8ddd6e1..8a3bd87a 100755 --- a/bowling_ball/rolling_tests.py +++ b/bowling_ball/rolling_tests.py @@ -22,7 +22,6 @@ import datetime import logging import os from openstack import connection -from openstack import profile import signal import sys import time @@ -95,16 +94,12 @@ class ServiceTest(object): auth_url = os.environ['OS_AUTH_URL'] password = os.environ['OS_PASSWORD'] - prof = profile.Profile() - prof.set_interface(profile.Profile.ALL, 'admin') - conn = connection.Connection(auth_url=auth_url, username='admin', password=password, project_name='admin', user_domain_id='default', - project_domain_id='default', - profile=prof) + project_domain_id='default') self.conn = conn return conn