8000 [26.0.5] Migration from 25.0.1 · Issue #34662 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[26.0.5] Migration from 25.0.1 #34662
Closed as not planned
Closed as not planned
@saini2244

Description

@saini2244

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

Not able migrate from 25.0.1 to 26.0.5 version

Version

25.0.1

Regression

  • The issue is a regression

Expected behavior

Keycloak should be able to migrate from 25.0.1 to 26.0.5

Actual behavior

Not able to migrate with 400 realms, keycloak restart after 6 minutes with the following errors


Updating the configuration and installing your custom providers, if any. Please wait.

2024-10-28 10:41:00,584 INFO  [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 8995ms

2024-10-28 10:41:01,454 ERROR [org.keycloak.quarkus.runtime.configuration.mappers.PropertyMappers] (main) Hostname v1 options [hostname-admin-url, hostname-url] are still in use, please review your configuration

2024-10-28 10:41:02,526 INFO  [org.keycloak.url.HostnameV2ProviderFactory] (main) If hostanme is specified, hostname-strict is effectively ignored

2024-10-28 10:41:04,091 INFO  [org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory] (main) Starting Infinispan embedded cache manager

2024-10-28 10:41:04,217 INFO  [org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory] (main) Persistent user sessions enabled and no memory limit found in configuration. Setting max entries for sessions to 10000 entries.

2024-10-28 10:41:04,217 INFO  [org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory] (main) Persistent user sessions enabled and no memory limit found in configuration. Setting max entries for clientSessions to 10000 entries.

2024-10-28 10:41:04,217 INFO  [org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory] (main) Persistent user sessions enabled and no memory limit found in configuration. Setting max entries for offlineSessions to 10000 entries.

2024-10-28 10:41:04,217 INFO  [org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory] (main) Persistent user sessions enabled and no memory limit found in configuration. Setting max entries for offlineClientSessions to 10000 entries.

2024-10-28 10:41:04,611 INFO  [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'

2024-10-28 10:41:05,485 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_32675, Site name: null

2024-10-28 10:41:06,687 WARN  [io.agroal.pool] (main) Datasource '<default>': JDBC resources leaked: 2 ResultSet(s) and 0 Statement(s)

2024-10-28 10:41:07,166 INFO  [org.keycloak.storage.datastore.DefaultMigrationManager] (main) Migrating older model to 26.0.0

2024-10-28 10:46:06,719 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check processing TX 0:ffff0ae000f3:91e5:671f6a40:7 in state  RUN

2024-10-28 10:46:06,719 INFO  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012404: Action id 0:ffff0ae000f3:91e5:671f6a40:7 - thread main at time 10:44:06.720 had stackTrace java.base/sun.nio.ch.Net.poll(Native Method)

java.base/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:191)

java.base/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:201)

java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)

java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)

java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)

java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)

java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)

java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:483)

java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)

java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461)

java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1066)

org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:192)

org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:159)

org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:144)

org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:76)

org.postgresql.core.PGStream.receiveChar(PGStream.java:476)

org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2174)

org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)

How to Reproduce?

  1. install keycloak 25.0.1
  2. create 400 realms
  3. create one client in each realm
  4. create 2 user per realm
  5. deploy keycloak with image 26.0.5 on existing database

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0