KC 19: No system-wide ClusterProviderFactory found

I am trying an upgrade from 18.0.2 to 19.0.0, but keycloak errors out due to

No system-wide ClusterProviderFactory found.

The image is build with:

kc.sh build --cache=ispn --cache-stack=kubernetes

I did also replicate the settings in the runtime container, to make sure the auto build would also work (as the start --optimized was not able to get all values correctly)

failing with 19.0.0

2022-07-29 10:05:04,034 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
2022-07-29 10:05:04,050 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2022-07-29 10:05:04,112 WARN [org.keycloak.services.DefaultComponentFactoryProviderFactory] (main) No system-wide ClusterProviderFactory found. Cannot send messages across cluster, thus disabling caching of components. Consider setting cachingForced option in single-node deployment.
2022-07-29 10:05:04,190 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000128: Infinispan version: Infinispan 'Triskaidekaphobia' 13.0.9.Final
2022-07-29 10:05:04,261 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000078: Starting JGroups channel `ISPN`
2022-07-29 10:05:06,320 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000094: Received new cluster view for channel ISPN: [kctest-0-45417|0] (1) [kctest-0-45417]
2022-07-29 10:05:06,331 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000079: Channel `ISPN` local address is `kctest-0-45417`, physical addresses are `[10.42.0.24:7800]`
2022-07-29 10:05:06,640 INFO [org.infinispan.CLUSTER] (main) ISPN000080: Disconnecting JGroups channel `ISPN`
2022-07-29 10:05:06,760 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
2022-07-29 10:05:06,761 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Cannot invoke "org.keycloak.connections.infinispan.InfinispanConnectionProvider.getCache(String)" because "connections" is null

working version: 18.0.2

2022-07-29 09:45:43,902 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2022-07-29 09:45:43,913 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2022-07-29 09:45:44,175 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000128: Infinispan version: Infinispan 'Triskaidekaphobia' 13.0.9.Final
2022-07-29 09:45:44,332 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000078: Starting JGroups channel `ISPN`
2022-07-29 09:45:46,431 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000094: Received new cluster view for channel ISPN: [kctest-0-13214|0] (1) [kctest-0-13214]
2022-07-29 09:45:46,436 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000079: Channel `ISPN` local address is `kctest-0-13214`, physical addresses are `[10.42.3.154:7800]`
2022-07-29 09:45:46,876 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: kctest-0-13214, Site name: null
2022-07-29 09:45:48,260 INFO [io.quarkus] (main) Keycloak 2.18.2-mlz-SNAPSHOT on JVM (powered by Quarkus 2.7.5.Final) started in 7.522s. Listening on: http://0.0.0.0:8080

This probably related to Remove any legacy provider from runtime when running the new store by pedroigor · Pull Request #12963 · keycloak/keycloak · GitHub.