source commons files source engines files source kubeblocks files source kubedb files CLUSTER_NAME: `kubectl get namespace | grep ns-dnkqz ` `kubectl create namespace ns-dnkqz` namespace/ns-dnkqz created create namespace ns-dnkqz done download kbcli `gh release list --repo apecloud/kbcli --limit 100 | (grep "1.0" || true)` `curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v1.0.1` Your system is linux_amd64 Installing kbcli ... Downloading ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 33.6M 100 33.6M 0 0 111M 0 --:--:-- --:--:-- --:--:-- 111M kbcli installed successfully. Kubernetes: v1.32.6 KubeBlocks: 1.0.1 kbcli: 1.0.1 Make sure your docker service is running and begin your journey with kbcli: kbcli playground init For more information on how to get started, please visit: https://kubeblocks.io download kbcli v1.0.1 done Kubernetes: v1.32.6 KubeBlocks: 1.0.1 kbcli: 1.0.1 Kubernetes Env: v1.32.6 check snapshot controller check snapshot controller done POD_RESOURCES: aks kb-default-sc found aks default-vsc found found default storage class: default KubeBlocks version is:1.0.1 skip upgrade KubeBlocks current KubeBlocks version: 1.0.1 Error: no repositories to show helm repo add chaos-mesh https://charts.chaos-mesh.org "chaos-mesh" has been added to your repositories add helm chart repo chaos-mesh success chaos mesh already installed check component definition set component name:gaussdb set component version set component version:gaussdb set service versions:2.23.1 set service versions sorted:2.23.1 set gaussdb component definition set gaussdb component definition gaussdb-repl-1.0.1 REPORT_COUNT 0:0 set replicas first:3,2.23.1 set replicas third:3,2.23.1 set replicas fourth:3,2.23.1 set minimum cmpv service version set minimum cmpv service version replicas:3,2.23.1 REPORT_COUNT:1 CLUSTER_TOPOLOGY:replication topology replication found in cluster definition gaussdb set gaussdb component definition set gaussdb component definition gaussdb-repl-1.0.1 LIMIT_CPU:0.5 LIMIT_MEMORY:2 storage size: 20 CLUSTER_NAME:gaussdb-bijafg No resources found in ns-dnkqz namespace. pod_info: termination_policy:DoNotTerminate create 3 replica DoNotTerminate gaussdb cluster check component definition set component definition by component version check cmpd by labels check cmpd by compDefs set component definition: gaussdb-repl-1.0.1 by component version:gaussdb apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: gaussdb-bijafg namespace: ns-dnkqz spec: clusterDef: gaussdb topology: replication terminationPolicy: DoNotTerminate componentSpecs: - name: gaussdb serviceVersion: 2.23.1 replicas: 3 disableExporter: true resources: requests: cpu: 500m memory: 2Gi limits: cpu: 500m memory: 2Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 20Gi `kubectl apply -f test_create_gaussdb-bijafg.yaml` cluster.apps.kubeblocks.io/gaussdb-bijafg created apply test_create_gaussdb-bijafg.yaml Success `rm -rf test_create_gaussdb-bijafg.yaml` check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Creating Sep 11,2025 17:22 UTC+0800 clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check pod gaussdb-bijafg-gaussdb-1 container_name gaussdb exist password 1W82I4uF3EU4 check pod gaussdb-bijafg-gaussdb-1 container_name exporter exist password 1W82I4uF3EU4 check pod gaussdb-bijafg-gaussdb-1 container_name kbagent exist password 1W82I4uF3EU4 check pod gaussdb-bijafg-gaussdb-1 container_name config-manager exist password 1W82I4uF3EU4 No container logs contain secret password. describe cluster `kbcli cluster describe gaussdb-bijafg --namespace ns-dnkqz ` Name: gaussdb-bijafg Created Time: Sep 11,2025 17:22 UTC+0800 NAMESPACE CLUSTER-DEFINITION TOPOLOGY STATUS TERMINATION-POLICY ns-dnkqz gaussdb replication Running DoNotTerminate Endpoints: COMPONENT INTERNAL EXTERNAL gaussdb gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:8999 Topology: COMPONENT SERVICE-VERSION INSTANCE ROLE STATUS AZ NODE CREATED-TIME gaussdb 2.23.1 gaussdb-bijafg-gaussdb-0 secondary Running 0 aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb 2.23.1 gaussdb-bijafg-gaussdb-1 primary Running 0 aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb 2.23.1 gaussdb-bijafg-gaussdb-2 secondary Running 0 aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 Resources Allocation: COMPONENT INSTANCE-TEMPLATE CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS gaussdb 500m / 500m 2Gi / 2Gi data:20Gi default Images: COMPONENT COMPONENT-DEFINITION IMAGE gaussdb gaussdb-repl-1.0.1 docker.io/apecloud/gaussdb:2.23.01.200-r1 docker.io/apecloud/gaussdb-exporter:1.1.2 docker.io/apecloud/gaussdb-tools:2.23.01.200 Data Protection: BACKUP-REPO AUTO-BACKUP BACKUP-SCHEDULE BACKUP-METHOD BACKUP-RETENTION RECOVERABLE-TIME Show cluster events: kbcli cluster list-events -n ns-dnkqz gaussdb-bijafg `kbcli cluster label gaussdb-bijafg app.kubernetes.io/instance- --namespace ns-dnkqz ` label "app.kubernetes.io/instance" not found. `kbcli cluster label gaussdb-bijafg app.kubernetes.io/instance=gaussdb-bijafg --namespace ns-dnkqz ` `kbcli cluster label gaussdb-bijafg --list --namespace ns-dnkqz ` NAME NAMESPACE LABELS gaussdb-bijafg ns-dnkqz app.kubernetes.io/instance=gaussdb-bijafg clusterdefinition.kubeblocks.io/name=gaussdb label cluster app.kubernetes.io/instance=gaussdb-bijafg Success `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=gaussdb-bijafg --namespace ns-dnkqz ` `kbcli cluster label gaussdb-bijafg --list --namespace ns-dnkqz ` NAME NAMESPACE LABELS gaussdb-bijafg ns-dnkqz app.kubernetes.io/instance=gaussdb-bijafg case.name=kbcli.test1 clusterdefinition.kubeblocks.io/name=gaussdb label cluster case.name=kbcli.test1 Success `kbcli cluster label gaussdb-bijafg case.name=kbcli.test2 --overwrite --namespace ns-dnkqz ` `kbcli cluster label gaussdb-bijafg --list --namespace ns-dnkqz ` NAME NAMESPACE LABELS gaussdb-bijafg ns-dnkqz app.kubernetes.io/instance=gaussdb-bijafg case.name=kbcli.test2 clusterdefinition.kubeblocks.io/name=gaussdb label cluster case.name=kbcli.test2 Success `kbcli cluster label gaussdb-bijafg case.name- --namespace ns-dnkqz ` `kbcli cluster label gaussdb-bijafg --list --namespace ns-dnkqz ` NAME NAMESPACE LABELS gaussdb-bijafg ns-dnkqz app.kubernetes.io/instance=gaussdb-bijafg clusterdefinition.kubeblocks.io/name=gaussdb delete cluster label case.name Success cluster connect `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"show max_connections;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm" ` Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:27:53 UTC 2025 max_connections ----------------- 225 (1 row) connect cluster Success set max_connections to 225 insert batch data by db client Error from server (NotFound): pods "test-db-client-executionloop-gaussdb-bijafg" not found `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-executionloop-gaussdb-bijafg --namespace ns-dnkqz ` Error from server (NotFound): pods "test-db-client-executionloop-gaussdb-bijafg" not found Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): pods "test-db-client-executionloop-gaussdb-bijafg" not found `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres apiVersion: v1 kind: Pod metadata: name: test-db-client-executionloop-gaussdb-bijafg namespace: ns-dnkqz spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local" - "--user" - "dba" - "--password" - "1W82I4uF3EU4" - "--port" - "5432" - "--dbtype" - "gaussdb" - "--test" - "executionloop" - "--duration" - "60" - "--interval" - "1" restartPolicy: Never `kubectl apply -f test-db-client-executionloop-gaussdb-bijafg.yaml` pod/test-db-client-executionloop-gaussdb-bijafg created apply test-db-client-executionloop-gaussdb-bijafg.yaml Success `rm -rf test-db-client-executionloop-gaussdb-bijafg.yaml` check pod status pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 5s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 9s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 14s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 19s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 25s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 30s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 35s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 40s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 45s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 50s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 55s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 60s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 66s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 71s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 76s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 81s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 86s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 91s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 96s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 101s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 106s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 112s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 117s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m2s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m7s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m12s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m17s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m22s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m27s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m32s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m38s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m43s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m48s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m53s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 2m58s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m3s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m8s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m13s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m19s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m24s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m29s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m34s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m39s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m44s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m49s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 3m54s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m5s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m10s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m15s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m20s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m25s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m30s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m35s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m40s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m46s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m51s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 4m56s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 5m1s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 5m6s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-gaussdb-bijafg 1/1 Running 0 5m11s check pod test-db-client-executionloop-gaussdb-bijafg status timeout --------------------------------------get pod test-db-client-executionloop-gaussdb-bijafg yaml-------------------------------------- `kubectl get pod test-db-client-executionloop-gaussdb-bijafg -o yaml --namespace ns-dnkqz ` apiVersion: v1 kind: Pod metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | ***"apiVersion":"v1","kind":"Pod","metadata":***"annotations":***,"name":"test-db-client-executionloop-gaussdb-bijafg","namespace":"ns-dnkqz"***,"spec":***"containers":[***"args":["--host","gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local","--user","dba","--password","1W82I4uF3EU4","--port","5432","--dbtype","gaussdb","--test","executionloop","--duration","60","--interval","1"],"image":"docker.io/apecloud/dbclient:test","imagePullPolicy":"IfNotPresent","name":"test-dbclient"***],"restartPolicy":"Never"*** creationTimestamp: "2025-09-11T09:28:01Z" name: test-db-client-executionloop-gaussdb-bijafg namespace: ns-dnkqz resourceVersion: "20015" uid: 770b73df-3c9f-46f5-8805-26918fff14da spec: containers: - args: - --host - gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local - --user - dba - --password - 1W82I4uF3EU4 - --port - "5432" - --dbtype - gaussdb - --test - executionloop - --duration - "60" - --interval - "1" image: docker.io/apecloud/dbclient:test imagePullPolicy: IfNotPresent name: test-dbclient resources: *** terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-6dstb readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true nodeName: aks-cicdamdpool-27918866-vmss000001 preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Never schedulerName: default-scheduler securityContext: *** serviceAccount: default serviceAccountName: default terminationGracePeriodSeconds: 30 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 volumes: - name: kube-api-access-6dstb projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace status: conditions: - lastProbeTime: null lastTransitionTime: "2025-09-11T09:28:05Z" status: "True" type: PodReadyToStartContainers - lastProbeTime: null lastTransitionTime: "2025-09-11T09:28:01Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2025-09-11T09:28:05Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: "2025-09-11T09:28:05Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2025-09-11T09:28:01Z" status: "True" type: PodScheduled containerStatuses: - containerID: containerd://b3df475856d506a4a461d40061bd8db8c50b792c4bd9c3727b29c06b2d248a4f image: docker.io/apecloud/dbclient:test imageID: docker.io/apecloud/dbclient@sha256:abec5208c25fc18470ec383a06c35e29186314821be5151efcb82612aee1dcc1 lastState: *** name: test-dbclient ready: true restartCount: 0 started: true state: running: startedAt: "2025-09-11T09:28:04Z" volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-6dstb readOnly: true recursiveReadOnly: Disabled hostIP: 10.224.0.9 hostIPs: - ip: 10.224.0.9 phase: Running podIP: 10.244.5.45 podIPs: - ip: 10.244.5.45 qosClass: BestEffort startTime: "2025-09-11T09:28:01Z" ------------------------------------------------------------------------------------------------------------------ --------------------------------------describe pod test-db-client-executionloop-gaussdb-bijafg-------------------------------------- `kubectl describe pod test-db-client-executionloop-gaussdb-bijafg --namespace ns-dnkqz ` Name: test-db-client-executionloop-gaussdb-bijafg Namespace: ns-dnkqz Priority: 0 Service Account: default Node: aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Start Time: Thu, 11 Sep 2025 17:28:01 +0800 Labels: Annotations: Status: Running IP: 10.244.5.45 IPs: IP: 10.244.5.45 Containers: test-dbclient: Container ID: containerd://b3df475856d506a4a461d40061bd8db8c50b792c4bd9c3727b29c06b2d248a4f Image: docker.io/apecloud/dbclient:test Image ID: docker.io/apecloud/dbclient@sha256:abec5208c25fc18470ec383a06c35e29186314821be5151efcb82612aee1dcc1 Port: Host Port: Args: --host gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local --user dba --password 1W82I4uF3EU4 --port 5432 --dbtype gaussdb --test executionloop --duration 60 --interval 1 State: Running Started: Thu, 11 Sep 2025 17:28:04 +0800 Ready: True Restart Count: 0 Environment: Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-6dstb (ro) Conditions: Type Status PodReadyToStartContainers True Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-6dstb: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true QoS Class: BestEffort Node-Selectors: Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 5m12s default-scheduler Successfully assigned ns-dnkqz/test-db-client-executionloop-gaussdb-bijafg to aks-cicdamdpool-27918866-vmss000001 Normal Pulled 5m9s kubelet Container image "docker.io/apecloud/dbclient:test" already present on machine Normal Created 5m9s kubelet Created container: test-dbclient Normal Started 5m9s kubelet Started container test-dbclient ------------------------------------------------------------------------------------------------------------------ --------------------------------------pod test-db-client-executionloop-gaussdb-bijafg-------------------------------------- `kubectl logs test-db-client-executionloop-gaussdb-bijafg --namespace ns-dnkqz --tail 500` --host gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local --user dba --password 1W82I4uF3EU4 --port 5432 --dbtype gaussdb --test executionloop --duration 60 --interval 1 SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider] Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [ced13154-5a7f-4ed2-bf39-f547fe1d3171] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.5.45:57824/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: ced13154-5a7f-4ed2-bf39-f547fe1d3171 Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: ced13154-5a7f-4ed2-bf39-f547fe1d3171 Execution loop start: create databases executions_loop CREATE DATABASE executions_loop; reconnect connection executions_loop Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [812bc88e-adad-49a9-a2df-a127512cd120] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.5.45:57834/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 812bc88e-adad-49a9-a2df-a127512cd120 Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 812bc88e-adad-49a9-a2df-a127512cd120 drop table executions_loop_table DROP TABLE IF EXISTS executions_loop_table; create table executions_loop_table CREATE TABLE IF NOT EXISTS executions_loop_table (id SERIAL PRIMARY KEY , value text); Execution loop start:INSERT INTO executions_loop_table (value) VALUES ('executions_loop_test_1'); [ 1s ] executions total: 1 successful: 1 failed: 0 disconnect: 0 [ 2s ] executions total: 143 successful: 143 failed: 0 disconnect: 0 [ 3s ] executions total: 244 successful: 244 failed: 0 disconnect: 0 [ 4s ] executions total: 312 successful: 312 failed: 0 disconnect: 0 [ 5s ] executions total: 450 successful: 450 failed: 0 disconnect: 0 [ 6s ] executions total: 575 successful: 575 failed: 0 disconnect: 0 [ 7s ] executions total: 694 successful: 694 failed: 0 disconnect: 0 [ 8s ] executions total: 757 successful: 757 failed: 0 disconnect: 0 [ 9s ] executions total: 890 successful: 890 failed: 0 disconnect: 0 [ 10s ] executions total: 1028 successful: 1028 failed: 0 disconnect: 0 [ 11s ] executions total: 1145 successful: 1145 failed: 0 disconnect: 0 [ 12s ] executions total: 1217 successful: 1217 failed: 0 disconnect: 0 [ 13s ] executions total: 1357 successful: 1357 failed: 0 disconnect: 0 [ 14s ] executions total: 1492 successful: 1492 failed: 0 disconnect: 0 [ 15s ] executions total: 1613 successful: 1613 failed: 0 disconnect: 0 [ 16s ] executions total: 1678 successful: 1678 failed: 0 disconnect: 0 [ 17s ] executions total: 1806 successful: 1806 failed: 0 disconnect: 0 [ 18s ] executions total: 1933 successful: 1933 failed: 0 disconnect: 0 [ 19s ] executions total: 2047 successful: 2047 failed: 0 disconnect: 0 [ 20s ] executions total: 2115 successful: 2115 failed: 0 disconnect: 0 [ 21s ] executions total: 2223 successful: 2223 failed: 0 disconnect: 0 [ 22s ] executions total: 2356 successful: 2356 failed: 0 disconnect: 0 [ 23s ] executions total: 2469 successful: 2469 failed: 0 disconnect: 0 [ 24s ] executions total: 2537 successful: 2537 failed: 0 disconnect: 0 [ 25s ] executions total: 2668 successful: 2668 failed: 0 disconnect: 0 ------------------------------------------------------------------------------------------------------------------ check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done --host gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local --user dba --password 1W82I4uF3EU4 --port 5432 --dbtype gaussdb --test executionloop --duration 60 --interval 1 SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider] Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [ced13154-5a7f-4ed2-bf39-f547fe1d3171] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.5.45:57824/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: ced13154-5a7f-4ed2-bf39-f547fe1d3171 Sep 11, 2025 9:28:05 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: ced13154-5a7f-4ed2-bf39-f547fe1d3171 Execution loop start: create databases executions_loop CREATE DATABASE executions_loop; reconnect connection executions_loop Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [812bc88e-adad-49a9-a2df-a127512cd120] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.5.45:57834/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 812bc88e-adad-49a9-a2df-a127512cd120 Sep 11, 2025 9:28:08 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 812bc88e-adad-49a9-a2df-a127512cd120 drop table executions_loop_table DROP TABLE IF EXISTS executions_loop_table; create table executions_loop_table CREATE TABLE IF NOT EXISTS executions_loop_table (id SERIAL PRIMARY KEY , value text); Execution loop start:INSERT INTO executions_loop_table (value) VALUES ('executions_loop_test_1'); [ 1s ] executions total: 1 successful: 1 failed: 0 disconnect: 0 [ 2s ] executions total: 143 successful: 143 failed: 0 disconnect: 0 [ 3s ] executions total: 244 successful: 244 failed: 0 disconnect: 0 [ 4s ] executions total: 312 successful: 312 failed: 0 disconnect: 0 [ 5s ] executions total: 450 successful: 450 failed: 0 disconnect: 0 [ 6s ] executions total: 575 successful: 575 failed: 0 disconnect: 0 [ 7s ] executions total: 694 successful: 694 failed: 0 disconnect: 0 [ 8s ] executions total: 757 successful: 757 failed: 0 disconnect: 0 [ 9s ] executions total: 890 successful: 890 failed: 0 disconnect: 0 [ 10s ] executions total: 1028 successful: 1028 failed: 0 disconnect: 0 [ 11s ] executions total: 1145 successful: 1145 failed: 0 disconnect: 0 [ 12s ] executions total: 1217 successful: 1217 failed: 0 disconnect: 0 [ 13s ] executions total: 1357 successful: 1357 failed: 0 disconnect: 0 [ 14s ] executions total: 1492 successful: 1492 failed: 0 disconnect: 0 [ 15s ] executions total: 1613 successful: 1613 failed: 0 disconnect: 0 [ 16s ] executions total: 1678 successful: 1678 failed: 0 disconnect: 0 [ 17s ] executions total: 1806 successful: 1806 failed: 0 disconnect: 0 [ 18s ] executions total: 1933 successful: 1933 failed: 0 disconnect: 0 [ 19s ] executions total: 2047 successful: 2047 failed: 0 disconnect: 0 [ 20s ] executions total: 2115 successful: 2115 failed: 0 disconnect: 0 [ 21s ] executions total: 2223 successful: 2223 failed: 0 disconnect: 0 [ 22s ] executions total: 2356 successful: 2356 failed: 0 disconnect: 0 [ 23s ] executions total: 2469 successful: 2469 failed: 0 disconnect: 0 [ 24s ] executions total: 2537 successful: 2537 failed: 0 disconnect: 0 [ 25s ] executions total: 2668 successful: 2668 failed: 0 disconnect: 0 DB_CLIENT_BATCH_DATA_COUNT: `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-executionloop-gaussdb-bijafg --namespace ns-dnkqz ` pod/test-db-client-executionloop-gaussdb-bijafg patched (no change) Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. pod "test-db-client-executionloop-gaussdb-bijafg" force deleted `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"DROP TABLE IF EXISTS tmp_table; CREATE TABLE IF NOT EXISTS tmp_table (id INT PRIMARY KEY , value text); INSERT INTO tmp_table (id,value) VALUES (1,'jcqqk');\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:33:16 UTC 2025 NOTICE: table "tmp_table" does not exist, skipping DROP TABLE NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "tmp_table_pkey" for table "tmp_table" CREATE TABLE INSERT 0 1 add consistent data jcqqk Success test failover networkcorrupt check cluster status before cluster-failover-networkcorrupt check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkcorrupt-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkcorrupt-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkcorrupt-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-1 mode: all action: corrupt corrupt: corrupt: '100' correlation: '100' direction: to duration: 2m `kubectl apply -f test-chaos-mesh-networkcorrupt-gaussdb-bijafg.yaml` Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkcorrupt-gaussdb-bijafg" not found networkchaos.chaos-mesh.org/test-chaos-mesh-networkcorrupt-gaussdb-bijafg created apply test-chaos-mesh-networkcorrupt-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkcorrupt-gaussdb-bijafg.yaml` networkcorrupt chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-2 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-2 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-2 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-2 check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkcorrupt-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org "test-chaos-mesh-networkcorrupt-gaussdb-bijafg" force deleted Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkcorrupt-gaussdb-bijafg" not found check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover networkcorrupt Failure `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:35:37 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover networkbandwidth check cluster status before cluster-failover-networkbandwidth check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkbandwidth-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkbandwidth-gaussdb-bijafg" not found Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkbandwidth-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkbandwidth-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 action: bandwidth mode: all bandwidth: rate: '1bps' limit: 20971520 buffer: 10000 duration: 2m `kubectl apply -f test-chaos-mesh-networkbandwidth-gaussdb-bijafg.yaml` networkchaos.chaos-mesh.org/test-chaos-mesh-networkbandwidth-gaussdb-bijafg created apply test-chaos-mesh-networkbandwidth-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkbandwidth-gaussdb-bijafg.yaml` networkbandwidth chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:20Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 check cluster role done primary: gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkbandwidth-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org/test-chaos-mesh-networkbandwidth-gaussdb-bijafg patched check failover pod name networkchaos.chaos-mesh.org "test-chaos-mesh-networkbandwidth-gaussdb-bijafg" force deleted failover pod name:gaussdb-bijafg-gaussdb-2 failover networkbandwidth Failure `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:37:44 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success `kubectl get pvc -l app.kubernetes.io/instance=gaussdb-bijafg,apps.kubeblocks.io/component-name=gaussdb,apps.kubeblocks.io/vct-name=data --namespace ns-dnkqz ` cluster volume-expand check cluster status before ops check cluster status done cluster_status:Running No resources found in gaussdb-bijafg namespace. `kbcli cluster volume-expand gaussdb-bijafg --auto-approve --force=true --components gaussdb --volume-claim-templates data --storage 22Gi --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-volumeexpansion-plvjv created successfully, you can view the progress: kbcli cluster describe-ops gaussdb-bijafg-volumeexpansion-plvjv -n ns-dnkqz check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-volumeexpansion-plvjv ns-dnkqz VolumeExpansion gaussdb-bijafg gaussdb Running -/- Sep 11,2025 17:37 UTC+0800 check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done No resources found in gaussdb-bijafg namespace. check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-volumeexpansion-plvjv ns-dnkqz VolumeExpansion gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 17:37 UTC+0800 check ops status done ops_status:gaussdb-bijafg-volumeexpansion-plvjv ns-dnkqz VolumeExpansion gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 17:37 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests.operations gaussdb-bijafg-volumeexpansion-plvjv --namespace ns-dnkqz ` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-volumeexpansion-plvjv patched `kbcli cluster delete-ops --name gaussdb-bijafg-volumeexpansion-plvjv --force --auto-approve --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-volumeexpansion-plvjv deleted `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:47:08 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover networkloss check cluster status before cluster-failover-networkloss check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkloss-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkloss-gaussdb-bijafg" not found Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkloss-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkloss-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-2 mode: all action: loss loss: loss: '100' correlation: '100' direction: to duration: 2m `kubectl apply -f test-chaos-mesh-networkloss-gaussdb-bijafg.yaml` networkchaos.chaos-mesh.org/test-chaos-mesh-networkloss-gaussdb-bijafg created apply test-chaos-mesh-networkloss-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkloss-gaussdb-bijafg.yaml` networkloss chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 primary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-1 check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkloss-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org "test-chaos-mesh-networkloss-gaussdb-bijafg" force deleted networkchaos.chaos-mesh.org/test-chaos-mesh-networkloss-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover networkloss Failure `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:49:26 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover networkduplicate check cluster status before cluster-failover-networkduplicate check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkduplicate-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkduplicate-gaussdb-bijafg" not found Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkduplicate-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkduplicate-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all action: duplicate duplicate: duplicate: '100' correlation: '100' direction: to duration: 2m `kubectl apply -f test-chaos-mesh-networkduplicate-gaussdb-bijafg.yaml` networkchaos.chaos-mesh.org/test-chaos-mesh-networkduplicate-gaussdb-bijafg created apply test-chaos-mesh-networkduplicate-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkduplicate-gaussdb-bijafg.yaml` networkduplicate chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkduplicate-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org "test-chaos-mesh-networkduplicate-gaussdb-bijafg" force deleted Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkduplicate-gaussdb-bijafg" not found check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover networkduplicate Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:51:32 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover podkill check cluster status before cluster-failover-podkill check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge PodChaos test-chaos-mesh-podkill-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): podchaos.chaos-mesh.org "test-chaos-mesh-podkill-gaussdb-bijafg" not found Error from server (NotFound): podchaos.chaos-mesh.org "test-chaos-mesh-podkill-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: PodChaos metadata: name: test-chaos-mesh-podkill-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all action: pod-kill `kubectl apply -f test-chaos-mesh-podkill-gaussdb-bijafg.yaml` podchaos.chaos-mesh.org/test-chaos-mesh-podkill-gaussdb-bijafg created apply test-chaos-mesh-podkill-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-podkill-gaussdb-bijafg.yaml` check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge PodChaos test-chaos-mesh-podkill-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. podchaos.chaos-mesh.org "test-chaos-mesh-podkill-gaussdb-bijafg" force deleted podchaos.chaos-mesh.org/test-chaos-mesh-podkill-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-1 failover podkill Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:52:37 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover timeoffset check cluster status before cluster-failover-timeoffset check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge TimeChaos test-chaos-mesh-timeoffset-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): timechaos.chaos-mesh.org "test-chaos-mesh-timeoffset-gaussdb-bijafg" not found Error from server (NotFound): timechaos.chaos-mesh.org "test-chaos-mesh-timeoffset-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: TimeChaos metadata: name: test-chaos-mesh-timeoffset-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-1 mode: all timeOffset: '-10m' clockIds: - CLOCK_REALTIME duration: 2m `kubectl apply -f test-chaos-mesh-timeoffset-gaussdb-bijafg.yaml` timechaos.chaos-mesh.org/test-chaos-mesh-timeoffset-gaussdb-bijafg created apply test-chaos-mesh-timeoffset-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-timeoffset-gaussdb-bijafg.yaml` timeoffset chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge TimeChaos test-chaos-mesh-timeoffset-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. timechaos.chaos-mesh.org "test-chaos-mesh-timeoffset-gaussdb-bijafg" force deleted timechaos.chaos-mesh.org/test-chaos-mesh-timeoffset-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-1 failover timeoffset Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:54:43 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover kill1 check cluster status before cluster-failover-kill1 check cluster status done cluster_status:Running `kill 1` Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file exec return message: check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done check failover pod name failover pod name:gaussdb-bijafg-gaussdb-1 failover kill1 Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:54:59 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover connectionstressover check cluster status before cluster-failover-connectionstressover check cluster status done cluster_status:Running Error from server (NotFound): pods "test-db-client-connectionstressover-gaussdb-bijafg" not found `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-connectionstressover-gaussdb-bijafg --namespace ns-dnkqz ` Error from server (NotFound): pods "test-db-client-connectionstressover-gaussdb-bijafg" not found Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): pods "test-db-client-connectionstressover-gaussdb-bijafg" not found `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres apiVersion: v1 kind: Pod metadata: name: test-db-client-connectionstressover-gaussdb-bijafg namespace: ns-dnkqz spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local" - "--user" - "dba" - "--password" - "1W82I4uF3EU4" - "--port" - "5432" - "--database" - "postgres" - "--dbtype" - "gaussdb" - "--test" - "connectionstress" - "--connections" - "225" - "--duration" - "60" restartPolicy: Never `kubectl apply -f test-db-client-connectionstressover-gaussdb-bijafg.yaml` pod/test-db-client-connectionstressover-gaussdb-bijafg created apply test-db-client-connectionstressover-gaussdb-bijafg.yaml Success `rm -rf test-db-client-connectionstressover-gaussdb-bijafg.yaml` check pod status pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 0/1 ContainerCreating 0 6s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 10s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 15s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 20s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 25s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 30s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 1/1 Running 0 35s check pod test-db-client-connectionstressover-gaussdb-bijafg status done pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstressover-gaussdb-bijafg 0/1 Completed 0 40s check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-2;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-1 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done INFO: Connect complete. ID: 3a32d72f-0940-4094-ac46-b499243a383d Sep 11, 2025 9:55:35 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [96815009-6e3c-4b20-93bd-1cc63217302d] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:35 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43938/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 96815009-6e3c-4b20-93bd-1cc63217302d Sep 11, 2025 9:55:35 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 96815009-6e3c-4b20-93bd-1cc63217302d Sep 11, 2025 9:55:35 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [dacb1cb9-339c-4fd4-abe4-1c4acc0eca2e] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:35 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43944/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: dacb1cb9-339c-4fd4-abe4-1c4acc0eca2e Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: dacb1cb9-339c-4fd4-abe4-1c4acc0eca2e Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [ea4f1a3f-1cea-4e93-a4a3-30384e11c265] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43952/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: ea4f1a3f-1cea-4e93-a4a3-30384e11c265 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: ea4f1a3f-1cea-4e93-a4a3-30384e11c265 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [3036d7bc-f6cc-40ff-b7c1-7ea1706b4d92] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43966/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 3036d7bc-f6cc-40ff-b7c1-7ea1706b4d92 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 3036d7bc-f6cc-40ff-b7c1-7ea1706b4d92 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [58e80ea9-c1df-4771-be58-7c2141078f74] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43974/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 58e80ea9-c1df-4771-be58-7c2141078f74 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 58e80ea9-c1df-4771-be58-7c2141078f74 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [b5a00531-f929-4d8c-a41c-51043c3e9b72] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43988/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: b5a00531-f929-4d8c-a41c-51043c3e9b72 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: b5a00531-f929-4d8c-a41c-51043c3e9b72 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [8607aefe-e374-4d25-b5d4-d77d5d228728] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:43994/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 8607aefe-e374-4d25-b5d4-d77d5d228728 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 8607aefe-e374-4d25-b5d4-d77d5d228728 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [fdd09826-007b-434d-a6f4-d53ecd671af0] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44004/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: fdd09826-007b-434d-a6f4-d53ecd671af0 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: fdd09826-007b-434d-a6f4-d53ecd671af0 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [16688b72-595c-4637-8fcf-0695649beeb5] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44020/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 16688b72-595c-4637-8fcf-0695649beeb5 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 16688b72-595c-4637-8fcf-0695649beeb5 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [c7f866d2-516a-4b18-9284-7c57d1bc539e] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44028/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: c7f866d2-516a-4b18-9284-7c57d1bc539e Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: c7f866d2-516a-4b18-9284-7c57d1bc539e Sep 11, 2025 9:55:36 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [23b05c17-e01d-424b-8eed-46753f7877ba] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44034/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 23b05c17-e01d-424b-8eed-46753f7877ba Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 23b05c17-e01d-424b-8eed-46753f7877ba Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [0d86c4e7-5994-489c-abcf-e952f6b44e6c] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44044/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 0d86c4e7-5994-489c-abcf-e952f6b44e6c Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 0d86c4e7-5994-489c-abcf-e952f6b44e6c Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [c125abb2-d177-49a6-be24-0b54a16b32c9] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44046/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: c125abb2-d177-49a6-be24-0b54a16b32c9 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: c125abb2-d177-49a6-be24-0b54a16b32c9 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [959482c9-0aeb-444f-8a5b-b96e4a2d8b67] Try to connect. IP: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local:5432 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.2.104:44050/aussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local/10.0.195.192:5432] Connection is established. ID: 959482c9-0aeb-444f-8a5b-b96e4a2d8b67 Sep 11, 2025 9:55:37 AM com.huawei.opengauss.jdbc.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 959482c9-0aeb-444f-8a5b-b96e4a2d8b67 Test Result: null Connection Information: Database Type: gaussdb Host: gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local Port: 5432 Database: postgres Table: User: dba Org: Access Mode: mysql Test Type: connectionstress Connection Count: 225 Duration: 60 seconds `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-connectionstressover-gaussdb-bijafg --namespace ns-dnkqz ` pod/test-db-client-connectionstressover-gaussdb-bijafg patched (no change) Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. pod "test-db-client-connectionstressover-gaussdb-bijafg" force deleted check failover pod name failover pod name:gaussdb-bijafg-gaussdb-2 failover connectionstressover Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-2 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:56:09 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover podfailure check cluster status before cluster-failover-podfailure check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge PodChaos test-chaos-mesh-podfailure-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): podchaos.chaos-mesh.org "test-chaos-mesh-podfailure-gaussdb-bijafg" not found Error from server (NotFound): podchaos.chaos-mesh.org "test-chaos-mesh-podfailure-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: PodChaos metadata: name: test-chaos-mesh-podfailure-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-2 mode: all action: pod-failure duration: 2m `kubectl apply -f test-chaos-mesh-podfailure-gaussdb-bijafg.yaml` podchaos.chaos-mesh.org/test-chaos-mesh-podfailure-gaussdb-bijafg created apply test-chaos-mesh-podfailure-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-podfailure-gaussdb-bijafg.yaml` podfailure chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Failed Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Failed cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge PodChaos test-chaos-mesh-podfailure-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. podchaos.chaos-mesh.org "test-chaos-mesh-podfailure-gaussdb-bijafg" force deleted Error from server (NotFound): podchaos.chaos-mesh.org "test-chaos-mesh-podfailure-gaussdb-bijafg" not found check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover podfailure Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 09:59:11 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover oom check cluster status before cluster-failover-oom check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge StressChaos test-chaos-mesh-oom-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): stresschaos.chaos-mesh.org "test-chaos-mesh-oom-gaussdb-bijafg" not found Error from server (NotFound): stresschaos.chaos-mesh.org "test-chaos-mesh-oom-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: StressChaos metadata: name: test-chaos-mesh-oom-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all stressors: memory: workers: 1 size: "100GB" oomScoreAdj: -1000 duration: 2m `kubectl apply -f test-chaos-mesh-oom-gaussdb-bijafg.yaml` stresschaos.chaos-mesh.org/test-chaos-mesh-oom-gaussdb-bijafg created apply test-chaos-mesh-oom-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-oom-gaussdb-bijafg.yaml` check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge StressChaos test-chaos-mesh-oom-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. stresschaos.chaos-mesh.org "test-chaos-mesh-oom-gaussdb-bijafg" force deleted stresschaos.chaos-mesh.org/test-chaos-mesh-oom-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-1 failover oom Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:00:06 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover fullcpu check cluster status before cluster-failover-fullcpu check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge StressChaos test-chaos-mesh-fullcpu-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): stresschaos.chaos-mesh.org "test-chaos-mesh-fullcpu-gaussdb-bijafg" not found Error from server (NotFound): stresschaos.chaos-mesh.org "test-chaos-mesh-fullcpu-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: StressChaos metadata: name: test-chaos-mesh-fullcpu-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-1 mode: all stressors: cpu: workers: 100 load: 100 duration: 2m `kubectl apply -f test-chaos-mesh-fullcpu-gaussdb-bijafg.yaml` stresschaos.chaos-mesh.org/test-chaos-mesh-fullcpu-gaussdb-bijafg created apply test-chaos-mesh-fullcpu-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-fullcpu-gaussdb-bijafg.yaml` fullcpu chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 17:51 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 17:22 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 500m / 500m 2Gi / 2Gi data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 17:22 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge StressChaos test-chaos-mesh-fullcpu-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. stresschaos.chaos-mesh.org "test-chaos-mesh-fullcpu-gaussdb-bijafg" force deleted Error from server (NotFound): stresschaos.chaos-mesh.org "test-chaos-mesh-fullcpu-gaussdb-bijafg" not found check failover pod name failover pod name:gaussdb-bijafg-gaussdb-1 failover fullcpu Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:02:12 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster vscale gaussdb-bijafg --auto-approve --force=true --components gaussdb --cpu 600m --memory 2.1Gi --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-verticalscaling-m5hbg created successfully, you can view the progress: kbcli cluster describe-ops gaussdb-bijafg-verticalscaling-m5hbg -n ns-dnkqz check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-verticalscaling-m5hbg ns-dnkqz VerticalScaling gaussdb-bijafg gaussdb Creating -/- Sep 11,2025 18:02 UTC+0800 check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-verticalscaling-m5hbg ns-dnkqz VerticalScaling gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 18:02 UTC+0800 check ops status done ops_status:gaussdb-bijafg-verticalscaling-m5hbg ns-dnkqz VerticalScaling gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 18:02 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests.operations gaussdb-bijafg-verticalscaling-m5hbg --namespace ns-dnkqz ` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-verticalscaling-m5hbg patched `kbcli cluster delete-ops --name gaussdb-bijafg-verticalscaling-m5hbg --force --auto-approve --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-verticalscaling-m5hbg deleted `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:07:08 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success cluster does not need to check monitor currently check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done test failover networkdelay check cluster status before cluster-failover-networkdelay check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkdelay-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkdelay-gaussdb-bijafg" not found Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkdelay-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkdelay-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all action: delay delay: latency: 2000ms correlation: '100' jitter: 0ms direction: to duration: 2m `kubectl apply -f test-chaos-mesh-networkdelay-gaussdb-bijafg.yaml` networkchaos.chaos-mesh.org/test-chaos-mesh-networkdelay-gaussdb-bijafg created apply test-chaos-mesh-networkdelay-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkdelay-gaussdb-bijafg.yaml` networkdelay chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkdelay-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org "test-chaos-mesh-networkdelay-gaussdb-bijafg" force deleted Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkdelay-gaussdb-bijafg" not found check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover networkdelay Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:09:22 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover dnserror check cluster status before cluster-failover-dnserror check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge DNSChaos test-chaos-mesh-dnserror-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): dnschaos.chaos-mesh.org "test-chaos-mesh-dnserror-gaussdb-bijafg" not found Error from server (NotFound): dnschaos.chaos-mesh.org "test-chaos-mesh-dnserror-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: DNSChaos metadata: name: test-chaos-mesh-dnserror-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all action: error duration: 2m `kubectl apply -f test-chaos-mesh-dnserror-gaussdb-bijafg.yaml` dnschaos.chaos-mesh.org/test-chaos-mesh-dnserror-gaussdb-bijafg created apply test-chaos-mesh-dnserror-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-dnserror-gaussdb-bijafg.yaml` dnserror chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge DNSChaos test-chaos-mesh-dnserror-gaussdb-bijafg --namespace ns-dnkqz ` dnschaos.chaos-mesh.org "test-chaos-mesh-dnserror-gaussdb-bijafg" force deleted dnschaos.chaos-mesh.org/test-chaos-mesh-dnserror-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover dnserror Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:11:27 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success cluster configure component_tmp: gaussdb apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: gaussdb-bijafg-reconfiguring- namespace: ns-dnkqz spec: type: Reconfiguring clusterName: gaussdb-bijafg force: true reconfigures: - componentName: gaussdb parameters: - key: alarm_report_interval value: '20' check cluster status before ops check cluster status done cluster_status:Running `kubectl create -f test_ops_cluster_gaussdb-bijafg.yaml` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-reconfiguring-2q2pz created create test_ops_cluster_gaussdb-bijafg.yaml Success `rm -rf test_ops_cluster_gaussdb-bijafg.yaml` check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-reconfiguring-2q2pz ns-dnkqz Reconfiguring gaussdb-bijafg gaussdb,gaussdb Running -/- Sep 11,2025 18:11 UTC+0800 check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-reconfiguring-2q2pz ns-dnkqz Reconfiguring gaussdb-bijafg gaussdb,gaussdb Succeed -/- Sep 11,2025 18:11 UTC+0800 check ops status done ops_status:gaussdb-bijafg-reconfiguring-2q2pz ns-dnkqz Reconfiguring gaussdb-bijafg gaussdb,gaussdb Succeed -/- Sep 11,2025 18:11 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests.operations gaussdb-bijafg-reconfiguring-2q2pz --namespace ns-dnkqz ` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-reconfiguring-2q2pz patched `kbcli cluster delete-ops --name gaussdb-bijafg-reconfiguring-2q2pz --force --auto-approve --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-reconfiguring-2q2pz deleted component_config:gaussdb check config variables Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file current value_actual: 20 configure:[alarm_report_interval] result actual:[20] equal expected:[20] `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:11:45 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover networkpartition check cluster status before cluster-failover-networkpartition check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkpartition-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkpartition-gaussdb-bijafg" not found Error from server (NotFound): networkchaos.chaos-mesh.org "test-chaos-mesh-networkpartition-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkChaos metadata: name: test-chaos-mesh-networkpartition-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 action: partition mode: all target: mode: all selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-1 direction: to duration: 2m `kubectl apply -f test-chaos-mesh-networkpartition-gaussdb-bijafg.yaml` networkchaos.chaos-mesh.org/test-chaos-mesh-networkpartition-gaussdb-bijafg created apply test-chaos-mesh-networkpartition-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-networkpartition-gaussdb-bijafg.yaml` networkpartition chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge NetworkChaos test-chaos-mesh-networkpartition-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. networkchaos.chaos-mesh.org "test-chaos-mesh-networkpartition-gaussdb-bijafg" force deleted networkchaos.chaos-mesh.org/test-chaos-mesh-networkpartition-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover networkpartition Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:13:50 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test switchover cluster promote check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster promote gaussdb-bijafg --auto-approve --force=true --instance gaussdb-bijafg-gaussdb-0 --candidate gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-switchover-k7qs8 created successfully, you can view the progress: kbcli cluster describe-ops gaussdb-bijafg-switchover-k7qs8 -n ns-dnkqz check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-switchover-k7qs8 ns-dnkqz Switchover gaussdb-bijafg Creating -/- Sep 11,2025 18:13 UTC+0800 check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:04 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:06 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:02 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-1;secondary: gaussdb-bijafg-gaussdb-0 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-switchover-k7qs8 ns-dnkqz Switchover gaussdb-bijafg gaussdb-bijafg-gaussdb Running -/- Sep 11,2025 18:13 UTC+0800 ops_status:gaussdb-bijafg-switchover-k7qs8 ns-dnkqz Switchover gaussdb-bijafg gaussdb-bijafg-gaussdb Running -/- Sep 11,2025 18:13 UTC+0800 check ops status done ops_status:gaussdb-bijafg-switchover-k7qs8 ns-dnkqz Switchover gaussdb-bijafg gaussdb-bijafg-gaussdb Succeed 1/1 Sep 11,2025 18:13 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests.operations gaussdb-bijafg-switchover-k7qs8 --namespace ns-dnkqz ` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-switchover-k7qs8 patched `kbcli cluster delete-ops --name gaussdb-bijafg-switchover-k7qs8 --force --auto-approve --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-switchover-k7qs8 deleted `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-1 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:14:07 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success switchover pod:gaussdb-bijafg-gaussdb-1 switchover success cluster restart check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster restart gaussdb-bijafg --auto-approve --force=true --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-restart-d8gvv created successfully, you can view the progress: kbcli cluster describe-ops gaussdb-bijafg-restart-d8gvv -n ns-dnkqz check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-restart-d8gvv ns-dnkqz Restart gaussdb-bijafg gaussdb Creating -/- Sep 11,2025 18:14 UTC+0800 check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Updating Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:16 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:18 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:15 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done check ops status `kbcli cluster list-ops gaussdb-bijafg --status all --namespace ns-dnkqz ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME gaussdb-bijafg-restart-d8gvv ns-dnkqz Restart gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 18:14 UTC+0800 check ops status done ops_status:gaussdb-bijafg-restart-d8gvv ns-dnkqz Restart gaussdb-bijafg gaussdb Succeed 3/3 Sep 11,2025 18:14 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests.operations gaussdb-bijafg-restart-d8gvv --namespace ns-dnkqz ` opsrequest.operations.kubeblocks.io/gaussdb-bijafg-restart-d8gvv patched `kbcli cluster delete-ops --name gaussdb-bijafg-restart-d8gvv --force --auto-approve --namespace ns-dnkqz ` OpsRequest gaussdb-bijafg-restart-d8gvv deleted `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:19:53 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success test failover dnsrandom check cluster status before cluster-failover-dnsrandom check cluster status done cluster_status:Running `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge DNSChaos test-chaos-mesh-dnsrandom-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (NotFound): dnschaos.chaos-mesh.org "test-chaos-mesh-dnsrandom-gaussdb-bijafg" not found Error from server (NotFound): dnschaos.chaos-mesh.org "test-chaos-mesh-dnsrandom-gaussdb-bijafg" not found apiVersion: chaos-mesh.org/v1alpha1 kind: DNSChaos metadata: name: test-chaos-mesh-dnsrandom-gaussdb-bijafg namespace: ns-dnkqz spec: selector: namespaces: - ns-dnkqz labelSelectors: apps.kubeblocks.io/pod-name: gaussdb-bijafg-gaussdb-0 mode: all action: random duration: 2m `kubectl apply -f test-chaos-mesh-dnsrandom-gaussdb-bijafg.yaml` dnschaos.chaos-mesh.org/test-chaos-mesh-dnsrandom-gaussdb-bijafg created apply test-chaos-mesh-dnsrandom-gaussdb-bijafg.yaml Success `rm -rf test-chaos-mesh-dnsrandom-gaussdb-bijafg.yaml` dnsrandom chaos test waiting 120 seconds check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb DoNotTerminate Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:16 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:18 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:15 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge DNSChaos test-chaos-mesh-dnsrandom-gaussdb-bijafg --namespace ns-dnkqz ` Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. dnschaos.chaos-mesh.org "test-chaos-mesh-dnsrandom-gaussdb-bijafg" force deleted dnschaos.chaos-mesh.org/test-chaos-mesh-dnsrandom-gaussdb-bijafg patched check failover pod name failover pod name:gaussdb-bijafg-gaussdb-0 failover dnsrandom Success `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres `echo "echo \"SELECT value FROM tmp_table WHERE id = 1;\" | gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check data: Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) Unable to use a TTY - input is not a terminal or the right kind of file Last login: Thu Sep 11 10:22:00 UTC 2025 value ------- jcqqk (1 row) check cluster data consistent Success cluster update terminationPolicy WipeOut `kbcli cluster update gaussdb-bijafg --termination-policy=WipeOut --namespace ns-dnkqz ` cluster.apps.kubeblocks.io/gaussdb-bijafg updated check cluster status `kbcli cluster list gaussdb-bijafg --show-labels --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS gaussdb-bijafg ns-dnkqz gaussdb WipeOut Running Sep 11,2025 17:22 UTC+0800 app.kubernetes.io/instance=gaussdb-bijafg,clusterdefinition.kubeblocks.io/name=gaussdb check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances gaussdb-bijafg --namespace ns-dnkqz ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME gaussdb-bijafg-gaussdb-0 ns-dnkqz gaussdb-bijafg gaussdb Running primary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000004/10.224.0.7 Sep 11,2025 18:16 UTC+0800 gaussdb-bijafg-gaussdb-1 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000001/10.224.0.9 Sep 11,2025 18:18 UTC+0800 gaussdb-bijafg-gaussdb-2 ns-dnkqz gaussdb-bijafg gaussdb Running secondary 0 600m / 600m 2254857830400m / 2254857830400m data:22Gi aks-cicdamdpool-27918866-vmss000002/10.224.0.5 Sep 11,2025 18:15 UTC+0800 check pod status done check cluster role check cluster role done primary: gaussdb-bijafg-gaussdb-0;secondary: gaussdb-bijafg-gaussdb-1 gaussdb-bijafg-gaussdb-2 `kubectl get secrets -l app.kubernetes.io/instance=gaussdb-bijafg` set secret: gaussdb-bijafg-gaussdb-account-dba `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.username***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.password***"` `kubectl get secrets gaussdb-bijafg-gaussdb-account-dba -o jsonpath="***.data.port***"` DB_USERNAME:dba;DB_PASSWORD:1W82I4uF3EU4;DB_PORT:5432;DB_DATABASE:postgres check cluster connect `echo "gsql -h gaussdb-bijafg-gaussdb.ns-dnkqz.svc.cluster.local -U dba -p 5432 -d postgres -W '1W82I4uF3EU4' " | kubectl exec -it gaussdb-bijafg-gaussdb-0 --namespace ns-dnkqz -- bash -c "su - omm"` check cluster connect done cluster list-logs `kbcli cluster list-logs gaussdb-bijafg --namespace ns-dnkqz ` No log files found. Error from server (NotFound): pods "gaussdb-bijafg-gaussdb-0" not found cluster logs `kbcli cluster logs gaussdb-bijafg --tail 30 --namespace ns-dnkqz ` Defaulted container "gaussdb" out of: gaussdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init) expected instance path: [/gaussdb/volume_data/data/pg_hba.conf] gs_guc sethba: host all omm 10.244.1.161/32 trust: [/gaussdb/volume_data/data/pg_hba.conf] Total instances: 1. Failed instances: 0. Success to perform gs_guc! The gs_guc run with the following arguments: [gs_guc -D /gaussdb/volume_data/data -c pgxc_node_name='gaussdb_bijafg_gaussdb_0' set ]. expected instance path: [/gaussdb/volume_data/data/postgresql.conf] gs_guc set: pgxc_node_name='gaussdb_bijafg_gaussdb_0': [/gaussdb/volume_data/data/postgresql.conf] Total instances: 1. Failed instances: 0. Success to perform gs_guc! The gs_guc run with the following arguments: [gs_guc -D /gaussdb/volume_data/data -c port=5432 set ]. expected instance path: [/gaussdb/volume_data/data/postgresql.conf] gs_guc set: port=5432: [/gaussdb/volume_data/data/postgresql.conf] Total instances: 1. Failed instances: 0. Success to perform gs_guc! [2025-09-11 10:17:01.580][1369][][gs_ctl]: gs_ctl reload ,datadir is /gaussdb/volume_data/data [2025-09-11 10:17:01.580][1369][][gs_ctl]: could not send reload signal (PID: 1437): No such process % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139 0 0 100 139 0 115 0:00:01 0:00:01 --:--:-- 115 100 139 0 0 100 139 0 63 0:00:02 0:00:02 --:--:-- 63 100 139 0 0 100 139 0 43 0:00:03 0:00:03 --:--:-- 43 100 139 0 0 100 139 0 33 0:00:04 0:00:04 --:--:-- 33 100 139 0 0 100 139 0 26 0:00:05 0:00:05 --:--:-- 26 100 181 100 42 100 139 7 23 0:00:06 0:00:05 0:00:01 9 100 181 100 42 100 139 7 23 0:00:06 0:00:05 0:00:01 11 ***"output":"refresh cluster info success"*** % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139 0 0 100 139 0 115 0:00:01 0:00:01 --:--:-- 115 100 139 0 0 100 139 0 63 0:00:02 0:00:02 --:--:-- 63 100 139 0 0 100 139 0 43 0:00:03 0:00:03 --:--:-- 43 100 139 0 0 100 139 0 33 0:00:04 0:00:04 --:--:-- 33 100 139 0 0 100 139 0 26 0:00:05 0:00:05 --:--:-- 26 100 181 100 42 100 139 7 25 0:00:06 0:00:05 0:00:01 10 ***"output":"refresh cluster info success"*** delete cluster gaussdb-bijafg `kbcli cluster delete gaussdb-bijafg --auto-approve --namespace ns-dnkqz ` Cluster gaussdb-bijafg deleted pod_info:gaussdb-bijafg-gaussdb-0 4/4 Running 0 5m27s gaussdb-bijafg-gaussdb-1 4/4 Running 0 3m42s gaussdb-bijafg-gaussdb-2 4/4 Running 0 6m56s pod_info:gaussdb-bijafg-gaussdb-0 4/4 Terminating 0 5m47s gaussdb-bijafg-gaussdb-1 4/4 Terminating 0 4m2s gaussdb-bijafg-gaussdb-2 4/4 Terminating 0 7m16s No resources found in ns-dnkqz namespace. delete cluster pod done No resources found in ns-dnkqz namespace. check cluster resource non-exist OK: pvc No resources found in ns-dnkqz namespace. delete cluster done No resources found in ns-dnkqz namespace. No resources found in ns-dnkqz namespace. No resources found in ns-dnkqz namespace. GaussDB Test Suite All Done! Test Engine: gaussdb Test Type: 56 --------------------------------------GaussDB (Topology = replication Replicas 3) Test Result-------------------------------------- [PASSED]|[Create]|[ComponentDefinition=gaussdb-repl-1.0.1;ComponentVersion=gaussdb;ServiceVersion=2.23.1;]|[Description=Create a cluster with the specified component definition gaussdb-repl-1.0.1 and component version gaussdb and service version 2.23.1] [PASSED]|[Connect]|[ComponentName=gaussdb]|[Description=Connect to the cluster] [PASSED]|[AddData]|[Values=jcqqk]|[Description=Add data to the cluster] [WARNING]|[CheckFailover]|[FailoverType=networkcorrupt]|[Description=-] [PASSED]|[Failover]|[HA=Network Corrupt;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network corrupt fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to corrupt network.] [WARNING]|[CheckFailover]|[FailoverType=networkbandwidth]|[Description=-] [PASSED]|[Failover]|[HA=Network Bandwidth;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network bandwidth fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to bandwidth network.] [PASSED]|[VolumeExpansion]|[ComponentName=gaussdb]|[Description=VolumeExpansion the cluster specify component gaussdb] [WARNING]|[CheckFailover]|[FailoverType=networkloss]|[Description=-] [PASSED]|[Failover]|[HA=Network Loss;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network loss fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to loss network.] [PASSED]|[No-Failover]|[HA=Network Duplicate;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network duplicate fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to duplicate network.] [PASSED]|[Failover]|[HA=Pod Kill;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience kill for a period of time either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to kill.] [PASSED]|[No-Failover]|[HA=Time Offset;Durations=2m;ComponentName=gaussdb]|[Description=Simulates a time offset scenario thereby testing the application's resilience to potential slowness/unavailability of some replicas due to time offset.] [PASSED]|[No-Failover]|[HA=Kill 1;ComponentName=gaussdb]|[Description=Simulates conditions where process 1 killed either due to expected/undesired processes thereby testing the application's resilience to unavailability of some replicas due to abnormal termination signals.] [PASSED]|[Failover]|[HA=Connection Stress;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience connection stress either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to high Connection load.] [PASSED]|[Failover]|[HA=Pod Failure;Durations=2m;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience failure for a period of time either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to failure.] [PASSED]|[Failover]|[HA=OOM;Durations=2m;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience OOM either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to high Memory load.] [PASSED]|[No-Failover]|[HA=Full CPU;Durations=2m;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience CPU full either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to high CPU load.] [PASSED]|[VerticalScaling]|[ComponentName=gaussdb]|[Description=VerticalScaling the cluster specify component gaussdb] [PASSED]|[Update]|[Monitor=true]|[Description=Update the cluster Monitor enable] [PASSED]|[No-Failover]|[HA=Network Delay;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network delay fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to delay network.] [PASSED]|[No-Failover]|[HA=DNS Error;Durations=2m;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience DNS service errors for a period of time either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to DNS service errors.] [PASSED]|[Reconfiguring]|[ComponentName=gaussdb;alarm_report_interval=20]|[Description=Reconfiguring the cluster specify component gaussdb set alarm_report_interval=20] [PASSED]|[No-Failover]|[HA=Network Partition;Durations=2m;ComponentName=gaussdb]|[Description=Simulates network partition fault thereby testing the application's resilience to potential slowness/unavailability of some replicas due to partition network.] [PASSED]|[SwitchOver]|[ComponentName=gaussdb]|[Description=SwitchOver the cluster specify component gaussdb] [PASSED]|[Restart]|[-]|[Description=Restart the cluster] [PASSED]|[No-Failover]|[HA=DNS Random;Durations=2m;ComponentName=gaussdb]|[Description=Simulates conditions where pods experience random IP addresses being returned by the DNS service for a period of time either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to the DNS service returning random IP addresses.] [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut] [PASSED]|[Delete]|[-]|[Description=Delete the cluster] [END]