From 34c73a362952af00e0171843bcf686eb124270d3 Mon Sep 17 00:00:00 2001 From: Sumit Naiksatam Date: Sun, 5 Mar 2017 02:36:52 -0800 Subject: [PATCH] Newton sync Change-Id: I3bdd81ad1ddf3bda79016bb6af64d1ae5092bb7f --- .../heat/engine/clients/os/grouppolicy.py | 3 ++- test-requirements.txt | 19 +++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gbpautomation/heat/engine/clients/os/grouppolicy.py b/gbpautomation/heat/engine/clients/os/grouppolicy.py index 6d6fa19..ad68188 100644 --- a/gbpautomation/heat/engine/clients/os/grouppolicy.py +++ b/gbpautomation/heat/engine/clients/os/grouppolicy.py @@ -32,7 +32,8 @@ class GBPClientPlugin(client_plugin.ClientPlugin): args = { 'auth_url': con.auth_url, 'service_type': 'network', - 'token': self.auth_token, + 'token': con.keystone_session.get_token(), + 'project_id': con.tenant_id, 'endpoint_url': endpoint, 'endpoint_type': endpoint_type, 'ca_cert': self._get_client_option('grouppolicy', 'ca_file'), diff --git a/test-requirements.txt b/test-requirements.txt index a6a5c23..67be7a3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,25 +2,28 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. --e git://github.com/openstack/heat.git@stable/mitaka#egg=heat +-e git://github.com/openstack/heat.git@stable/newton#egg=heat -e git://git.openstack.org/openstack/python-group-based-policy-client.git@master#egg=gbpclient # Hacking already pins down pep8, pyflakes and flake8 hacking<0.11,>=0.10.0 -bandit>=0.17.3 # Apache-2.0 +bandit>=1.1.0 # Apache-2.0 coverage>=3.6 # Apache-2.0 -kombu>=3.0.25 # BSD -mock>=1.2 # BSD +fixtures>=3.0.0 # Apache-2.0/BSD +kombu<4.0.0,>=3.0.25 # BSD +mock>=2.0 # BSD mox3>=0.7.0 # Apache-2.0 -PyMySQL>=0.6.2 # MIT License +PyMySQL!=0.7.7,>=0.6.2 # MIT License +openstackdocstheme>=1.5.0 # Apache-2.0 +os-api-ref>=1.0.0 # Apache-2.0 oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 -paramiko>=1.16.0 # LGPL qpid-python;python_version=='2.7' # Apache-2.0 psycopg2>=2.5 # LGPL/ZPL +python-glanceclient>=2.3.0,!=2.4.0,<2.6.0 python-troveclient<2.6.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT testresources>=0.2.4 # Apache-2.0/BSD -reno>=0.1.1 # Apache2 +reno>=1.8.0 # Apache2