Skip to content

Commit 88c9a01

Browse files
authored
Remove keycloak integration from testbed (#2600)
We will add it again later when the Keycloak integration has been revised. Signed-off-by: Christian Berendt <[email protected]>
1 parent 7275853 commit 88c9a01

File tree

18 files changed

+0
-331
lines changed

18 files changed

+0
-331
lines changed

Makefile

-8
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ baremetal: setup manager ## Deploy only baremetal services.
120120
TERRAFORM=$(TERRAFORM) \
121121
deploy-baremetal
122122

123-
.PHONY: identity
124-
identity: setup manager ## Deploy only identity services.
125-
make -C terraform \
126-
CLOUD=$(CLOUD) \
127-
ENVIRONMENT=$(ENVIRONMENT) \
128-
TERRAFORM=$(TERRAFORM) \
129-
deploy-identity
130-
131123
.PHONY: ceph
132124
ceph: setup manager ## Deploy only ceph services.
133125
make -C terraform \

contrib/openstack-cli/clouds-public.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,3 @@ public-clouds:
66
auth_url: https://api.testbed.osism.xyz:5000
77
interface: 'public'
88
identity_api_version: 3
9-
testbed-keycloak:
10-
cacert: ~/.config/openstack/testbed.crt
11-
auth:
12-
auth_url: https://api.testbed.osism.xyz:5000
13-
# yamllint disable-line rule:line-length
14-
discovery_endpoint: https://keycloak.testbed.osism.xyz/auth/realms/osism/.well-known/openid-configuration
15-
protocol: openid
16-
client_id: keystone
17-
client_secret: 0056b89c-030f-486b-a6ad-f0fa398fa4ad
18-
interface: 'public'
19-
identity_api_version: 3
20-
auth_type: v3oidcpassword
21-
identity_provider: keycloak

contrib/openstack-cli/clouds.yaml.example

-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ clouds:
2222
project_name: test
2323
project_domain_name: default
2424
user_domain_name: default
25-
testbed-alice:
26-
profile: testbed-keycloak
27-
auth:
28-
username: alice
29-
project_name: test

environments/infrastructure/configuration.yml

-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ homer_url_ceph: "https://api-int.testbed.osism.xyz:8140"
2424
homer_url_flower: "https://flower.testbed.osism.xyz/"
2525
homer_url_grafana: "https://api-int.testbed.osism.xyz:3000"
2626
homer_url_horizon: "https://api.testbed.osism.xyz/"
27-
homer_url_keycloak: "https://keycloak.testbed.osism.xyz/auth"
2827
homer_url_kibana: "https://api-int.testbed.osism.xyz:5601"
2928
homer_url_netbox: "https://netbox.testbed.osism.xyz"
3029
homer_url_netdata: "http://testbed-manager:19999"
@@ -33,12 +32,6 @@ homer_url_phpmyadmin: "https://phpmyadmin.testbed.osism.xyz/"
3332
homer_url_prometheus: "https://api-int.testbed.osism.xyz:9091/"
3433
homer_url_rabbitmq: "https://api-int.testbed.osism.xyz:15672/"
3534

36-
##########################
37-
# keycloak
38-
39-
keycloak_traefik: true
40-
keycloak_host: keycloak.testbed.osism.xyz
41-
4235
##########################
4336
# netbox
4437

environments/kolla/configuration.yml

-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ openstack_logging_debug: "True"
3838
opensearch_soft_retention_period_days: 1
3939
opensearch_hard_retention_period_days: 1
4040

41-
# keystone
42-
enable_keystone_federation: "no"
43-
keystone_enable_federation_openid: "no"
44-
4541
# neutron
4642
neutron_plugin_agent: ovn
4743
neutron_ovn_availability_zones:

environments/kolla/files/overlays/horizon/_9999-custom-settings.py

-15
This file was deleted.

environments/kolla/files/overlays/horizon/custom_local_settings

-15
This file was deleted.

environments/kolla/files/overlays/keystone/federation/oidc/attribute_maps/oidc_attribute_mappingId1.json

-42
This file was deleted.

environments/kolla/files/overlays/keystone/federation/oidc/metadata/.gitkeep

Whitespace-only changes.

environments/kolla/files/overlays/keystone/keystone.conf

-7
This file was deleted.

environments/kolla/files/overlays/keystone/wsgi-keystone.conf

-138
This file was deleted.

environments/kolla/group_vars/keystone.yml

-16
This file was deleted.

inventory/group_vars/testbed-nodes.yml

-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ docker_proxy_no_proxy_extra:
2929
- api-int
3030
- api-int.testbed.osism.xyz
3131
- api.testbed.osism.xyz
32-
- keycloak.testbed.osism.xyz
3332
- nexus.testbed.osism.xyz
3433
- testbed-manager
3534

@@ -48,7 +47,6 @@ proxy_no_proxy_extra:
4847
- api-int
4948
- api-int.testbed.osism.xyz
5049
- api.testbed.osism.xyz
51-
- keycloak.testbed.osism.xyz
5250
- nexus.testbed.osism.xyz
5351
- testbed-manager
5452

scripts/customisations/external-api.sh

-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ sed -i "s/auth_url: .*/auth_url: https:\/\/${api_fqdn}:5000\/v3/g" /opt/configur
3636
# overwrite fqdn for internal use
3737
sed -i "s/api.testbed.osism.xyz: .*/${api_fqdn}: 192.168.16.254/g" /opt/configuration/environments/configuration.yml
3838

39-
# do not use keystone logout url
40-
sed -i "/keystone_logout_url: .*/d" /opt/configuration/environments/kolla/configuration.yml
41-
4239
# add traefik ports + services + routers
4340
cat >> /opt/configuration/environments/infrastructure/configuration.yml <<%EOF
4441

scripts/deploy-identity.sh

-35
This file was deleted.

scripts/deploy-manager.sh

-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ docker version
2121
# deploy manager ervice
2222
sh -c '/opt/configuration/scripts/deploy/000-manager.sh'
2323

24-
# Do not use the Keystone/Keycloak integration by default. We only use this integration
25-
# in a special identity testbed.
26-
rm -f /opt/configuration/environments/kolla/files/overlays/horizon/_9999-custom-settings.py
27-
rm -f /opt/configuration/environments/kolla/files/overlays/horizon/custom_local_settings
28-
rm -f /opt/configuration/environments/kolla/files/overlays/keystone/wsgi-keystone.conf
29-
rm -f /opt/configuration/environments/kolla/group_vars/keystone.yml
30-
rm -rf /opt/configuration/environments/kolla/files/overlays/keystone/federation
31-
3224
# bootstrap nodes
3325
osism apply operator -u $IMAGE_NODE_USER -l testbed-nodes
3426
osism apply --environment custom facts

0 commit comments

Comments
 (0)