File tree Expand file tree Collapse file tree 7 files changed +26
-14
lines changed Expand file tree Collapse file tree 7 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,8 @@ def get_auth_uri(v3=True):
34
34
else :
35
35
# Import auth_token to have keystone_authtoken settings setup.
36
36
importutils .import_module ('keystonemiddleware.auth_token' )
37
- auth_uri = cfg .CONF .keystone_authtoken .www_authenticate_uri
37
+ try :
38
+ auth_uri = cfg .CONF .keystone_authtoken .www_authenticate_uri
39
+ except cfg .NoSuchOptError :
40
+ auth_uri = cfg .CONF .keystone_authtoken .auth_uri
38
41
return auth_uri .replace ('v2.0' , 'v3' ) if auth_uri and v3 else auth_uri
Original file line number Diff line number Diff line change @@ -571,8 +571,12 @@ def test_call_ok_auth_uri_ks_authtoken(self):
571
571
# Import auth_token to have keystone_authtoken settings setup.
572
572
importutils .import_module ('keystonemiddleware.auth_token' )
573
573
dummy_url = 'http://123:5000/v2.0'
574
- cfg .CONF .set_override ('www_authenticate_uri' , dummy_url ,
575
- group = 'keystone_authtoken' )
574
+ try :
575
+ cfg .CONF .set_override ('www_authenticate_uri' , dummy_url ,
576
+ group = 'keystone_authtoken' )
577
+ except cfg .NoSuchOptError :
578
+ cfg .CONF .set_override ('auth_uri' , dummy_url ,
579
+ group = 'keystone_authtoken' )
576
580
ec2 = ec2token .EC2Token (app = 'woot' , conf = {})
577
581
params = {'AWSAccessKeyId' : 'foo' , 'Signature' : 'xyz' }
578
582
req_env = {'SERVER_NAME' : 'heat' ,
Original file line number Diff line number Diff line change @@ -218,8 +218,12 @@ def test_keystone_v3_endpoint_in_keystone_authtoken_config(self):
218
218
[clients_keystone] section.
219
219
"""
220
220
importutils .import_module ('keystonemiddleware.auth_token' )
221
- cfg .CONF .set_override ('www_authenticate_uri' , 'http://abc/v2.0' ,
222
- group = 'keystone_authtoken' )
221
+ try :
222
+ cfg .CONF .set_override ('www_authenticate_uri' , 'http://abc/v2.0' ,
223
+ group = 'keystone_authtoken' )
224
+ except cfg .NoSuchOptError :
225
+ cfg .CONF .set_override ('auth_uri' , 'http://abc/v2.0' ,
226
+ group = 'keystone_authtoken' )
223
227
policy_check = 'heat.common.policy.Enforcer.check_is_admin'
224
228
with mock .patch (policy_check ) as pc :
225
229
pc .return_value = False
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pika==0.10.0
90
90
ply==3.11
91
91
prettytable==0.7.2
92
92
psutil==5.4.3
93
- psycopg2==2.6.2
93
+ psycopg2==2.7
94
94
pyasn1==0.4.2
95
95
pycadf==2.7.0
96
96
pycparser==2.18
@@ -102,7 +102,7 @@ pyOpenSSL==17.5.0
102
102
pyparsing==2.2.0
103
103
pyperclip==1.6.0
104
104
python-barbicanclient==4.5.2
105
- python-blazarclient===1.0.0
105
+ python-blazarclient===1.0.1
106
106
python-ceilometerclient==2.5.0
107
107
python-cinderclient==3.3.0
108
108
python-dateutil==2.7.0
@@ -111,7 +111,7 @@ python-editor==1.0.3
111
111
python-glanceclient==2.8.0
112
112
python-heatclient==1.10.0
113
113
python-keystoneclient==3.8.0
114
- python-magnumclient==2.1 .0
114
+ python-magnumclient==2.3 .0
115
115
python-manilaclient==1.16.0
116
116
python-mimeparse==1.6.0
117
117
python-mistralclient==3.1.0
@@ -124,7 +124,7 @@ python-saharaclient==1.4.0
124
124
python-subunit==1.2.0
125
125
python-swiftclient==3.2.0
126
126
python-troveclient==2.2.0
127
- python-zaqarclient==1.0 .0
127
+ python-zaqarclient==1.3 .0
128
128
python-zunclient==2.0.0
129
129
pytz==2013.6
130
130
PyYAML==3.12
@@ -153,7 +153,7 @@ unittest2==1.1.0
153
153
urllib3==1.22
154
154
vine==1.1.4
155
155
voluptuous==0.11.1
156
- warlock==1.3 .0
156
+ warlock==1.2 .0
157
157
WebOb==1.7.1
158
158
websocket-client==0.47.0
159
159
wrapt==1.10.11
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ oslo.versionedobjects>=1.31.2 # Apache-2.0
33
33
PasteDeploy >= 1.5.0 # MIT
34
34
aodhclient >= 0.9.0 # Apache-2.0
35
35
python-barbicanclient >= 4.5.2 # Apache-2.0
36
- python-blazarclient >= 1.0.0 # Apache-2.0
36
+ python-blazarclient >= 1.0.1 # Apache-2.0
37
37
python-cinderclient >= 3.3.0 # Apache-2.0
38
38
python-designateclient >= 2.7.0 # Apache-2.0
39
39
python-glanceclient >= 2.8.0 # Apache-2.0
40
40
python-heatclient >= 1.10.0 # Apache-2.0
41
41
python-keystoneclient >= 3.8.0 # Apache-2.0
42
- python-magnumclient >= 2.1 .0 # Apache-2.0
42
+ python-magnumclient >= 2.3 .0 # Apache-2.0
43
43
python-manilaclient >= 1.16.0 # Apache-2.0
44
44
python-mistralclient != 3.2.0 ,>= 3.1.0 # Apache-2.0
45
45
python-monascaclient >= 1.12.0 # Apache-2.0
@@ -50,7 +50,7 @@ python-openstackclient>=3.12.0 # Apache-2.0
50
50
python-saharaclient >= 1.4.0 # Apache-2.0
51
51
python-swiftclient >= 3.2.0 # Apache-2.0
52
52
python-troveclient >= 2.2.0 # Apache-2.0
53
- python-zaqarclient >= 1.0 .0 # Apache-2.0
53
+ python-zaqarclient >= 1.3 .0 # Apache-2.0
54
54
python-zunclient >= 2.0.0 # Apache-2.0
55
55
pytz >= 2013.6 # MIT
56
56
PyYAML >= 3.12 # MIT
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ kombu!=4.0.2,>=4.0.0 # BSD
11
11
mock>=2.0.0 # BSD
12
12
PyMySQL>=0.7.6 # MIT License
13
13
oslotest>=3.2.0 # Apache-2.0
14
- psycopg2>=2.6.2 # LGPL/ZPL
14
+ psycopg2>=2.7 # LGPL/ZPL
15
15
stestr>=2.0.0 # Apache-2.0
16
16
testscenarios>=0.4 # Apache-2.0/BSD
17
17
testtools>=2.2.0 # MIT
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
135
135
136
136
[testenv:lower-constraints]
137
137
basepython = python3
138
+ install_command = pip install {opts} {packages}
138
139
deps =
139
140
-c{toxinidir}/lower-constraints.txt
140
141
-r{toxinidir}/test-requirements.txt
You can’t perform that action at this time.
0 commit comments