Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qa/qa_scripts/openstack/files/cinder.template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2810,7 +2810,7 @@ auth_uri = http://VARINET4ADDR:5000/v2.0
# Complete admin Identity API endpoint. This should specify the unversioned
# root endpoint e.g. https://localhost:35357/ (string value)
#identity_uri = <None>
identity_uri = http://VARINET4ADDR:35357
identity_uri = http://VARINET4ADDR:5000

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tobias-urdin I'm not sure which other teuthology suites are using these cinder, glance, and nova confs but I know the RGW suites aren't. Could we remove these changes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure either it might be old stuff just laying around?

We could just ignore it yeah but since we remove that port for example the config would never work with the teuthology suite either way.


# This option is deprecated and may be removed in a future release. Single
# shared secret with the Keystone configuration used for bootstrapping a
Expand Down
2 changes: 1 addition & 1 deletion qa/qa_scripts/openstack/files/glance-api.template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ auth_uri=http://VARINET4ADDR:5000/v2.0
# unversioned root endpoint e.g. https://localhost:35357/ (string
# value)
#identity_uri=<None>
identity_uri=http://VARINET4ADDR:35357
identity_uri=http://VARINET4ADDR:5000

# This option is deprecated and may be removed in a future release.
# Single shared secret with the Keystone configuration used for
Expand Down
2 changes: 1 addition & 1 deletion qa/qa_scripts/openstack/files/nova.template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,7 @@ auth_uri=http://VARINET4ADDR:5000/v2.0
# Complete admin Identity API endpoint. This should specify the unversioned
# root endpoint e.g. https://localhost:35357/ (string value)
#identity_uri=<None>
identity_uri=http://VARINET4ADDR:35357
identity_uri=http://VARINET4ADDR:5000

# This option is deprecated and may be removed in a future release. Single
# shared secret with the Keystone configuration used for bootstrapping a
Expand Down
4 changes: 4 additions & 0 deletions qa/suites/rgw/crypt/1-ceph-install/install.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
tasks:
- install:
# extra packages added for the rgw-datacache task
extra_system_packages:
deb: ['python3.9']
rpm: ['python39']
- ceph:
8 changes: 4 additions & 4 deletions qa/suites/rgw/crypt/2-kms/barbican.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ overrides:
rgw keystone barbican password: rgwcrypt-pass
rgw keystone barbican domain: Default
rgw keystone api version: 3
rgw keystone accepted roles: admin,Member,creator
rgw keystone accepted roles: admin,member,creator
rgw keystone implicit tenants: true
rgw keystone accepted admin roles: admin
rgw swift enforce content length: true
Expand All @@ -27,7 +27,7 @@ tasks:
- tox: [ client.0 ]
- keystone:
client.0:
force-branch: stable/xena
force-branch: stable/2023.1
projects:
- name: rgwcrypt
description: Encryption Tenant
Expand All @@ -51,9 +51,9 @@ tasks:
password: s3-pass
project: s3
domain: default
roles: [ name: Member, name: creator ]
roles: [ name: creator ]
role-mappings:
- name: Member
- name: member
user: rgwcrypt-user
project: rgwcrypt
- name: admin
Expand Down
2 changes: 1 addition & 1 deletion qa/suites/rgw/service-token/overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ overrides:
debug rgw: 20
rgw keystone api version: 3
rgw keystone url: http://localhost:5000
rgw keystone accepted roles: admin,Member
rgw keystone accepted roles: admin,member
rgw keystone implicit tenants: true
rgw keystone accepted admin roles: admin
rgw swift enforce content length: true
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rgw/tempest/overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ overrides:
setuser: ceph
setgroup: ceph
debug rgw: 20

1 change: 1 addition & 0 deletions qa/suites/rgw/tempest/supported-all-distro
12 changes: 9 additions & 3 deletions qa/suites/rgw/tempest/tasks/rgw_tempest.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
tasks:
- install:
extra_system_packages:
deb: ['python3.9']
rpm: ['python3.9']
- ceph:
- tox: [ client.0 ]
- keystone:
client.0:
force-branch: stable/xena
force-branch: stable/2023.1
services:
- name: swift
type: object-store
Expand All @@ -15,7 +18,7 @@ tasks:
use-keystone-role: client.0
- tempest:
client.0:
sha1: 30.0.0
sha1: 34.1.0
force-branch: master
use-keystone-role: client.0
auth:
Expand All @@ -35,6 +38,8 @@ tasks:
object-storage-feature-enabled:
container_sync: false
discoverability: true
# TODO(tobias-urdin): Use sha256 when supported in RadosGW
tempurl_digest_hashlib: sha1
blocklist:
- .*test_account_quotas_negative.AccountQuotasNegativeTest.test_user_modify_quota
- .*test_container_acl_negative.ObjectACLsNegativeTest.*
Expand All @@ -48,6 +53,7 @@ tasks:
- .*test_container_services.ContainerTest.test_create_container_with_remove_metadata_value
- .*test_object_expiry.ObjectExpiryTest.test_get_object_after_expiry_time
- .*test_object_expiry.ObjectExpiryTest.test_get_object_at_expiry_time
- .*test_account_services.AccountTest.test_list_no_account_metadata

overrides:
ceph:
Expand All @@ -57,7 +63,7 @@ overrides:
osd_max_pg_log_entries: 10
client:
rgw keystone api version: 3
rgw keystone accepted roles: admin,Member
rgw keystone accepted roles: admin,member
rgw keystone implicit tenants: true
rgw keystone accepted admin roles: admin
rgw swift enforce content length: true
Expand Down
1 change: 0 additions & 1 deletion qa/suites/rgw/tempest/ubuntu_latest.yaml

This file was deleted.

13 changes: 3 additions & 10 deletions qa/tasks/barbican.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,9 @@ def set_authtoken_params(ctx, cclient, cconfig):
['sed', '-i',
'/[[]filter:authtoken]/{p;s##'+'auth_uri = {}'.format(url)+'#;}',
'etc/barbican/barbican-api-paste.ini'])
admin_host, admin_port = ctx.keystone.admin_endpoints[keystone_role]
admin_url = 'http://{host}:{port}/v3'.format(host=admin_host,
port=admin_port)
run_in_barbican_dir(ctx, cclient,
['sed', '-i',
'/[[]filter:authtoken]/{p;s##'+'auth_url = {}'.format(admin_url)+'#;}',
'/[[]filter:authtoken]/{p;s##'+'auth_url = {}'.format(url)+'#;}',
'etc/barbican/barbican-api-paste.ini'])

def fix_barbican_api_paste(ctx, cclient):
Expand Down Expand Up @@ -440,9 +437,9 @@ def task(ctx, config):
- name: s3-user
password: s3-pass
project: s3
roles: [ name: Member, name: creator ]
roles: [ name: creator ]
role-mappings:
- name: Member
- name: member
user: rgwcrypt-user
project: rgwcrypt
- name: admin
Expand All @@ -451,10 +448,6 @@ def task(ctx, config):
- name: creator
user: s3-user
project: s3
services:
- name: keystone
type: identity
description: Keystone Identity Service
- barbican:
client.0:
force-branch: master
Expand Down
Loading