Skip to content

K8SPXC-1535: retry command if host nor found #2036

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eleo007
Copy link
Contributor

@eleo007 eleo007 commented Apr 11, 2025

K8SPXC-1535 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
Short explanation of the problem.

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?
  • Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PXC version?
  • Does the change support oldest and newest supported Kubernetes version?

@eleo007 eleo007 requested a review from jvpasinatto as a code owner April 11, 2025 06:24
@pull-request-size pull-request-size bot added the size/XS 0-9 lines label Apr 11, 2025
@@ -564,7 +564,7 @@ compare_mysql_cmd() {

run_mysql "$command" "$uri" \
>$tmp_dir/${command_id}.sql
if [ ! -s "$tmp_dir/${command_id}.sql" ]; then
if [[ ! -s "$tmp_dir/${command_id}.sql" || $(cat "$tmp_dir/${command_id}.sql" | grep 'Unknown MySQL server host') ]]; then
Copy link
Contributor

@gkech gkech Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grep supports checking files natively, we can skip cat

Screenshot 2025-04-11 at 1 50 52 PM

Base automatically changed from release-1.17.0 to main April 14, 2025 17:26
@hors hors requested a review from valmiranogueira as a code owner July 23, 2025 20:20
@JNKPercona
Copy link
Collaborator

Test Name Result Time
affinity-8-0 passed 00:06:00
auto-tuning-8-0 passed 00:19:36
cross-site-8-0 passed 00:37:23
custom-users-8-0 passed 00:14:06
demand-backup-cloud-8-0 passed 00:59:30
demand-backup-encrypted-with-tls-8-0 passed 00:47:51
demand-backup-8-0 passed 00:46:26
demand-backup-flow-control-8-0 passed 00:13:14
demand-backup-parallel-8-0 passed 00:11:29
demand-backup-without-passwords-8-0 passed 00:16:26
haproxy-5-7 passed 00:17:06
haproxy-8-0 passed 00:17:09
init-deploy-5-7 passed 00:17:57
init-deploy-8-0 passed 00:18:30
limits-8-0 passed 00:12:41
monitoring-2-0-8-0 failure 00:20:56
monitoring-pmm3-8-0 passed 00:18:09
one-pod-5-7 passed 00:14:38
one-pod-8-0 passed 00:15:22
pitr-8-0 passed 00:45:43
pitr-gap-errors-8-0 passed 00:59:19
proxy-protocol-8-0 passed 00:10:00
proxysql-sidecar-res-limits-8-0 passed 00:09:13
pvc-resize-5-7 failure 00:22:45
pvc-resize-8-0 failure 00:22:43
recreate-8-0 passed 00:18:18
restore-to-encrypted-cluster-8-0 passed 00:26:58
scaling-proxysql-8-0 passed 00:09:25
scaling-8-0 passed 00:11:20
scheduled-backup-5-7 passed 01:16:52
scheduled-backup-8-0 passed 01:06:19
security-context-8-0 passed 00:26:45
smart-update1-8-0 passed 00:37:49
smart-update2-8-0 passed 00:39:52
storage-8-0 passed 00:11:22
tls-issue-cert-manager-ref-8-0 passed 00:09:32
tls-issue-cert-manager-8-0 passed 00:11:52
tls-issue-self-8-0 passed 00:14:10
upgrade-consistency-8-0 passed 00:11:32
upgrade-haproxy-5-7 passed 00:24:25
upgrade-haproxy-8-0 passed 00:25:48
upgrade-proxysql-5-7 failure 00:38:34
upgrade-proxysql-8-0 passed 00:28:05
users-5-7 passed 00:27:33
users-8-0 passed 00:26:44
validation-hook-8-0 passed 00:02:00
We run 46 out of 46 18:59:49

commit: c42c1c6
image: perconalab/percona-xtradb-cluster-operator:PR-2036-c42c1c6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS 0-9 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants