Skip to content

Commit 0444571

Browse files
authored
Merge pull request ceph#52494 from alimaredia/wip-rgw-crypt-keystone-fix
qa: fix keystone in rgw/crypt/barbican.yaml Reviewed-by: Ali Maredia <amaredia@redhat.com>
2 parents b069f06 + 863f8d7 commit 0444571

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

qa/suites/rgw/crypt/2-kms/barbican.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ tasks:
2727
- tox: [ client.0 ]
2828
- keystone:
2929
client.0:
30-
force-branch: stable/xena
30+
force-branch: stable/2023.1
31+
services:
32+
- name: swift
33+
type: object-store
34+
description: Swift Service
3135
projects:
3236
- name: rgwcrypt
3337
description: Encryption Tenant
@@ -62,10 +66,6 @@ tasks:
6266
- name: creator
6367
user: s3-user
6468
project: s3
65-
services:
66-
- name: swift
67-
type: object-store
68-
description: Swift Service
6969
- barbican:
7070
client.0:
7171
force-branch: stable/xena

qa/suites/rgw/crypt/supported-random-distro$

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.qa/distros/all/ubuntu_latest.yaml

qa/tasks/barbican.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,8 @@ def set_authtoken_params(ctx, cclient, cconfig):
136136
['sed', '-i',
137137
'/[[]filter:authtoken]/{p;s##'+'auth_uri = {}'.format(url)+'#;}',
138138
'etc/barbican/barbican-api-paste.ini'])
139-
admin_host, admin_port = ctx.keystone.admin_endpoints[keystone_role]
140-
admin_url = 'http://{host}:{port}/v3'.format(host=admin_host,
141-
port=admin_port)
139+
admin_url = 'http://{host}:{port}/v3'.format(host=public_host,
140+
port=public_port)
142141
run_in_barbican_dir(ctx, cclient,
143142
['sed', '-i',
144143
'/[[]filter:authtoken]/{p;s##'+'auth_url = {}'.format(admin_url)+'#;}',

0 commit comments

Comments
 (0)