Manual Backups Entirely Do Not Work in pxc-operator

Description

The cluster:

The manual backup job:

The error:

Seems your command to get cluster size is screwed up.  The cluster is perfectly healthy and serving (or at least is not reporting as otherwise in any of its pod ready checks or to any of my clients to this database).

Environment

None

Activity

Aaditya Dubey October 19, 2023 at 7:54 AM

Hi ,

We still haven't heard any news from you. So I assume issue doesn't persists anymore and will close the ticket. If you disagree just reply and create a follow-up.

Aaditya Dubey June 16, 2023 at 8:03 AM

Hi ,

Thank you for the report.
Please share the example of a password from your end to reproduce it.

Slava Sarzhan May 1, 2023 at 7:11 AM

Hi , I have tried to reproduce this issue and set a password with single-quote bricked for xtrabackup user, but I can't reproduce the problem. I am using PXC operator 1.12.0. I need an example of a password from your end to reproduce it.

John Stewart (Crimson_Tinted) April 29, 2023 at 5:08 PM

I have found the problem.

None of your passwords can have characters that have special meaning on the shell or all your shell commands get screwed up.

I would audit all your injection of user-supplied passwords in shell scripts in your containers and be sure you are properly accounting for shell-escaping, because one single-quote bricked my entire pxc cluster and I just had to manually recover.

John Stewart (Crimson_Tinted) April 29, 2023 at 4:22 PM

kube distro is k3s 1.27.1+k3s1

Incomplete

Details

Assignee

Reporter

Needs QA

Yes

Affects versions

Priority

Smart Checklist

Created April 29, 2023 at 1:57 PM
Updated March 5, 2024 at 5:26 PM
Resolved October 19, 2023 at 7:54 AM