⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@xingxingxia
Copy link
Contributor

Before, the keycloak setup step uses https://github.com/keycloak/keycloak-quickstarts/blob/latest/openshift/keycloak.yaml. It is outdated, and also incorrect in probes endpoints which causes the test [Monitor:legacy-test-framework-invariants-pathological][sig-arch] events should not repeat pathologically fails with event happened 631 times, something is wrong: namespace/keycloak ... Liveness probe warning: Probe terminated redirects in jobs

Now, update the keycloak setup step to use the actively maintained https://github.com/keycloak/keycloak-quickstarts/blob/main/kubernetes/keycloak.yaml.

Tested the PR with:

$ export KUBECONFIG=/path/to/admin/kubeconfig
$ export SHARED_DIR=/path/to/dir_of_admin_kubeconfig

$ cd ci-operator/step-registry/idp/external-oidc/
$ bash keycloak/server/idp-external-oidc-keycloak-server-commands.sh
$ bash idp-external-oidc-commands.sh
Above commands succeeded.

And logins regression tests passed:
$ cat $SHARED_DIR/runtime_env # To see the test users passwords, e.g. "keycloak-testuser-1"
$ KEYCLOAK_HOST=https://$(oc get -n keycloak route keycloak --template='{{ .spec.host }}')
$ mkdir -p /tmp/router-ca
$ oc extract cm/default-ingress-cert -n openshift-config-managed --to=/tmp/router-ca --confirm
$ oc login --exec-plugin=oc-oidc --issuer-url=$KEYCLOAK_HOST/realms/master --client-id=oc-cli-test --extra-scopes=email --callback-port=8080 --oidc-certificate-authority /tmp/router-ca/ca-bundle.crt
Logged into "https://api.xxxx:6443/" as "oidc-user-test:[email protected]" from an external oidc issuer.

Open Console in browser, input the test user e.g. "keycloak-testuser-1" / password, then login to console succeeded.

CC @liouk

@openshift-ci openshift-ci bot requested review from heliubj18 and xiuwang January 16, 2026 12:57
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 16, 2026
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@xingxingxia: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-cluster-authentication-operator-master-e2e-aws-external-oidc-conformance-parallel openshift/cluster-authentication-operator presubmit Registry content changed
pull-ci-openshift-cluster-authentication-operator-master-e2e-aws-external-oidc-conformance-serial openshift/cluster-authentication-operator presubmit Registry content changed
pull-ci-openshift-cluster-authentication-operator-release-4.23-e2e-aws-external-oidc-conformance-parallel openshift/cluster-authentication-operator presubmit Registry content changed
pull-ci-openshift-cluster-authentication-operator-release-4.23-e2e-aws-external-oidc-conformance-serial openshift/cluster-authentication-operator presubmit Registry content changed
pull-ci-openshift-cluster-authentication-operator-release-4.22-e2e-aws-external-oidc-conformance-parallel openshift/cluster-authentication-operator presubmit Registry content changed
pull-ci-openshift-cluster-authentication-operator-release-4.22-e2e-aws-external-oidc-conformance-serial openshift/cluster-authentication-operator presubmit Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-aws-ipi-external-oidc-entraid-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-azure-ipi-external-oidc-entraid-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.22-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-external-oidc-entraid-f14 N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.21-periodics-e2e-aws-external-oidc N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-aws-ipi-external-oidc-entraid-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.20-periodics-e2e-aws-external-oidc N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.21-amd64-nightly-aws-ipi-external-oidc-entraid-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.20-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-external-oidc-techpreview N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.21-periodics-e2e-aws-external-oidc-techpreview N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-external-oidc-entraid-tp-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.21-amd64-nightly-azure-ipi-external-oidc-entraid-tp-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-gcp-upi-external-oidc-keycloak-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.21-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-f14 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-azure-ipi-external-oidc-entraid-tp-f14 N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-external-oidc N/A periodic Registry content changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@xingxingxia
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.21-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-f14

@openshift-ci-robot
Copy link
Contributor

@xingxingxia: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@xingxingxia
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-external-oidc

@openshift-ci-robot
Copy link
Contributor

@xingxingxia: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@xingxingxia
Copy link
Contributor Author

/pj-rehearse pull-ci-openshift-cluster-authentication-operator-release-4.22-e2e-aws-external-oidc-conformance-parallel

@openshift-ci-robot
Copy link
Contributor

@xingxingxia: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@liouk
Copy link
Member

liouk commented Jan 16, 2026

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 16, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liouk, xingxingxia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2026

@xingxingxia: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-openshift-openshift-tests-private-release-4.21-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-f14 b9b5d6c link unknown /pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.21-multi-nightly-gcp-ipi-ovn-ipsec-arm-mixarch-external-oidc-keycloak-f14
ci/rehearse/periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-external-oidc b9b5d6c link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-external-oidc
ci/rehearse/openshift/cluster-authentication-operator/release-4.22/e2e-aws-external-oidc-conformance-parallel b9b5d6c link unknown /pj-rehearse pull-ci-openshift-cluster-authentication-operator-release-4.22-e2e-aws-external-oidc-conformance-parallel

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants