Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/logs/proxy-switch-8-0.log Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 + main + create_infra proxy-switch-18878 + local ns=proxy-switch-18878 + '[' -n pxc-operator ']' + grep -v NAMESPACE + kubectl get pxc --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch pxc -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' + kubectl patch pxc -n proxy-switch-25636 proxy-switch --type=merge -p '{"metadata":{"finalizers":[]}}' perconaxtradbcluster.pxc.percona.com/proxy-switch patched + kubectl_bin delete pxc --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.irquRgkDA5 ++ mktemp + local LAST_ERR=/tmp/tmp.T11cMbzlW4 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.irquRgkDA5 perconaxtradbcluster.pxc.percona.com "proxy-switch" deleted from proxy-switch-25636 namespace + cat /tmp/tmp.T11cMbzlW4 + rm /tmp/tmp.irquRgkDA5 /tmp/tmp.T11cMbzlW4 + return 0 + kubectl_bin delete pxc-backup --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.Py8gpJtKMZ ++ mktemp + local LAST_ERR=/tmp/tmp.tsAnM8YURo + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc-backup --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Py8gpJtKMZ No resources found + cat /tmp/tmp.tsAnM8YURo + rm /tmp/tmp.Py8gpJtKMZ /tmp/tmp.tsAnM8YURo + return 0 + kubectl_bin delete pxc-restore --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.WLrTPSEPWg ++ mktemp + local LAST_ERR=/tmp/tmp.uvOEaT5oTG + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc-restore --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.WLrTPSEPWg No resources found + cat /tmp/tmp.uvOEaT5oTG + rm /tmp/tmp.WLrTPSEPWg /tmp/tmp.uvOEaT5oTG + return 0 + create_namespace pxc-operator + local namespace=pxc-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|pxc-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces pxc-operator' ++ mktemp + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pxc-operator + awk '{print$1}' ++ mktemp + local LAST_OUT=/tmp/tmp.Pfp1Zo5YJk ++ mktemp + local LAST_OUT=/tmp/tmp.PSNbHJ1KXq + local LAST_ERR=/tmp/tmp.TO5C73eM4k + local exit_status=0 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.lCNJagM0w4 + local exit_status=0 + for i in '$(seq 0 2)' + set +e + kubectl get ns ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Pfp1Zo5YJk + cat /tmp/tmp.TO5C73eM4k + rm /tmp/tmp.Pfp1Zo5YJk /tmp/tmp.TO5C73eM4k + return 0 namespace "proxy-switch-25636" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.PSNbHJ1KXq namespace "pxc-operator" deleted + cat /tmp/tmp.lCNJagM0w4 + rm /tmp/tmp.PSNbHJ1KXq /tmp/tmp.lCNJagM0w4 + return 0 + wait_for_delete namespace/pxc-operator + local res=namespace/pxc-operator + echo -n 'waiting for namespace/pxc-operator to be deleted' waiting for namespace/pxc-operator to be deleted+ set +o xtrace Error from server (NotFound): namespaces "pxc-operator" not found + desc 'create namespace pxc-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.FW7y3B76ln ++ mktemp + local LAST_ERR=/tmp/tmp.7X3Y41LgMp + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.FW7y3B76ln namespace/pxc-operator created + cat /tmp/tmp.7X3Y41LgMp + rm /tmp/tmp.FW7y3B76ln /tmp/tmp.7X3Y41LgMp + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.FCIJFXgPMz +++ mktemp ++ local LAST_ERR=/tmp/tmp.Mcs7WZk2XU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FCIJFXgPMz ++ cat /tmp/tmp.Mcs7WZk2XU ++ rm /tmp/tmp.FCIJFXgPMz /tmp/tmp.Mcs7WZk2XU ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.PAZdGuZJHP ++ mktemp + local LAST_ERR=/tmp/tmp.Nb9xkLSqfk + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.PAZdGuZJHP Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7" modified. + cat /tmp/tmp.Nb9xkLSqfk + rm /tmp/tmp.PAZdGuZJHP /tmp/tmp.Nb9xkLSqfk + return 0 + deploy_operator + desc 'start PXC operator' + set +o xtrace ----------------------------------------------------------------------------------- start PXC operator ----------------------------------------------------------------------------------- + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.5sFf16bIlA ++ mktemp + local LAST_ERR=/tmp/tmp.Mt3R6OxWVo + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.5sFf16bIlA customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterbackups.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterrestores.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusters.pxc.percona.com serverside-applied + cat /tmp/tmp.Mt3R6OxWVo + rm /tmp/tmp.5sFf16bIlA /tmp/tmp.Mt3R6OxWVo + return 0 + '[' -n pxc-operator ']' + apply_rbac cw-rbac + local operator_namespace=pxc-operator + local rbac=cw-rbac + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: pxc-operator^' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.xs9EXT75jj ++ mktemp + local LAST_ERR=/tmp/tmp.TrHfejfQe5 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.xs9EXT75jj clusterrole.rbac.authorization.k8s.io/percona-xtradb-cluster-operator unchanged serviceaccount/percona-xtradb-cluster-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-xtradb-cluster-operator unchanged + cat /tmp/tmp.TrHfejfQe5 + rm /tmp/tmp.xs9EXT75jj /tmp/tmp.TrHfejfQe5 + return 0 + sed -e 's^image: .*^image: perconalab/percona-xtradb-cluster-operator:PR-2265-4bd70d71^' + sed -e 's^failureThreshold: .*^failureThreshold: 10^' + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/deploy/cw-operator.yaml + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' - + kubectl_bin apply -f - ++ mktemp + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "VERBOSE"' - + local LAST_OUT=/tmp/tmp.mUCakqj4o1 ++ mktemp + local LAST_ERR=/tmp/tmp.G2tBZEUfSl + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.mUCakqj4o1 deployment.apps/percona-xtradb-cluster-operator created service/percona-xtradb-cluster-operator created + cat /tmp/tmp.G2tBZEUfSl + rm /tmp/tmp.mUCakqj4o1 /tmp/tmp.G2tBZEUfSl + return 0 + sleep 10 + kubectl_bin wait --for=condition=Ready pods -l app.kubernetes.io/component=operator,app.kubernetes.io/instance=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster-operator --timeout=30s ++ mktemp + local LAST_OUT=/tmp/tmp.FGp1W3V8r4 ++ mktemp + local LAST_ERR=/tmp/tmp.U9h7wJAfQm + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pods -l app.kubernetes.io/component=operator,app.kubernetes.io/instance=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster-operator --timeout=30s + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.FGp1W3V8r4 pod/percona-xtradb-cluster-operator-7d895696f9-6ghkd condition met + cat /tmp/tmp.U9h7wJAfQm + rm /tmp/tmp.FGp1W3V8r4 /tmp/tmp.U9h7wJAfQm + return 0 ++ get_operator_pod ++ local label_prefix=app.kubernetes.io/ +++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -n pxc-operator +++ grep -c percona-xtradb-cluster-operator ++ local check_label=1 ++ [[ 1 -eq 0 ]] ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.BZGwtfR5Lt +++ mktemp ++ local LAST_ERR=/tmp/tmp.8NTyX8bzdx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.BZGwtfR5Lt ++ cat /tmp/tmp.8NTyX8bzdx ++ rm /tmp/tmp.BZGwtfR5Lt /tmp/tmp.8NTyX8bzdx ++ return 0 + wait_pod percona-xtradb-cluster-operator-7d895696f9-6ghkd 480 pxc-operator + local pod=percona-xtradb-cluster-operator-7d895696f9-6ghkd + local max_retry=480 + local ns=pxc-operator ++ echo percona-xtradb-cluster-operator-7d895696f9-6ghkd ++ grep -E '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-7d895696f9-6ghkd condition met waiting for pod/percona-xtradb-cluster-operator-7d895696f9-6ghkd to become Ready.Ok + sleep 3 + create_namespace proxy-switch-18878 + local namespace=proxy-switch-18878 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ grep chaos-mesh ++ kubectl api-resources ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|pxc-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces proxy-switch-18878' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces proxy-switch-18878 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace proxy-switch-18878 ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.2XQ8nHw5iQ ++ mktemp + local LAST_OUT=/tmp/tmp.wmC1GNTsQX ++ mktemp + local LAST_ERR=/tmp/tmp.mdmTLGa66w + local exit_status=0 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.5mQ0W4Sb70 + local exit_status=0 + for i in '$(seq 0 2)' + set +e ++ seq 0 2 + kubectl get ns + for i in '$(seq 0 2)' + set +e + kubectl delete namespace proxy-switch-18878 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace proxy-switch-18878 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.2XQ8nHw5iQ + cat /tmp/tmp.mdmTLGa66w + rm /tmp/tmp.2XQ8nHw5iQ /tmp/tmp.mdmTLGa66w + return 0 error: resource(s) were provided, but no name was specified + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace proxy-switch-18878 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.wmC1GNTsQX + cat /tmp/tmp.5mQ0W4Sb70 Error from server (NotFound): namespaces "proxy-switch-18878" not found + rm /tmp/tmp.wmC1GNTsQX /tmp/tmp.5mQ0W4Sb70 + return 1 + : + wait_for_delete namespace/proxy-switch-18878 + local res=namespace/proxy-switch-18878 + echo -n 'waiting for namespace/proxy-switch-18878 to be deleted' waiting for namespace/proxy-switch-18878 to be deleted+ set +o xtrace Error from server (NotFound): namespaces "proxy-switch-18878" not found + desc 'create namespace proxy-switch-18878' + set +o xtrace ----------------------------------------------------------------------------------- create namespace proxy-switch-18878 ----------------------------------------------------------------------------------- + kubectl_bin create namespace proxy-switch-18878 ++ mktemp + local LAST_OUT=/tmp/tmp.8TOaZJy4PN ++ mktemp + local LAST_ERR=/tmp/tmp.RNMgBiw2Rt + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace proxy-switch-18878 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.8TOaZJy4PN namespace/proxy-switch-18878 created + cat /tmp/tmp.RNMgBiw2Rt + rm /tmp/tmp.8TOaZJy4PN /tmp/tmp.RNMgBiw2Rt + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.L7fR85DTKS +++ mktemp ++ local LAST_ERR=/tmp/tmp.uKBKmdspi1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.L7fR85DTKS ++ cat /tmp/tmp.uKBKmdspi1 ++ rm /tmp/tmp.L7fR85DTKS /tmp/tmp.uKBKmdspi1 ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7 --namespace=proxy-switch-18878 ++ mktemp + local LAST_OUT=/tmp/tmp.QN7hWXy25i ++ mktemp + local LAST_ERR=/tmp/tmp.0YPWhm2YHJ + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7 --namespace=proxy-switch-18878 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.QN7hWXy25i Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2265-4bd70d71-5-cluster7" modified. + cat /tmp/tmp.0YPWhm2YHJ + rm /tmp/tmp.QN7hWXy25i /tmp/tmp.0YPWhm2YHJ + return 0 + apply_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.mt9I47qcNx ++ mktemp + local LAST_ERR=/tmp/tmp.4NcWx8azhF + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.mt9I47qcNx secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created + cat /tmp/tmp.4NcWx8azhF + rm /tmp/tmp.mt9I47qcNx /tmp/tmp.4NcWx8azhF + return 0 + desc 'create PXC cluster with HAProxy' + set +o xtrace ----------------------------------------------------------------------------------- create PXC cluster with HAProxy ----------------------------------------------------------------------------------- + cluster=proxy-switch + spinup_pxc proxy-switch /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/conf/proxy-switch.yml 3 10 + local cluster=proxy-switch + local config=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/conf/proxy-switch.yml + local size=3 + local sleep=10 + local secretsFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/secrets.yml + local pxcClientFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/client.yml + local port=3306 + desc 'create first PXC cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PXC cluster ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.P0hgrGmX7o ++ mktemp + local LAST_ERR=/tmp/tmp.HiCJevHFUV + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.P0hgrGmX7o secret/my-cluster-secrets created secret/some-name-ssl created secret/some-name-ssl-internal created + cat /tmp/tmp.HiCJevHFUV + rm /tmp/tmp.P0hgrGmX7o /tmp/tmp.HiCJevHFUV + return 0 + apply_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/client.yml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/client.yml + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/conf/client.yml ++ mktemp + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + local LAST_OUT=/tmp/tmp.2taBCFPFRI + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:PR-2265-4bd70d71#' + /usr/bin/sed -e 's#image:.*-proxysql$#image: percona/proxysql3:3.0#' + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' + /usr/bin/sed -e s~minio-service.#namespace~minio-service.proxy-switch-18878~ + /usr/bin/sed -e 's#image:.*-backup$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0-backup#' ++ mktemp + /usr/bin/sed -e 's#apply:.*#apply: Never#' + /usr/bin/sed -e 's#image:.*-pmm$#image: perconalab/pmm-client:dev-latest#' + /usr/bin/sed -e 's#image:.*-haproxy$#image: perconalab/percona-xtradb-cluster-operator:main-haproxy#' + local LAST_ERR=/tmp/tmp.9lpuq0fyOT + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.2taBCFPFRI deployment.apps/pxc-client created + cat /tmp/tmp.9lpuq0fyOT + rm /tmp/tmp.2taBCFPFRI /tmp/tmp.9lpuq0fyOT + return 0 + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + apply_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/conf/proxy-switch.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/conf/proxy-switch.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/conf/proxy-switch.yml + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' ++ mktemp + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + local LAST_OUT=/tmp/tmp.8eRRYf8cQL + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + /usr/bin/sed -e s~minio-service.#namespace~minio-service.proxy-switch-18878~ + /usr/bin/sed -e 's#apply:.*#apply: Never#' + /usr/bin/sed -e 's#image:.*-pmm$#image: perconalab/pmm-client:dev-latest#' + /usr/bin/sed -e 's#image:.*-backup$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0-backup#' + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:PR-2265-4bd70d71#' ++ mktemp + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' + /usr/bin/sed -e 's#image:.*-proxysql$#image: percona/proxysql3:3.0#' + /usr/bin/sed -e 's#image:.*-haproxy$#image: perconalab/percona-xtradb-cluster-operator:main-haproxy#' + local LAST_ERR=/tmp/tmp.6Uibmp97Qu + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.8eRRYf8cQL perconaxtradbcluster.pxc.percona.com/proxy-switch created + cat /tmp/tmp.6Uibmp97Qu + rm /tmp/tmp.8eRRYf8cQL /tmp/tmp.6Uibmp97Qu + return 0 + desc 'check if all 3 Pods started' + set +o xtrace ----------------------------------------------------------------------------------- check if all 3 Pods started ----------------------------------------------------------------------------------- ++ get_proxy proxy-switch ++ local target_cluster=proxy-switch +++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.n60ZZCos6B ++++ mktemp +++ local LAST_ERR=/tmp/tmp.Yn6MeyZSc1 +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.n60ZZCos6B +++ cat /tmp/tmp.Yn6MeyZSc1 +++ rm /tmp/tmp.n60ZZCos6B /tmp/tmp.Yn6MeyZSc1 +++ return 0 ++ [[ true == \t\r\u\e ]] ++ echo proxy-switch-haproxy ++ return + local proxy=proxy-switch-haproxy + kubectl_bin wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n proxy-switch-18878 ++ mktemp + local LAST_OUT=/tmp/tmp.a8eas43hl5 ++ mktemp + local LAST_ERR=/tmp/tmp.tUddMoeKwm + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n proxy-switch-18878 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n proxy-switch-18878 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n proxy-switch-18878 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.a8eas43hl5 + cat /tmp/tmp.tUddMoeKwm error: no matching resources found + rm /tmp/tmp.a8eas43hl5 /tmp/tmp.tUddMoeKwm + return 1 + true + wait_for_running proxy-switch-haproxy 1 + local name=proxy-switch-haproxy + let last_pod=0 + : + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 0 + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-haproxy-0 480 + local pod=proxy-switch-haproxy-0 + local max_retry=480 + local ns= ++ echo proxy-switch-haproxy-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/proxy-switch-haproxy-0 condition met waiting for pod/proxy-switch-haproxy-0 to become Ready.Ok + wait_for_running proxy-switch-pxc 3 + local name=proxy-switch-pxc + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-0 480 + local pod=proxy-switch-pxc-0 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-0 condition met waiting for pod/proxy-switch-pxc-0 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-1 480 + local pod=proxy-switch-pxc-1 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-1 condition met waiting for pod/proxy-switch-pxc-1 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-2 480 + local pod=proxy-switch-pxc-2 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-2 condition met waiting for pod/proxy-switch-pxc-2 to become Ready.Ok + sleep 10 ++ kubectl get pxc proxy-switch -o 'jsonpath={.spec.secretsName}' + local secret_name=my-cluster-secrets ++ getSecretData my-cluster-secrets root ++ local secretName=my-cluster-secrets ++ local dataKey=root ++ kubectl_bin get secrets/my-cluster-secrets '--template={{.data.root}}' ++ base64 --decode +++ mktemp ++ local LAST_OUT=/tmp/tmp.6mwnpq9ItE +++ mktemp ++ local LAST_ERR=/tmp/tmp.fMDxdJRLEU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get secrets/my-cluster-secrets '--template={{.data.root}}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6mwnpq9ItE ++ cat /tmp/tmp.fMDxdJRLEU ++ rm /tmp/tmp.6mwnpq9ItE /tmp/tmp.fMDxdJRLEU ++ return 0 + local root_pass=root_password + desc 'write data' + set +o xtrace ----------------------------------------------------------------------------------- write data ----------------------------------------------------------------------------------- + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' '-h proxy-switch-haproxy -uroot -p'\''root_password'\'' -P3306' + local 'command=CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' + local 'uri=-h proxy-switch-haproxy -uroot -p'\''root_password'\'' -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OIuy09Ofno +++ mktemp ++ local LAST_ERR=/tmp/tmp.h36CA01SjH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OIuy09Ofno ++ cat /tmp/tmp.h36CA01SjH ++ rm /tmp/tmp.OIuy09Ofno /tmp/tmp.h36CA01SjH ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + run_mysql 'INSERT myApp.myApp (id) VALUES (100500)' '-h proxy-switch-haproxy -uroot -p'\''root_password'\'' -P3306' + local 'command=INSERT myApp.myApp (id) VALUES (100500)' + local 'uri=-h proxy-switch-haproxy -uroot -p'\''root_password'\'' -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gyCjY26i0R +++ mktemp ++ local LAST_ERR=/tmp/tmp.Rtyt9iIMFR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gyCjY26i0R ++ cat /tmp/tmp.Rtyt9iIMFR ++ rm /tmp/tmp.gyCjY26i0R /tmp/tmp.Rtyt9iIMFR ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + sleep 30 ++ seq 0 2 + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1cCxerGa87 +++ mktemp ++ local LAST_ERR=/tmp/tmp.diAZt0lEMG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1cCxerGa87 ++ cat /tmp/tmp.diAZt0lEMG ++ rm /tmp/tmp.1cCxerGa87 /tmp/tmp.diAZt0lEMG ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ww0qxNGuBL +++ mktemp ++ local LAST_ERR=/tmp/tmp.8Sr29HEOPG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Ww0qxNGuBL ++ cat /tmp/tmp.8Sr29HEOPG ++ rm /tmp/tmp.Ww0qxNGuBL /tmp/tmp.8Sr29HEOPG ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -p'\''root_password'\'' -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NU1e3gIJyd +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q717KN0DH9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NU1e3gIJyd ++ cat /tmp/tmp.Q717KN0DH9 ++ rm /tmp/tmp.NU1e3gIJyd /tmp/tmp.Q717KN0DH9 ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ grep -E '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql ++ is_keyring_plugin_in_use proxy-switch ++ local cluster=proxy-switch ++ kubectl_bin exec -it proxy-switch-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' ++ grep -E -o 'early-plugin-load=keyring_\w+.so' +++ mktemp ++ local LAST_OUT=/tmp/tmp.t4CwVpXoiT +++ mktemp ++ local LAST_ERR=/tmp/tmp.1wNQEybCnH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl exec -it proxy-switch-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.t4CwVpXoiT ++ cat /tmp/tmp.1wNQEybCnH Unable to use a TTY - input is not a terminal or the right kind of file ++ rm /tmp/tmp.t4CwVpXoiT /tmp/tmp.1wNQEybCnH ++ return 0 + '[' '' ']' + desc 'check cluster is ready with HAProxy' + set +o xtrace ----------------------------------------------------------------------------------- check cluster is ready with HAProxy ----------------------------------------------------------------------------------- + wait_for_running proxy-switch-pxc 3 + local name=proxy-switch-pxc + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-0 480 + local pod=proxy-switch-pxc-0 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-0 condition met waiting for pod/proxy-switch-pxc-0 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-1 480 + local pod=proxy-switch-pxc-1 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-1 condition met waiting for pod/proxy-switch-pxc-1 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-pxc-2 480 + local pod=proxy-switch-pxc-2 + local max_retry=480 + local ns= ++ echo proxy-switch-pxc-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/proxy-switch-pxc-2 condition met waiting for pod/proxy-switch-pxc-2 to become Ready.Ok + wait_for_running proxy-switch-haproxy 3 + local name=proxy-switch-haproxy + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-haproxy-0 480 + local pod=proxy-switch-haproxy-0 + local max_retry=480 + local ns= ++ echo proxy-switch-haproxy-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/proxy-switch-haproxy-0 condition met waiting for pod/proxy-switch-haproxy-0 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-haproxy-1 480 + local pod=proxy-switch-haproxy-1 + local max_retry=480 + local ns= ++ echo proxy-switch-haproxy-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/proxy-switch-haproxy-1 condition met waiting for pod/proxy-switch-haproxy-1 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-haproxy-2 480 + local pod=proxy-switch-haproxy-2 + local max_retry=480 + local ns= ++ echo proxy-switch-haproxy-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/proxy-switch-haproxy-2 condition met waiting for pod/proxy-switch-haproxy-2 to become Ready.Ok + wait_cluster_consistency proxy-switch 3 3 + local cluster_name=proxy-switch + local cluster_size=3 + local proxy_size=3 + '[' -z 3 ']' + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + local i=0 + local max=300 + sleep 7 + echo -n 'waiting for pxc/proxy-switch to be ready' waiting for pxc/proxy-switch to be ready++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.eJTbkMFOPt +++ mktemp ++ local LAST_ERR=/tmp/tmp.nXqsiYoF7l ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.eJTbkMFOPt ++ cat /tmp/tmp.nXqsiYoF7l ++ rm /tmp/tmp.eJTbkMFOPt /tmp/tmp.nXqsiYoF7l ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.iZiU9F3WXG +++ mktemp ++ local LAST_ERR=/tmp/tmp.dPVEWUoof6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.iZiU9F3WXG ++ cat /tmp/tmp.dPVEWUoof6 ++ rm /tmp/tmp.iZiU9F3WXG /tmp/tmp.dPVEWUoof6 ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine proxy-switch +++ local cluster_name=proxy-switch ++++ get_proxy proxy-switch ++++ local target_cluster=proxy-switch +++++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.zR3NGLXenV ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.kpzQewjZnu +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.zR3NGLXenV +++++ cat /tmp/tmp.kpzQewjZnu +++++ rm /tmp/tmp.zR3NGLXenV /tmp/tmp.kpzQewjZnu +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo proxy-switch-haproxy ++++ return +++ local cluster_proxy=proxy-switch-haproxy +++ echo haproxy ++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.haproxy.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.BKgJFra24W +++ mktemp ++ local LAST_ERR=/tmp/tmp.qKTxziBKwp ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.haproxy.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.BKgJFra24W ++ cat /tmp/tmp.qKTxziBKwp ++ rm /tmp/tmp.BKgJFra24W /tmp/tmp.qKTxziBKwp ++ return 0 + [[ 3 == \3 ]] + echo + desc 'write data and check connectivity through HAProxy' + set +o xtrace ----------------------------------------------------------------------------------- write data and check connectivity through HAProxy ----------------------------------------------------------------------------------- + run_mysql 'CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' '-h proxy-switch-haproxy -uroot -proot_password' + local 'command=CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' + local 'uri=-h proxy-switch-haproxy -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Dp5kfsOZcB +++ mktemp ++ local LAST_ERR=/tmp/tmp.AM7xjM5QIJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Dp5kfsOZcB ++ cat /tmp/tmp.AM7xjM5QIJ ++ rm /tmp/tmp.Dp5kfsOZcB /tmp/tmp.AM7xjM5QIJ ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + run_mysql 'INSERT myApp.myApp (id) VALUES (100500)' '-h proxy-switch-haproxy -uroot -proot_password' + local 'command=INSERT myApp.myApp (id) VALUES (100500)' + local 'uri=-h proxy-switch-haproxy -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.55QHnmp32a +++ mktemp ++ local LAST_ERR=/tmp/tmp.9yNzEvFBxb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.55QHnmp32a ++ cat /tmp/tmp.9yNzEvFBxb ++ rm /tmp/tmp.55QHnmp32a /tmp/tmp.9yNzEvFBxb ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace ERROR 1062 (23000) at line 1: Duplicate entry '100500' for key 'myApp.PRIMARY' command terminated with exit code 1 + sleep 10 + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-haproxy -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-haproxy -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-haproxy -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-haproxy -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qwKNI4zaTY +++ mktemp ++ local LAST_ERR=/tmp/tmp.LloAu271vC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qwKNI4zaTY ++ cat /tmp/tmp.LloAu271vC ++ rm /tmp/tmp.qwKNI4zaTY /tmp/tmp.LloAu271vC ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + desc 'verify data exists on all PXC nodes' + set +o xtrace ----------------------------------------------------------------------------------- verify data exists on all PXC nodes ----------------------------------------------------------------------------------- + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.H3Et4ul8bp +++ mktemp ++ local LAST_ERR=/tmp/tmp.B5C9OroEeg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.H3Et4ul8bp ++ cat /tmp/tmp.B5C9OroEeg ++ rm /tmp/tmp.H3Et4ul8bp /tmp/tmp.B5C9OroEeg ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.J7CpMlbXpr +++ mktemp ++ local LAST_ERR=/tmp/tmp.iRpYM9AwuN ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.J7CpMlbXpr ++ cat /tmp/tmp.iRpYM9AwuN ++ rm /tmp/tmp.J7CpMlbXpr /tmp/tmp.iRpYM9AwuN ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gZrtuVNaKh +++ mktemp ++ local LAST_ERR=/tmp/tmp.6ANflcEDlk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gZrtuVNaKh ++ cat /tmp/tmp.6ANflcEDlk ++ rm /tmp/tmp.gZrtuVNaKh /tmp/tmp.6ANflcEDlk ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + desc 'switch from HAProxy to ProxySQL' + set +o xtrace ----------------------------------------------------------------------------------- switch from HAProxy to ProxySQL ----------------------------------------------------------------------------------- + kubectl_bin patch pxc proxy-switch --type=json -p '[ {"op": "replace", "path": "/spec/haproxy/enabled", "value": false}, {"op": "replace", "path": "/spec/proxysql/enabled", "value": true} ]' ++ mktemp + local LAST_OUT=/tmp/tmp.DoUt9V3nol ++ mktemp + local LAST_ERR=/tmp/tmp.HBGtxEJ8My + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch pxc proxy-switch --type=json -p '[ {"op": "replace", "path": "/spec/haproxy/enabled", "value": false}, {"op": "replace", "path": "/spec/proxysql/enabled", "value": true} ]' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.DoUt9V3nol perconaxtradbcluster.pxc.percona.com/proxy-switch patched + cat /tmp/tmp.HBGtxEJ8My + rm /tmp/tmp.DoUt9V3nol /tmp/tmp.HBGtxEJ8My + return 0 + desc 'wait for ProxySQL to be ready and HAProxy to be removed' + set +o xtrace ----------------------------------------------------------------------------------- wait for ProxySQL to be ready and HAProxy to be removed ----------------------------------------------------------------------------------- + wait_for_delete sts/proxy-switch-haproxy + local res=sts/proxy-switch-haproxy + echo -n 'waiting for sts/proxy-switch-haproxy to be deleted' waiting for sts/proxy-switch-haproxy to be deleted+ set +o xtrace .Error from server (NotFound): statefulsets.apps "proxy-switch-haproxy" not found + wait_for_running proxy-switch-proxysql 3 + local name=proxy-switch-proxysql + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-proxysql-0 480 + local pod=proxy-switch-proxysql-0 + local max_retry=480 + local ns= ++ echo proxy-switch-proxysql-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=proxysql + set +o xtrace pod/proxy-switch-proxysql-0 condition met waiting for pod/proxy-switch-proxysql-0 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-proxysql-1 480 + local pod=proxy-switch-proxysql-1 + local max_retry=480 + local ns= ++ echo proxy-switch-proxysql-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=proxysql + set +o xtrace pod/proxy-switch-proxysql-1 condition met waiting for pod/proxy-switch-proxysql-1 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod proxy-switch-proxysql-2 480 + local pod=proxy-switch-proxysql-2 + local max_retry=480 + local ns= ++ echo proxy-switch-proxysql-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=proxysql + set +o xtrace pod/proxy-switch-proxysql-2 condition met waiting for pod/proxy-switch-proxysql-2 to become Ready.Ok + wait_cluster_consistency proxy-switch 3 3 + local cluster_name=proxy-switch + local cluster_size=3 + local proxy_size=3 + '[' -z 3 ']' + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + local i=0 + local max=300 + sleep 7 + echo -n 'waiting for pxc/proxy-switch to be ready' waiting for pxc/proxy-switch to be ready++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.e9v0rZlYgo +++ mktemp ++ local LAST_ERR=/tmp/tmp.05YSXwBAEp ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.e9v0rZlYgo ++ cat /tmp/tmp.05YSXwBAEp ++ rm /tmp/tmp.e9v0rZlYgo /tmp/tmp.05YSXwBAEp ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.w7EMdCuisq +++ mktemp ++ local LAST_ERR=/tmp/tmp.06XoRv80pa ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.w7EMdCuisq ++ cat /tmp/tmp.06XoRv80pa ++ rm /tmp/tmp.w7EMdCuisq /tmp/tmp.06XoRv80pa ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine proxy-switch +++ local cluster_name=proxy-switch ++++ get_proxy proxy-switch ++++ local target_cluster=proxy-switch +++++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.ZsYesD129I ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.PZb1hYEaij +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc proxy-switch -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.ZsYesD129I +++++ cat /tmp/tmp.PZb1hYEaij +++++ rm /tmp/tmp.ZsYesD129I /tmp/tmp.PZb1hYEaij +++++ return 0 ++++ [[ false == \t\r\u\e ]] +++++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.spec.proxysql.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.8Zf39doZ4b ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.olpLBMjcyE +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc proxy-switch -o 'jsonpath={.spec.proxysql.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.8Zf39doZ4b +++++ cat /tmp/tmp.olpLBMjcyE +++++ rm /tmp/tmp.8Zf39doZ4b /tmp/tmp.olpLBMjcyE +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo proxy-switch-proxysql ++++ return +++ local cluster_proxy=proxy-switch-proxysql +++ echo proxysql ++ kubectl_bin get pxc proxy-switch -o 'jsonpath={.status.proxysql.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7MALl3bjwx +++ mktemp ++ local LAST_ERR=/tmp/tmp.DW83aYTopb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc proxy-switch -o 'jsonpath={.status.proxysql.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.7MALl3bjwx ++ cat /tmp/tmp.DW83aYTopb ++ rm /tmp/tmp.7MALl3bjwx /tmp/tmp.DW83aYTopb ++ return 0 + [[ 3 == \3 ]] + echo + desc 'verify HAProxy pods are deleted' + set +o xtrace ----------------------------------------------------------------------------------- verify HAProxy pods are deleted ----------------------------------------------------------------------------------- + kubectl_bin get pods -l app.kubernetes.io/name=percona-xtradb-cluster,app.kubernetes.io/instance=proxy-switch,app.kubernetes.io/component=haproxy + grep -q haproxy + desc 'verify ProxySQL service exists' + set +o xtrace ----------------------------------------------------------------------------------- verify ProxySQL service exists ----------------------------------------------------------------------------------- + kubectl_bin get service proxy-switch-proxysql ++ mktemp + local LAST_OUT=/tmp/tmp.8bJ46rTLG0 ++ mktemp + local LAST_ERR=/tmp/tmp.3xfaBR09Of + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl get service proxy-switch-proxysql + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.8bJ46rTLG0 NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE proxy-switch-proxysql ClusterIP 34.118.234.235 3306/TCP,33062/TCP,6070/TCP 63s + cat /tmp/tmp.3xfaBR09Of + rm /tmp/tmp.8bJ46rTLG0 /tmp/tmp.3xfaBR09Of + return 0 + desc 'check connectivity through ProxySQL after switch' + set +o xtrace ----------------------------------------------------------------------------------- check connectivity through ProxySQL after switch ----------------------------------------------------------------------------------- + sleep 20 + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h proxy-switch-proxysql -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-proxysql -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-proxysql -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-proxysql -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wuHhhPMkZj +++ mktemp ++ local LAST_ERR=/tmp/tmp.SokgKKtaC1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wuHhhPMkZj ++ cat /tmp/tmp.SokgKKtaC1 ++ rm /tmp/tmp.wuHhhPMkZj /tmp/tmp.SokgKKtaC1 ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-1.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-1.sql /tmp/tmp.KXYNYiHnLC/select-1.sql + desc 'write new data through ProxySQL' + set +o xtrace ----------------------------------------------------------------------------------- write new data through ProxySQL ----------------------------------------------------------------------------------- + run_mysql 'INSERT myApp.myApp (id) VALUES (100501)' '-h proxy-switch-proxysql -uroot -proot_password' + local 'command=INSERT myApp.myApp (id) VALUES (100501)' + local 'uri=-h proxy-switch-proxysql -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OxxM4aUMzP +++ mktemp ++ local LAST_ERR=/tmp/tmp.orfhVkEwCe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OxxM4aUMzP ++ cat /tmp/tmp.orfhVkEwCe ++ rm /tmp/tmp.OxxM4aUMzP /tmp/tmp.orfhVkEwCe ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + sleep 10 + compare_mysql_cmd select-2 'SELECT * from myApp.myApp;' '-h proxy-switch-proxysql -uroot -proot_password' + local command_id=select-2 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-proxysql -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-proxysql -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-proxysql -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GUiu7QGcf4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.zFxsS9TbRB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.GUiu7QGcf4 ++ cat /tmp/tmp.zFxsS9TbRB ++ rm /tmp/tmp.GUiu7QGcf4 /tmp/tmp.zFxsS9TbRB ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-2.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql /tmp/tmp.KXYNYiHnLC/select-2.sql + desc 'verify new data exists on all PXC nodes' + set +o xtrace ----------------------------------------------------------------------------------- verify new data exists on all PXC nodes ----------------------------------------------------------------------------------- + compare_mysql_cmd select-2 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local command_id=select-2 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-0.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WCseq5RMwk +++ mktemp ++ local LAST_ERR=/tmp/tmp.oV0yxXJqsA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WCseq5RMwk ++ cat /tmp/tmp.oV0yxXJqsA ++ rm /tmp/tmp.WCseq5RMwk /tmp/tmp.oV0yxXJqsA ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-2.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql /tmp/tmp.KXYNYiHnLC/select-2.sql + compare_mysql_cmd select-2 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local command_id=select-2 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-1.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.uR7z60vmFI +++ mktemp ++ local LAST_ERR=/tmp/tmp.WwWJcePYqn ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.uR7z60vmFI ++ cat /tmp/tmp.WwWJcePYqn ++ rm /tmp/tmp.uR7z60vmFI /tmp/tmp.WwWJcePYqn ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-2.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql /tmp/tmp.KXYNYiHnLC/select-2.sql + compare_mysql_cmd select-2 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local command_id=select-2 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h proxy-switch-pxc-2.proxy-switch-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2ORv6M2CWN +++ mktemp ++ local LAST_ERR=/tmp/tmp.wuUY6OrdnK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2ORv6M2CWN ++ cat /tmp/tmp.wuUY6OrdnK ++ rm /tmp/tmp.2ORv6M2CWN /tmp/tmp.wuUY6OrdnK ++ return 0 + client_pod=pxc-client-59944c5bbf-s5f5d + wait_pod pxc-client-59944c5bbf-s5f5d + local pod=pxc-client-59944c5bbf-s5f5d + local max_retry=480 + local ns= ++ echo pxc-client-59944c5bbf-s5f5d ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-59944c5bbf-s5f5d condition met waiting for pod/pxc-client-59944c5bbf-s5f5d to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok + set +o xtrace + '[' '!' -s /tmp/tmp.KXYNYiHnLC/select-2.sql ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-2265/e2e-tests/proxy-switch/compare/select-2.sql /tmp/tmp.KXYNYiHnLC/select-2.sql + desc 'verify ProxySQL is routing to primary' + set +o xtrace ----------------------------------------------------------------------------------- verify ProxySQL is routing to primary ----------------------------------------------------------------------------------- ++ get_proxy_primary '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 ++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' ++ local pod=proxy-switch-proxysql-0 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ local 'ip=proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1 +++ run_mysql_local 'SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' '-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' proxy-switch-proxysql-0 proxysql +++ local 'command=SELECT hostname FROM runtime_mysql_servers WHERE hostgroup_id=11 AND status='\''ONLINE'\'';' +++ local 'uri=-h127.0.0.1 -P6032 -uproxyadmin -padmin_password' +++ local pod=proxy-switch-proxysql-0 +++ local container_name=proxysql +++ set +o xtrace ++ ip='proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ echo 'proxy-switch-pxc-0.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-1.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local proxy-switch-pxc-2.proxy-switch-pxc.proxy-switch-18878.svc.cluster.local' +++ wc -l ++ '[' 3 '!=' 1 ']' ++ sleep 1