charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/keycloak] 26.0.0 Infinispan error

Open VonNao opened this issue 1 year ago • 4 comments

Name and Version

bitnami/keycloak 26.0.0

What architecture are you using?

None

What steps will reproduce the bug?

I upgrade the keycloak helm chart to version 24.0.0. During the startup from keycloak 26.0.0 the following error in regards to infinispan is show and the container dosen't start.

java.lang.ClassNotFoundException: org.keycloak.models.sessions.infinispan.entities.RootAuthenticationSessionEntity$External

We arent't using any special parameters and infinispan isn't external

Environment: Kubernetes RKE2 1.30.3 Database: Postgres 16

Are you using any custom parameters or values?

No response

What is the expected behavior?

Normal Keycloak Startup

What do you see instead?

The Following Error in the logs.

java.lang.ClassNotFoundException: org.keycloak.models.sessions.infinispan.entities.RootAuthenticationSessionEntity$External

Additional information

No response

VonNao avatar Oct 09 '24 13:10 VonNao

I'm also seeing a similar error after update the helm chart from 23.0.0 to 24.0.0 .

error.log

Bykow avatar Oct 12 '24 20:10 Bykow

Hi,

As you are upgrading between major versions, it may be required to perform some manual steps. Did you check the upgrading guide? https://www.keycloak.org/docs/latest/upgrading/index.html#migrating-to-26-0-0

To help debugging the issue, you may want to set diagnosticMode.enabled=true value

javsalgar avatar Oct 14 '24 07:10 javsalgar

@VonNao I fixed my issue by scaling down to 1 (one) replicas while performing the initial upgrade.

https://github.com/keycloak/keycloak/issues/33744

I then scaled it back to 2 replicas.

Bykow avatar Oct 14 '24 08:10 Bykow

Upgrade between major release is not possible when you have multiple replica.

Jojoooo1 avatar Oct 17 '24 16:10 Jojoooo1

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[bot] avatar Nov 02 '24 01:11 github-actions[bot]

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.

github-actions[bot] avatar Nov 07 '24 01:11 github-actions[bot]