scylladb / scylla-operator

The Kubernetes Operator for ScyllaDB
https://operator.docs.scylladb.com/
Apache License 2.0
339 stars 175 forks source link

Scylla container's PreStop hook fails with `rm: cannot remove '/mnt/shared/ignition.done': Read-only file system` #2111

Closed rzetelskik closed 2 months ago

rzetelskik commented 2 months ago
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]: E0906 14:00:15.142377    2246 kuberuntime_container.go:662] "PreStop hook failed" err=<
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         command '/usr/bin/bash -euExo pipefail -O inherit_errexit -c trap 'rm /mnt/shared/ignition.done' EXIT
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         nodetool drain &
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         sleep 15 &
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         wait' exited with 1: + trap 'rm /mnt/shared/ignition.done' EXIT
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         + nodetool drain
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         + wait
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         + sleep 15
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         + rm /mnt/shared/ignition.done
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:         rm: cannot remove '/mnt/shared/ignition.done': Read-only file system
Sep 06 14:00:15 ubuntu-22.04.4 kubelet[2246]:  > pod="scylladb/scylla-us-east-1-us-east-1a-0" podUID="1cee3a9b-f903-4f69-808f-3ff95e1b3a7e" containerName="scylla" containerID="cri-o://655b2127c226fb5e47d9b505258336cd4e52a8bcd025ceb45cbe7419c6199469"

/kind bug /priority important-soon