Use keystone v3 instead of v2

This patch replaces parameters for keystone v2 in README and
test codes by the ones for keystone v3, as currently keystone
v2 should not be used anymore.

Change-Id: I6b063dd980e414bfb7c7a94612076690daa85b2d
This commit is contained in:
Takashi Kajinami 2019-06-19 14:33:36 +09:00
parent 818cd4111f
commit 3c640ebf12
2 changed files with 9 additions and 5 deletions

View File

@ -79,10 +79,14 @@ Edit keystone section in `/etc/kuryr/kuryr.conf`, replace ADMIN_PASSWORD:
::
www_authenticate_uri = http://127.0.0.1:35357/v2.0
admin_user = admin
admin_tenant_name = service
admin_password = ADMIN_PASSWORD
auth_type = v3password
auth_url = http://127.0.0.1:5000
region_name = regionOne
user_doamin_name = Default
username = admin
project_domain_name = Default
project_name = service
password = ADMIN_PASSWORD
In the same file uncomment the `bindir` parameter with the path for the Kuryr

View File

@ -27,7 +27,7 @@ class TestKuryrUtils(base.TestCase):
def setUp(self):
super(TestKuryrUtils, self).setUp()
self.fake_url = 'http://127.0.0.1:9696'
self.fake_auth_url = 'http://127.0.0.1:35357/v2.0'
self.fake_auth_url = 'http://127.0.0.1:5000'
def test_get_subnetpool_name(self):
fake_subnet_cidr = "10.0.0.0/16"