8000 Keycloak HA - Failing to startup due to database exception · Issue #9721 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Keycloak HA - Failing to startup due to database exception #9721

Closed

Description

@krp2

Describe the bug

We are trying to deploy Keycloak with HA (2 replicas) on kubernetes. However we are seeing an intermittent issue where the keycloak fails to start throwing database exception saying few tables are already existing. But database is always clean before keycloak HA installation is attempted. Attaching the logs of both replicas for reference.
Can you please suggest what could be the reason for this?
keycloak-0.log
keycloak-1.log

Version

12.0.4

Expected behavior

Keycloak HA should startup successfully always

Actual behavior

Keycloak HA is failing some times throwing database exception

How to Reproduce?

Install Keycloak HA with 2 replicas on kubernetes.
Intermittent issue occurring during startup of keycloak

Anything else?

No response

Activity

  1. locked and limited conversation to collaborators on Jan 27, 2022
  2. converted this issue into a discussion #9819 on Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes a PR related to a bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0