-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent member.ready & readyReplicas #614
Comments
Unready pod logs
Error seen in the operator, otherwise says it is connected "error":"Error creating cluster metadata path /zookeeper-operator/app-zookeeper, Error creating parent zkNode: /zookeeper-operator: zk: node already exists","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.1/pkg/internal/controller/controller.go:234"} Error from post-install hook
|
Container Statuses for status:
conditions:
- lastProbeTime: null
lastTransitionTime: '2024-08-23T15:40:33Z'
status: 'True'
type: Initialized
- lastProbeTime: null
lastTransitionTime: '2024-08-23T15:41:09Z'
status: 'True'
type: Ready
- lastProbeTime: null
lastTransitionTime: '2024-08-23T15:41:09Z'
status: 'True'
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: '2024-08-23T15:40:33Z'
status: 'True'
type: PodScheduled
containerStatuses:
- containerID: 'cri-o://0cb757458dbe524f5c75d7c63f37c2ba9baacf6503e579016ee1e7f37e419aa5'
image: >-
redacted
imageID: >-
redacted
lastState: {}
name: fluent-bit
ready: true
restartCount: 0
started: true
state:
running:
startedAt: '2024-08-23T15:40:39Z'
- containerID: 'cri-o://1de7506155cfb27de7cad0244c4ead699fdff2f1d6ef1c258da747a35e6835c2'
image: 'docker.io/redacted/zookeeper:3.5.7'
imageID: >-
docker.io/redacted/zookeeper@sha256:f032bd83682738f32757bf1f365ed9de8ee7aa41015a010083b5c3074e5f2659
lastState: {}
name: zookeeper
ready: true
restartCount: 0
started: true
state:
running:
startedAt: '2024-08-23T15:40:39Z' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The post-install hook is failing to check the Ready status, and we notice the following output in the status, yet the "unready" pod seems to have very similar log output to the "ready" ones. Restarting the unready pod has not helped.
readyReplicas
counted? Should it not belen(members.ready)
?Importance
must-have
Location
(Where is the piece of code, package, or document affected by this issue?)
Suggestions for an improvement
readyReplicas
should respectlen(members.ready)
The text was updated successfully, but these errors were encountered: