Merge "Add new tempest job enable the rbac scope checks and new defaults"

This commit is contained in:
Zuul 2022-12-07 01:05:23 +00:00 committed by Gerrit Code Review
commit 96af1d0e40
2 changed files with 28 additions and 0 deletions

View File

@ -344,6 +344,30 @@
# ENABLE_FILE_INJECTION: true # ENABLE_FILE_INJECTION: true
DATABASE_TYPE: postgresql DATABASE_TYPE: postgresql
- job:
name: tempest-full-enforce-scope-new-defaults
parent: tempest-full-py3
description: |
This job runs the Tempest tests with scope and new defaults enabled.
# TODO: remove this once https://review.opendev.org/c/openstack/neutron-lib/+/864213
# fix is released in neutron-lib
required-projects:
- openstack/neutron-lib
- openstack/neutron
vars:
devstack_localrc:
# Enabeling the scope and new defaults for services.
# NOTE: (gmann) We need to keep keystone scope check disable as
# services (except ironic) does not support the system scope and
# they need keystone to continue working with project scope. Until
# Keystone policies are changed to work for both system as well as
# for project scoped, we need to keep scope check disable for
# keystone.
NOVA_ENFORCE_SCOPE: true
CINDER_ENFORCE_SCOPE: true
GLANCE_ENFORCE_SCOPE: true
NEUTRON_ENFORCE_SCOPE: true
- project-template: - project-template:
name: integrated-gate-networking name: integrated-gate-networking
description: | description: |

View File

@ -103,6 +103,8 @@
irrelevant-files: *tempest-irrelevant-files irrelevant-files: *tempest-irrelevant-files
- nova-live-migration: - nova-live-migration:
irrelevant-files: *tempest-irrelevant-files irrelevant-files: *tempest-irrelevant-files
- tempest-full-enforce-scope-new-defaults:
irrelevant-files: *tempest-irrelevant-files
- devstack-plugin-ceph-tempest-py3: - devstack-plugin-ceph-tempest-py3:
# TODO(kopecmartin): make it voting once the below bug is fixed # TODO(kopecmartin): make it voting once the below bug is fixed
# https://bugs.launchpad.net/devstack-plugin-ceph/+bug/1975648 # https://bugs.launchpad.net/devstack-plugin-ceph/+bug/1975648
@ -150,6 +152,8 @@
irrelevant-files: *tempest-irrelevant-files-3 irrelevant-files: *tempest-irrelevant-files-3
- tempest-multinode-full-py3: - tempest-multinode-full-py3:
irrelevant-files: *tempest-irrelevant-files irrelevant-files: *tempest-irrelevant-files
- tempest-full-enforce-scope-new-defaults:
irrelevant-files: *tempest-irrelevant-files
#- devstack-plugin-ceph-tempest-py3: #- devstack-plugin-ceph-tempest-py3:
# irrelevant-files: *tempest-irrelevant-files # irrelevant-files: *tempest-irrelevant-files
#- tempest-full-centos-9-stream: #- tempest-full-centos-9-stream: