You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the pods in the first data plane cluster are showing Readiness probe failed: HTTP probe failed with statuscode: 500
I don't see statefulset and pods in the second data plane cluster.
Logs from one of the failing pod:
Defaulted container "cassandra" out of: cassandra, server-system-logger, jmx-credentials (init), server-config-init (init)
Starting Management API
Running java -Xms128m -Xmx128m -jar /opt/management-api/datastax-mgmtapi-server-0.1.0-SNAPSHOT.jar --cassandra-socket /tmp/cassandra.sock --host tcp://0.0.0.0:8080 --host file:///tmp/oss-mgmt.sock --explicit-start true --cassandra-home /opt/cassandra
INFO [main] 2023-01-05 15:37:54,594 Cli.java:344 - Cassandra Version 4.0.1
INFO [main] 2023-01-05 15:37:55,051 ResteasyDeploymentImpl.java:657 - RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,055 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.LifecycleResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,056 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.K8OperatorResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,056 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.KeyspaceOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,056 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.KeyspaceOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,057 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.MetadataResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,057 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.NodeOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,057 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.NodeOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,057 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.TableOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,058 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.TableOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,070 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.AuthResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,070 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource io.swagger.v3.jaxrs2.integration.resources.OpenApiResource from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,071 ResteasyDeploymentImpl.java:704 - RESTEASY002210: Adding provider singleton io.swagger.v3.jaxrs2.SwaggerSerializers from Application class com.datastax.mgmtapi.ManagementApplication
Started service on tcp://0.0.0.0:8080
INFO [main] 2023-01-05 15:37:55,531 ResteasyDeploymentImpl.java:657 - RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,531 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.LifecycleResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,532 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.K8OperatorResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,532 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.KeyspaceOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,532 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.KeyspaceOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,532 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.MetadataResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,532 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.NodeOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.NodeOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.TableOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.v1.TableOpsResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource com.datastax.mgmtapi.resources.AuthResources from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:691 - RESTEASY002220: Adding singleton resource io.swagger.v3.jaxrs2.integration.resources.OpenApiResource from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,533 ResteasyDeploymentImpl.java:704 - RESTEASY002210: Adding provider singleton io.swagger.v3.jaxrs2.SwaggerSerializers from Application class com.datastax.mgmtapi.ManagementApplication
INFO [main] 2023-01-05 15:37:55,614 IPCController.java:130 - Starting Server
INFO [main] 2023-01-05 15:37:55,634 IPCController.java:139 - Started Server
Started service on file:///tmp/oss-mgmt.sock
INFO [nioEventLoopGroup-3-1] 2023-01-05 15:38:17,078 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:38:17,098 Cli.java:617 - address=/10.241.128.39:33801 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:38:17,111 Cli.java:617 - address=/10.241.128.39:33813 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-3] 2023-01-05 15:38:26,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:38:26,941 Cli.java:617 - address=/10.241.128.39:2101 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:38:31,939 Cli.java:617 - address=/10.241.128.39:49091 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-5] 2023-01-05 15:38:36,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:38:36,941 Cli.java:617 - address=/10.241.128.39:49093 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:38:46,940 Cli.java:617 - address=/10.241.128.39:47247 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-7] 2023-01-05 15:38:46,941 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:38:46,942 Cli.java:617 - address=/10.241.128.39:47245 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-8] 2023-01-05 15:38:56,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:38:56,940 Cli.java:617 - address=/10.241.128.39:45405 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:01,940 Cli.java:617 - address=/10.241.128.39:60695 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-10] 2023-01-05 15:39:05,849 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:39:05,850 Cli.java:617 - address=/10.241.128.39:60699 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-11] 2023-01-05 15:39:06,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:06,941 Cli.java:617 - address=/10.241.128.39:60701 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:39:16,943 Cli.java:617 - address=/10.241.128.39:26013 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-13] 2023-01-05 15:39:16,943 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:16,944 Cli.java:617 - address=/10.241.128.39:26011 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-14] 2023-01-05 15:39:26,938 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:39:26,940 Cli.java:617 - address=/10.241.128.39:13321 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:31,942 Cli.java:617 - address=/10.241.128.39:46805 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-16] 2023-01-05 15:39:36,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:39:36,940 Cli.java:617 - address=/10.241.128.39:46815 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-2] 2023-01-05 15:39:46,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:46,941 Cli.java:617 - address=/10.241.128.39:22223 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:39:46,942 Cli.java:617 - address=/10.241.128.39:22221 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-3] 2023-01-05 15:39:56,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:39:56,940 Cli.java:617 - address=/10.241.128.39:42103 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:01,942 Cli.java:617 - address=/10.241.128.39:10851 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-5] 2023-01-05 15:40:06,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:40:06,940 Cli.java:617 - address=/10.241.128.39:10853 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-7] 2023-01-05 15:40:16,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:16,941 Cli.java:617 - address=/10.241.128.39:55003 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:40:16,942 Cli.java:617 - address=/10.241.128.39:55001 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-8] 2023-01-05 15:40:26,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:26,940 Cli.java:617 - address=/10.241.128.39:58719 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:40:31,939 Cli.java:617 - address=/10.241.128.39:55537 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-3-10] 2023-01-05 15:40:34,846 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:34,847 Cli.java:617 - address=/10.241.128.39:55553 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-11] 2023-01-05 15:40:36,939 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:40:36,940 Cli.java:617 - address=/10.241.128.39:55569 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-13] 2023-01-05 15:40:46,940 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:46,941 Cli.java:617 - address=/10.241.128.39:24907 url=/api/v0/probes/liveness status=200 OK
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:40:46,941 Cli.java:617 - address=/10.241.128.39:24909 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-3-14] 2023-01-05 15:40:56,938 UnixSocketCQLAccess.java:88 - Cannot create Driver CQLSession as the driver socket has not been created. This should resolve once Cassandra has started and created the socket at /tmp/cassandra.sock
INFO [nioEventLoopGroup-2-1] 2023-01-05 15:40:56,939 Cli.java:617 - address=/10.241.128.39:61605 url=/api/v0/probes/readiness status=500 Internal Server Error
INFO [nioEventLoopGroup-2-2] 2023-01-05 15:41:01,939 Cli.java:617 - address=/10.241.128.39:32769 url=/api/v0/probes/liveness status=200 OK
rahul@Rahuls-MacBook-Pro mult-cluster % kubectl get pods -n k8ssandra-operator
To Reproduce
Steps to reproduce the behavior: kubectl apply -n k8ssandra-operator -f k8cm1.yml
the second datacenter will not be created as long as all the requested pods in the first dc are up.
You'd need to check the server-system-logger container logs for the pods that fail to reach ready state, to see what errors are preventing Cassandra from starting up.
Are all the 12 pods being scheduled with some failing to reach Running status?
Could you provide an output of kubectl get pods ?
Do you see errors in the logs of the server-system-logger container of the pods that fail to fully start?
Bug Report
Describe the bug
Trying to deploy k8ssandra in a multi-cluster env by following https://docs-v2.k8ssandra.io/install/local/multi-cluster-helm/
Readiness probe failed: HTTP probe failed with statuscode: 500
Logs from one of the failing pod:
To Reproduce
Steps to reproduce the behavior:
kubectl apply -n k8ssandra-operator -f k8cm1.yml
Here is the k8ssandraCluster yaml that I am using
Expected behavior
I would expect all the pods to be in ready state and I also don't see any pods in the dc2
Here is the output of
kubectl describe k8cs demo -n k8ssandra-operator
Environment (please complete the following information):
Client Version: v1.25.3
Kustomize Version: v4.5.7
Server Version: v1.24.9+IKS
3 clusters(1 control plane and 2 data plane clusters) were created using IBM Kubernetes Service
The text was updated successfully, but these errors were encountered: