Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cassandra - Start Hook

Hello,

Any solution

 

Events:
  Type     Reason               Age              From               Message
  ----     ------               ----             ----               -------
  Normal   Scheduled            10s              default-scheduler  Successfully assigned apigee/apigee-cassandra-default-0 to rke2-node3
  Normal   Pulled               10s              kubelet            Container image "gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.13.0" already present on machine
  Normal   Created              10s              kubelet            Created container apigee-cassandra-ulimit-init
  Normal   Started              10s              kubelet            Started container apigee-cassandra-ulimit-init
  Normal   Pulled               8s               kubelet            Container image "gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.13.0" already present on machine
  Normal   Started              8s               kubelet            Started container apigee-cassandra-gateway
  Normal   Created              8s               kubelet            Created container apigee-cassandra-gateway
  Normal   Pulled               7s (x2 over 9s)  kubelet            Container image "gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:1.13.0" already present on machine
  Normal   Started              7s (x2 over 9s)  kubelet            Started container apigee-cassandra
  Normal   Created              7s (x2 over 9s)  kubelet            Created container apigee-cassandra
  Normal   Killing              6s (x2 over 8s)  kubelet            FailedPostStartHook
  Warning  FailedPreStopHook    6s (x2 over 8s)  kubelet            PreStopHook failed
  Warning  FailedPostStartHook  6s (x2 over 8s)  kubelet            PostStartHook failed
  Warning  Unhealthy            5s               kubelet            Readiness probe failed: 2024/09/29 12:34:53 Failed to check Cassandra Gateway readiness: cannot fetch binary status: unable to get jolokia nativetransport running response: Get "http://10.42.2.35:8778/jolokia/read/org.apache.cassandra.db:type=StorageService/NativeTransportRunning": EOF
  Warning  Unhealthy            4s               kubelet            Readiness probe failed: 2024/09/29 12:34:54 Failed to check Cassandra Gateway readiness: cannot fetch binary status: unable to get jolokia nativetransport running response: Get "http://10.42.2.35:8778/jolokia/read/org.apache.cassandra.db:type=StorageService/NativeTransportRunning": EOF
  Warning  BackOff              1s (x3 over 5s)  kubelet            Back-off restarting failed container apigee-cassandra in pod apigee-cassandra-default-0_apigee(be1e210d-1d90-4d6b-a148-fc98fca8d298)
  Warning  Unhealthy            0s               kubelet            Readiness probe failed: 2024/09/29 12:34:58 Failed to check Cassandra Gateway readiness: cannot fetch binary status: unable to get jolokia nativetransport running response: Get "http://10.42.2.35:8778/jolokia/read/org.apache.cassandra.db:type=StorageService/NativeTransportRunning": EOF

 

#cassandra #apigee-hybrid

Solved Solved
0 4 349
1 ACCEPTED SOLUTION

Hi @AlexET ,

I faced this issue because I did not use dynamic provisioning for the volume (PV). However, when I switched to dynamic provisioning, the issue was resolved.

Thanks.

View solution in original post

4 REPLIES 4

Hello @shayan, thank you for bringing your question to the Apigee forum 🙂

It looks like you're encountering an issue with Cassandra in your Apigee Hybrid setup. To help the community better understand and provide helpful suggestions, please consider sharing some additional details about your setup or any related information that might be useful. 

Once you share more information, we look forward to seeing the ideas other community members can share!

Hi @AlexET ,

I faced this issue because I did not use dynamic provisioning for the volume (PV). However, when I switched to dynamic provisioning, the issue was resolved.

Thanks.

@shayan thank you for sharing what resolved the issue!

We appreciate you keeping the community informed 👍🏽

I am installing Apigee Hybrid on an RKE2 cluster and am facing this issue when the Cassandra pod starts