Hi everyone,
we're currently setting up a Gerrit on our OpenShift Cluster and ran into some trouble. We are using Keycloak as an identity provider which has been successfully setup in the config.
I can access the Gerrit GUI with my Keycloak Login and I am granted administrational rights. Hence I was able to create repositories etc.
When trying to clone my newly created test_repo, I receive a Code 503. When trying to using SSH I get a
ssh: connect to host gerrit.apps.composer.nfd.whv.sa-dxc port 29418: Connection timed out"
fatal: Could not read from remote repository.
message.
We curled the repo with
to verify that we can at least talk to the API. GET calls worked properly, I did receive a response with the actual list of projects.
We found two additional oddities:
- When I logged in, the user group "user/Sebastian Siegert (ssiegert)" has been created, when I try to access it I get a Code 400 - Group does not exist
- I can't modify SSH information, so I can't manually create a certificate and assign it to my account (probably because the identity data comes from Keycloak)
We are using Gerrit 3.2.6 on an OpenShift 4.7 cluster.
Do you have any clue why REST calls work but git does not? Does anyone have experience in hosting Gerrit on OpenShift or at least Kubernetes and has run into similar troubles? I'd really appreciate any idea.
Regards
Sebastian