aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorTaavi Ansper <taaviansperr@gmail.com>2026-02-06 14:07:48 +0200
committerTaavi Ansper <taaviansperr@gmail.com>2026-04-15 12:23:10 +0000
commit1264c46c67690abb900d74552d100746fcfa921e (patch)
treee79c5afa68bd258c6cf163fd7b5b0b6a06a5497c /tests/run.yml
parenta80b14c1e9ddc39ee7cf0e6050400d6daf43fe24 (diff)
downloadkolla-ansible-1264c46c67690abb900d74552d100746fcfa921e.tar.gz
kolla-ansible-1264c46c67690abb900d74552d100746fcfa921e.zip
Fix keystone with IDP configured.
1. Add CI coverage for keystone_identity_providers under federation scenario. 2. Add fix for federation config in keystone role if keystone_identity_providers is defined. 3. Update Horizon tests with federation example. 4. Use openstack.cloud ansible modules instead of python-openstackclient in register_identity_providers.yml Closes-Bug: #2134455 Change-Id: Id03bc5770c3856c7c09a34e327b33786d7b7d859 Signed-off-by: Taavi Ansper <taaviansperr@gmail.com>
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/run.yml b/tests/run.yml
index b7c8fc702..78d34d8eb 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -164,6 +164,8 @@
- neutron
- nova
- bifrost
+ - keystone-httpd/federation/oidc/metadata
+ - keystone-httpd/federation/oidc/attribute_maps
- name: Generate configuration files
template:
@@ -210,6 +212,19 @@
- src: "tests/templates/tenks-deploy-config.yml.j2"
dest: "{{ ansible_env.HOME }}/tenks.yml"
when: "{{ scenario == 'ironic' }}"
+ # keystone-federation config
+ - src: "tests/templates/keystone-federation/idp.example.org%2Frealms%2Fexample.conf.j2"
+ dest: "/etc/kolla/config/keystone-httpd/federation/oidc/metadata/idp.example.org%2Frealms%2Fexample.conf"
+ when: "{{ scenario == 'federation' }}"
+ - src: "tests/templates/keystone-federation/idp.example.org%2Frealms%2Fexample.provider.j2"
+ dest: "/etc/kolla/config/keystone-httpd/federation/oidc/metadata/idp.example.org%2Frealms%2Fexample.provider"
+ when: "{{ scenario == 'federation' }}"
+ - src: "tests/templates/keystone-federation/idp.example.org%2Frealms%2Fexample.client.j2"
+ dest: "/etc/kolla/config/keystone-httpd/federation/oidc/metadata/idp.example.org%2Frealms%2Fexample.client"
+ when: "{{ scenario == 'federation' }}"
+ - src: "tests/templates/keystone-federation/attribute_mapping.json"
+ dest: "/etc/kolla/config/keystone-httpd/federation/oidc/attribute_maps/attribute_mapping.json"
+ when: "{{ scenario == 'federation' }}"
when: item.when | default(true)
- block: