[S-RBAC] Switch to new policies by default
This patch changes "-new-defaults" scenario job to be "-old-defaults"
now because [1] changes Neutron to use new defaults by default so all
other scenario jobs will cover that.
[1] https://review.opendev.org/c/openstack/neutron/+/879827
Depends-On: https://review.opendev.org/c/openstack/neutron/+/879827
Change-Id: Ief16ae0f6a47a98a8e237dfc76f99aad6bb41b98
diff --git a/zuul.d/master_jobs.yaml b/zuul.d/master_jobs.yaml
index 39d1d89..dacf3d5 100644
--- a/zuul.d/master_jobs.yaml
+++ b/zuul.d/master_jobs.yaml
@@ -409,20 +409,15 @@
- ^zuul.d/(?!(project)).*\.yaml
- job:
- name: neutron-tempest-plugin-openvswitch-enforce-scope-new-defaults
+ name: neutron-tempest-plugin-openvswitch-enforce-scope-old-defaults
parent: neutron-tempest-plugin-openvswitch
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
- GLANCE_ENFORCE_SCOPE: true
- NEUTRON_ENFORCE_SCOPE: true
+ # Disabling the scope and new defaults for services to use old,
+ # deprecated policies
+ NOVA_ENFORCE_SCOPE: false
+ GLANCE_ENFORCE_SCOPE: false
+ NEUTRON_ENFORCE_SCOPE: false
# TODO(slaweq): remove that job's definition as soon as new job
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 2347c1b..d1d9717 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -5,7 +5,7 @@
- neutron-tempest-plugin-linuxbridge
- neutron-tempest-plugin-openvswitch
- neutron-tempest-plugin-openvswitch-iptables_hybrid
- - neutron-tempest-plugin-openvswitch-enforce-scope-new-defaults
+ - neutron-tempest-plugin-openvswitch-enforce-scope-old-defaults
- neutron-tempest-plugin-ovn
- neutron-tempest-plugin-designate-scenario
gate:
@@ -14,7 +14,7 @@
- neutron-tempest-plugin-openvswitch
- neutron-tempest-plugin-ovn
- neutron-tempest-plugin-openvswitch-iptables_hybrid
- - neutron-tempest-plugin-openvswitch-enforce-scope-new-defaults
+ - neutron-tempest-plugin-openvswitch-enforce-scope-old-defaults
#TODO(slaweq): Move neutron-tempest-plugin-dvr-multinode-scenario out of
# the experimental queue when it will be more stable
experimental: