Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/keycloak] Keycloak helm chart uses incompatible keycloak-config-cli #24480

Closed
joaocc opened this issue Mar 15, 2024 · 10 comments
Closed
Assignees
Labels
keycloak solved stale 15 days without activity tech-issues The user has a technical issue about an application

Comments

@joaocc
Copy link

joaocc commented Mar 15, 2024

Name and Version

bitnami/keycloak 19.3.3

What architecture are you using?

None

What steps will reproduce the bug?

Deploy helm chart

Are you using any custom parameters or values?

No response

What is the expected behavior?

No response

What do you see instead?

2024-03-15 13:45:37.867  WARN 1 --- [           main] d.a.k.config.provider.KeycloakProvider   : Local keycloak-config-cli (5.11.1-24.0.1) and remote Keycloak (23.0.7) may not compatible.
2024-03-15 13:45:38.114 ERROR 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Cannot create realm 'client-0': HTTP 500 Internal Server Error{"error":"unknown_error"}
2024-03-15 13:45:38.115  INFO 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : keycloak-config-cli running in 00:01.386.

Additional information

In standard keycloak images, keycloak-config-cli allows specifying tag that includes a reference to a compatible keycloak version.
In the case of bitnami/keycloak helm chart v19.3.3, it is using bitnami/keycloak docker v23.0.7-debian-12-r3, while bitnami/keycloak-config-cli v5.11.1-debian-12-r0, which seems to be compatible with keycloak v24+

@joaocc joaocc added the tech-issues The user has a technical issue about an application label Mar 15, 2024
@github-actions github-actions bot added the triage Triage is needed label Mar 15, 2024
@javsalgar javsalgar changed the title Keycloak helm chart uses incompatible keycloak-config-cli [bitnami/keycloak] Keycloak helm chart uses incompatible keycloak-config-cli Mar 18, 2024
@github-actions github-actions bot assigned rafariossaa and unassigned javsalgar Mar 18, 2024
@github-actions github-actions bot removed the triage Triage is needed label Mar 18, 2024
@Selveris
Copy link

I've got the same issue too, managed to resolve it by downgrading keycloak-config-cli to version 5.10.0

Would be great if there was a table in the README showing the compatibility between the config-cli and keycloak versions

@joaocc
Copy link
Author

joaocc commented Mar 25, 2024

in the upstream docker images (non-bitnami) they have a set of tags equivalent to "latest compatible with keycloak version x.y.z" which is well thought out, but requires a way of tagging things which doesn't match bitnami common scheme.

Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Apr 10, 2024
@tanadeau
Copy link

This is still an issue.

@joaocc
Copy link
Author

joaocc commented Apr 10, 2024

Hi. Any updates on this? Thx

Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
@joaocc
Copy link
Author

joaocc commented Apr 16, 2024

Would like to keep this open, as this issue is bound to affect future releases where versions for keycloak and keycloak-cli are not compatible at some point in time

@javsalgar javsalgar reopened this Apr 18, 2024
@github-actions github-actions bot added triage Triage is needed and removed solved labels Apr 18, 2024
@github-actions github-actions bot removed the triage Triage is needed label Apr 18, 2024
@github-actions github-actions bot assigned juan131 and unassigned rafariossaa and carrodher Apr 18, 2024
@juan131
Copy link
Contributor

juan131 commented Apr 22, 2024

Hi everyone,

We have automations in place that update the containers and the chart with the latest releases from branch 5.x for keycloak-config-cli (tracking https://github.com/adorsys/keycloak-config-cli/releases) and branch 24.x for keycloak (tracking https://github.com/keycloak/keycloak/releases).

This automation is currently incapable of detecting incompatibilities, so please we encourage you to report any issue you may find.

@joaocc
Copy link
Author

joaocc commented Apr 22, 2024

Not sure if that is enough, as the error message seems at collision with the changelog statement (23.0.7 and 5.11.x).
If this is an one off case where they are removing compat, maybe it's enough upgrading the versions.

5.11.0 - 2024-03-12

Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keycloak solved stale 15 days without activity tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

8 participants