Updated galera troubleshooting

This commit is contained in:
mmontes11
2024-08-28 10:35:18 +02:00
committed by Martin Montes
parent d69434d9ec
commit 6f7ea45d7e

View File

@ -433,15 +433,18 @@ Once you are done with these steps, you will have the context required to jump a
### Common errors
#### Galera cluster recovery not progressing
If your `MariaDB` Galera cluster has been in `GaleraNotReady` state for a long time, the recovery process might not be progressing. You can diagnose this by checking:
- The operator logs.
- Operator logs.
- Galera recovery status:
```bash
kubectl get mariadb mariadb-galera -o jsonpath="{.status.galeraRecovery}" | jq
```
- `MariaDB` events:
```bash
kubectl get events --field-selector involvedObject.name=mariadb-galera
```
- If you have `Pods` named `<mariadb-name>-<ordinal>-recovery-<suffix>` running for a long time, check its logs to understand if something is wrong.
One of the reasons could be misconfigured Galera recovery `Jobs`, please make sure you read [this section](#galera-recovery-job). If after checking all the points above, there are still no clear symptoms of what could be wrong, continue reading.