bash test/kbcli/test_kbcli_0.9.sh --type 43 --version 0.9.5 --generate-output true --chaos-mesh true --drain-node true --random-namespace true --region eastus --cloud-provider aks CURRENT_TEST_DIR:test/kbcli source commons files source engines files source kubeblocks files `kubectl get namespace | grep ns-hfqeb ` `kubectl create namespace ns-hfqeb` namespace/ns-hfqeb created create namespace ns-hfqeb done download kbcli `gh release list --repo apecloud/kbcli --limit 100 | (grep "0.9" || true)` `curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v0.9.5-beta.8` 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 100 32.1M 100 32.1M 0 0 77.2M 0 --:--:-- --:--:-- --:--:-- 77.2M kbcli installed successfully. Kubernetes: v1.32.6 KubeBlocks: 0.9.5 kbcli: 0.9.5-beta.8 WARNING: version difference between kbcli (0.9.5-beta.8) and kubeblocks (0.9.5) 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 v0.9.5-beta.8 done Kubernetes: v1.32.6 KubeBlocks: 0.9.5 kbcli: 0.9.5-beta.8 WARNING: version difference between kbcli (0.9.5-beta.8) and kubeblocks (0.9.5) Kubernetes Env: v1.32.6 POD_RESOURCES: aks kb-default-sc found aks default-vsc found found default storage class: default kubeblocks version is:0.9.5 skip upgrade kubeblocks 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 cluster definition set component name:mogdb set component version No resources found no component version found unsupported component definition REPORT_COUNT 0:0 not found component version set replicas first:2 set replicas third:2 set minimum cmpv service version set minimum cmpv service version replicas:2 REPORT_COUNT:1 CLUSTER_TOPOLOGY: Not found topology in cluster definition mogdb LIMIT_CPU:0.5 LIMIT_MEMORY:1 storage size: 5 No resources found in ns-hfqeb namespace. termination_policy:Halt create 2 replica Halt mogdb cluster check cluster version check cluster definition apiVersion: apps.kubeblocks.io/v1alpha1 kind: Cluster metadata: name: mogdb-tzneyh namespace: ns-hfqeb spec: clusterDefinitionRef: mogdb clusterVersionRef: mogdb-5.0.5 terminationPolicy: Halt componentSpecs: - name: mogdb componentDefRef: mogdb replicas: 2 resources: requests: cpu: 500m memory: 1Gi limits: cpu: 500m memory: 1Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi `kubectl apply -f test_create_mogdb-tzneyh.yaml` cluster.apps.kubeblocks.io/mogdb-tzneyh created apply test_create_mogdb-tzneyh.yaml Success `rm -rf test_create_mogdb-tzneyh.yaml` check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Sep 01,2025 11:17 UTC+0800 clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 cluster_status: 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 mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:17 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:19 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check pod mogdb-tzneyh-mogdb-0 container_name mogdb exist password bv8lz6vfk!3v&f&a Container mogdb logs contain secret password:+ [[ bv8lz6vfk!3v&f&a =~ ^(.***8,***).*$ ]] + [[ bv8lz6vfk!3v&f&a =~ ^(.*[a-z]+).*$ ]] + [[ bv8lz6vfk!3v&f&a =~ ^(.*[A-Z]).*$ ]] + '[' -z 'bv8lz6vfk!3v&f&a' ']' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a")' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8 --no-locale' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8 --no-locale --dbcompatibility=PG' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8 --no-locale --dbcompatibility=PG --user=omm' + cmdbase='gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8 --no-locale --dbcompatibility=PG --user=omm -D /var/lib/mogdb/data' + eval 'gs_initdb --pwfile=<(echo "bv8lz6vfk!3v&f&a") --nodename=mogdb --encoding=UTF-8 --no-locale --dbcompatibility=PG --user=omm -D /var/lib/mogdb/data' +++ echo 'bv8lz6vfk!3v&f&a' + export 'PGPASSWORD=bv8lz6vfk!3v&f&a' + PGPASSWORD='bv8lz6vfk!3v&f&a' + docker_process_sql --dbname postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' + echo 'Execute SQL: gsql' -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a --dbname' postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' Execute SQL: gsql -v ON_ERROR_STOP=1 --username omm --password bv8lz6vfk!3v&f&a --dbname postgres --set db=mogdb --set passwd=bv8lz6vfk!3v&f&a + gsql -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a' --dbname postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' + docker_process_sql --dbname postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' --set user=kbadmin Execute SQL: gsql -v ON_ERROR_STOP=1 --username omm --password bv8lz6vfk!3v&f&a --dbname postgres --set db=mogdb --set passwd=bv8lz6vfk!3v&f&a --set user=kbadmin + echo 'Execute SQL: gsql' -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a --dbname' postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' --set user=kbadmin + gsql -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a' --dbname postgres --set db=mogdb --set 'passwd=bv8lz6vfk!3v&f&a' --set user=kbadmin Execute SQL: gsql -v ON_ERROR_STOP=1 --username omm --password bv8lz6vfk!3v&f&a --dbname postgres --set passwd=RepUser@2020 --set user=repuser + echo 'Execute SQL: gsql' -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a --dbname' postgres --set passwd=RepUser@2020 --set user=repuser + gsql -v ON_ERROR_STOP=1 --username omm --password 'bv8lz6vfk!3v&f&a' --dbname postgres --set passwd=RepUser@2020 --set user=repuser describe cluster `kbcli cluster describe mogdb-tzneyh --namespace ns-hfqeb ` Name: mogdb-tzneyh Created Time: Sep 01,2025 11:17 UTC+0800 NAMESPACE CLUSTER-DEFINITION VERSION STATUS TERMINATION-POLICY ns-hfqeb mogdb mogdb-5.0.5 Running Halt Endpoints: COMPONENT MODE INTERNAL EXTERNAL mogdb ReadWrite mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local:26000 Topology: COMPONENT INSTANCE ROLE STATUS AZ NODE CREATED-TIME mogdb mogdb-tzneyh-mogdb-0 primary Running 0 aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:17 UTC+0800 mogdb mogdb-tzneyh-mogdb-1 secondary Running 0 aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:19 UTC+0800 Resources Allocation: COMPONENT DEDICATED CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS mogdb false 500m / 500m 1Gi / 1Gi data:5Gi default Images: COMPONENT TYPE IMAGE mogdb mogdb docker.io/apecloud/mogdb:5.0.5 Data Protection: BACKUP-REPO AUTO-BACKUP BACKUP-SCHEDULE BACKUP-METHOD BACKUP-RETENTION RECOVERABLE-TIME Show cluster events: kbcli cluster list-events -n ns-hfqeb mogdb-tzneyh `kbcli cluster label mogdb-tzneyh app.kubernetes.io/instance- --namespace ns-hfqeb ` label "app.kubernetes.io/instance" not found. `kbcli cluster label mogdb-tzneyh app.kubernetes.io/instance=mogdb-tzneyh --namespace ns-hfqeb ` `kbcli cluster label mogdb-tzneyh --list --namespace ns-hfqeb ` NAME NAMESPACE LABELS mogdb-tzneyh ns-hfqeb app.kubernetes.io/instance=mogdb-tzneyh clusterdefinition.kubeblocks.io/name=mogdb clusterversion.kubeblocks.io/name=mogdb-5.0.5 label cluster app.kubernetes.io/instance=mogdb-tzneyh Success `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=mogdb-tzneyh --namespace ns-hfqeb ` `kbcli cluster label mogdb-tzneyh --list --namespace ns-hfqeb ` NAME NAMESPACE LABELS mogdb-tzneyh ns-hfqeb app.kubernetes.io/instance=mogdb-tzneyh case.name=kbcli.test1 clusterdefinition.kubeblocks.io/name=mogdb clusterversion.kubeblocks.io/name=mogdb-5.0.5 label cluster case.name=kbcli.test1 Success `kbcli cluster label mogdb-tzneyh case.name=kbcli.test2 --overwrite --namespace ns-hfqeb ` `kbcli cluster label mogdb-tzneyh --list --namespace ns-hfqeb ` NAME NAMESPACE LABELS mogdb-tzneyh ns-hfqeb app.kubernetes.io/instance=mogdb-tzneyh case.name=kbcli.test2 clusterdefinition.kubeblocks.io/name=mogdb clusterversion.kubeblocks.io/name=mogdb-5.0.5 label cluster case.name=kbcli.test2 Success `kbcli cluster label mogdb-tzneyh case.name- --namespace ns-hfqeb ` `kbcli cluster label mogdb-tzneyh --list --namespace ns-hfqeb ` NAME NAMESPACE LABELS mogdb-tzneyh ns-hfqeb app.kubernetes.io/instance=mogdb-tzneyh clusterdefinition.kubeblocks.io/name=mogdb clusterversion.kubeblocks.io/name=mogdb-5.0.5 delete cluster label case.name Success cluster connect `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: `echo "echo \"create database if not exists benchtest;SELECT * from pg_stat_database;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash ` Defaulted container "mogdb" out of: mogdb, helper, exporter, lorry, init-lorry (init) Unable to use a TTY - input is not a terminal or the right kind of file CREATE DATABASE datid | datname | numbackends | xact_commit | xact_rollback | blks_read | blks_hit | tup_returned | tup_fetched | tup_inserted | tup_updated | tup_deleted | conflicts | temp_files | temp_bytes | deadlocks | blk_read_time | blk_write_time | stats_reset -------+-----------+-------------+-------------+---------------+-----------+----------+--------------+-------------+--------------+-------------+-------------+-----------+------------+------------+-----------+---------------+----------------+------------------------------- 1 | template1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16384 | mogdb | 2 | 121 | 0 | 189 | 10463 | 11612 | 9578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:19:02.108525+00 16393 | benchtest | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15315 | template0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15320 | postgres | 13 | 606 | 0 | 508 | 32661 | 29198 | 39140 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:18:54.946892+00 (5 rows) connect cluster Success insert batch data by db client Error from server (NotFound): pods "test-db-client-executionloop-mogdb-tzneyh" not found DB_CLIENT_BATCH_DATA_COUNT: `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-executionloop-mogdb-tzneyh --namespace ns-hfqeb ` Error from server (NotFound): pods "test-db-client-executionloop-mogdb-tzneyh" 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-mogdb-tzneyh" not found `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: apiVersion: v1 kind: Pod metadata: name: test-db-client-executionloop-mogdb-tzneyh namespace: ns-hfqeb spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local" - "--user" - "kbadmin" - "--password" - "bv8lz6vfk!3v&f&a" - "--port" - "26000" - "--dbtype" - "mogdb" - "--test" - "executionloop" - "--duration" - "60" - "--interval" - "1" restartPolicy: Never `kubectl apply -f test-db-client-executionloop-mogdb-tzneyh.yaml` pod/test-db-client-executionloop-mogdb-tzneyh created apply test-db-client-executionloop-mogdb-tzneyh.yaml Success `rm -rf test-db-client-executionloop-mogdb-tzneyh.yaml` check pod status pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 0/1 ContainerCreating 0 5s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 0/1 ContainerCreating 0 9s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 15s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 20s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 25s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 30s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 36s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 41s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 46s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 51s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 57s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 62s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 67s pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 1/1 Running 0 72s check pod test-db-client-executionloop-mogdb-tzneyh status done pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-mogdb-tzneyh 0/1 Completed 0 77s check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Running Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:17 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:19 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider] Sep 01, 2025 3:21:49 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [ab663525-347e-4746-9c1b-b85f5b83e428] Try to connect. IP: mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local:26000 Sep 01, 2025 3:21:49 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.3.205:41784/ogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local/10.0.99.244:26000] Connection is established. ID: ab663525-347e-4746-9c1b-b85f5b83e428 Sep 01, 2025 3:21:49 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: ab663525-347e-4746-9c1b-b85f5b83e428 Execution loop start: create databases executions_loop CREATE DATABASE executions_loop; reconnect connection executions_loop Sep 01, 2025 3:21:52 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [21dcc7e4-1854-4e36-bfa1-b830405510db] Try to connect. IP: mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local:26000 Sep 01, 2025 3:21:52 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: [10.244.3.205:33550/ogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local/10.0.99.244:26000] Connection is established. ID: 21dcc7e4-1854-4e36-bfa1-b830405510db Sep 01, 2025 3:21:52 AM io.mogdb.core.v3.ConnectionFactoryImpl openConnectionImpl INFO: Connect complete. ID: 21dcc7e4-1854-4e36-bfa1-b830405510db 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: 142 successful: 142 failed: 0 disconnect: 0 [ 3s ] executions total: 301 successful: 301 failed: 0 disconnect: 0 [ 4s ] executions total: 462 successful: 462 failed: 0 disconnect: 0 [ 5s ] executions total: 620 successful: 620 failed: 0 disconnect: 0 [ 6s ] executions total: 778 successful: 778 failed: 0 disconnect: 0 [ 7s ] executions total: 928 successful: 928 failed: 0 disconnect: 0 [ 8s ] executions total: 1078 successful: 1078 failed: 0 disconnect: 0 [ 9s ] executions total: 1231 successful: 1231 failed: 0 disconnect: 0 [ 10s ] executions total: 1395 successful: 1395 failed: 0 disconnect: 0 [ 11s ] executions total: 1549 successful: 1549 failed: 0 disconnect: 0 [ 12s ] executions total: 1687 successful: 1687 failed: 0 disconnect: 0 [ 13s ] executions total: 1843 successful: 1843 failed: 0 disconnect: 0 [ 14s ] executions total: 1982 successful: 1982 failed: 0 disconnect: 0 [ 15s ] executions total: 2128 successful: 2128 failed: 0 disconnect: 0 [ 16s ] executions total: 2285 successful: 2285 failed: 0 disconnect: 0 [ 17s ] executions total: 2443 successful: 2443 failed: 0 disconnect: 0 [ 18s ] executions total: 2600 successful: 2600 failed: 0 disconnect: 0 [ 19s ] executions total: 2763 successful: 2763 failed: 0 disconnect: 0 [ 20s ] executions total: 2907 successful: 2907 failed: 0 disconnect: 0 [ 21s ] executions total: 3066 successful: 3066 failed: 0 disconnect: 0 [ 22s ] executions total: 3228 successful: 3228 failed: 0 disconnect: 0 [ 23s ] executions total: 3385 successful: 3385 failed: 0 disconnect: 0 [ 24s ] executions total: 3550 successful: 3550 failed: 0 disconnect: 0 [ 25s ] executions total: 3719 successful: 3719 failed: 0 disconnect: 0 [ 26s ] executions total: 3873 successful: 3873 failed: 0 disconnect: 0 [ 27s ] executions total: 4028 successful: 4028 failed: 0 disconnect: 0 [ 28s ] executions total: 4184 successful: 4184 failed: 0 disconnect: 0 [ 29s ] executions total: 4350 successful: 4350 failed: 0 disconnect: 0 [ 30s ] executions total: 4516 successful: 4516 failed: 0 disconnect: 0 [ 31s ] executions total: 4675 successful: 4675 failed: 0 disconnect: 0 [ 32s ] executions total: 4831 successful: 4831 failed: 0 disconnect: 0 [ 33s ] executions total: 4990 successful: 4990 failed: 0 disconnect: 0 [ 34s ] executions total: 5155 successful: 5155 failed: 0 disconnect: 0 [ 35s ] executions total: 5318 successful: 5318 failed: 0 disconnect: 0 [ 36s ] executions total: 5471 successful: 5471 failed: 0 disconnect: 0 [ 37s ] executions total: 5629 successful: 5629 failed: 0 disconnect: 0 [ 38s ] executions total: 5794 successful: 5794 failed: 0 disconnect: 0 [ 39s ] executions total: 5954 successful: 5954 failed: 0 disconnect: 0 [ 40s ] executions total: 6114 successful: 6114 failed: 0 disconnect: 0 [ 41s ] executions total: 6278 successful: 6278 failed: 0 disconnect: 0 [ 42s ] executions total: 6440 successful: 6440 failed: 0 disconnect: 0 [ 43s ] executions total: 6598 successful: 6598 failed: 0 disconnect: 0 [ 44s ] executions total: 6760 successful: 6760 failed: 0 disconnect: 0 [ 45s ] executions total: 6918 successful: 6918 failed: 0 disconnect: 0 [ 46s ] executions total: 7074 successful: 7074 failed: 0 disconnect: 0 [ 47s ] executions total: 7234 successful: 7234 failed: 0 disconnect: 0 [ 48s ] executions total: 7393 successful: 7393 failed: 0 disconnect: 0 [ 49s ] executions total: 7553 successful: 7553 failed: 0 disconnect: 0 [ 50s ] executions total: 7708 successful: 7708 failed: 0 disconnect: 0 [ 51s ] executions total: 7863 successful: 7863 failed: 0 disconnect: 0 [ 52s ] executions total: 8020 successful: 8020 failed: 0 disconnect: 0 [ 53s ] executions total: 8176 successful: 8176 failed: 0 disconnect: 0 [ 54s ] executions total: 8329 successful: 8329 failed: 0 disconnect: 0 [ 55s ] executions total: 8478 successful: 8478 failed: 0 disconnect: 0 [ 56s ] executions total: 8631 successful: 8631 failed: 0 disconnect: 0 [ 57s ] executions total: 8791 successful: 8791 failed: 0 disconnect: 0 [ 58s ] executions total: 8952 successful: 8952 failed: 0 disconnect: 0 [ 60s ] executions total: 9000 successful: 9000 failed: 0 disconnect: 0 Test Result: Total Executions: 9000 Successful Executions: 9000 Failed Executions: 0 Disconnection Counts: 0 Connection Information: Database Type: mogdb Host: mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local Port: 26000 Database: Table: User: kbadmin Org: Access Mode: mysql Test Type: executionloop Query: Duration: 60 seconds Interval: 1 seconds DB_CLIENT_BATCH_DATA_COUNT: 9000 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge pods test-db-client-executionloop-mogdb-tzneyh --namespace ns-hfqeb ` pod/test-db-client-executionloop-mogdb-tzneyh 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-mogdb-tzneyh" force deleted cluster expose check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster expose mogdb-tzneyh --auto-approve --force=true --type vpc --enable true --components mogdb --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-expose-8mnvd created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-expose-8mnvd -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-expose-8mnvd ns-hfqeb Expose mogdb-tzneyh Creating -/- Sep 01,2025 11:22 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Running Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:17 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1100m / 600m 1188Mi / 1124Mi data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:19 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-expose-8mnvd ns-hfqeb Expose mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:22 UTC+0800 check ops status done ops_status:mogdb-tzneyh-expose-8mnvd ns-hfqeb Expose mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:22 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-expose-8mnvd --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-expose-8mnvd patched `kbcli cluster delete-ops --name mogdb-tzneyh-expose-8mnvd --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-expose-8mnvd deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success cluster vscale check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster vscale mogdb-tzneyh --auto-approve --force=true --components mogdb --cpu 600m --memory 1.1Gi --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-verticalscaling-qvxhg created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-verticalscaling-qvxhg -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-verticalscaling-qvxhg ns-hfqeb VerticalScaling mogdb-tzneyh mogdb Pending -/- Sep 01,2025 11:23 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Updating Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 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 mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:24 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:23 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-verticalscaling-qvxhg ns-hfqeb VerticalScaling mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:23 UTC+0800 check ops status done ops_status:mogdb-tzneyh-verticalscaling-qvxhg ns-hfqeb VerticalScaling mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:23 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-verticalscaling-qvxhg --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-verticalscaling-qvxhg patched `kbcli cluster delete-ops --name mogdb-tzneyh-verticalscaling-qvxhg --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-verticalscaling-qvxhg deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success cluster stop check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster stop mogdb-tzneyh --auto-approve --force=true --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-stop-tlfls created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-stop-tlfls -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-stop-tlfls ns-hfqeb Stop mogdb-tzneyh Pending -/- Sep 01,2025 11:26 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Stopped Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Stopped check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME check pod status done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-stop-tlfls ns-hfqeb Stop mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:26 UTC+0800 check ops status done ops_status:mogdb-tzneyh-stop-tlfls ns-hfqeb Stop mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:26 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-stop-tlfls --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-stop-tlfls patched `kbcli cluster delete-ops --name mogdb-tzneyh-stop-tlfls --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-stop-tlfls deleted cluster start check cluster status before ops check cluster status done cluster_status:Stopped `kbcli cluster start mogdb-tzneyh --force=true --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-start-2d2gw created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-start-2d2gw -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-start-2d2gw ns-hfqeb Start mogdb-tzneyh Creating -/- Sep 01,2025 11:26 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Updating Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 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 mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:26 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:28 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-start-2d2gw ns-hfqeb Start mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:26 UTC+0800 check ops status done ops_status:mogdb-tzneyh-start-2d2gw ns-hfqeb Start mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:26 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-start-2d2gw --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-start-2d2gw patched `kbcli cluster delete-ops --name mogdb-tzneyh-start-2d2gw --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-start-2d2gw deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success 5 cluster hscale check cluster status before ops check cluster status done cluster_status:Running No resources found in mogdb-tzneyh namespace. `kbcli cluster hscale mogdb-tzneyh --auto-approve --force=true --components mogdb --replicas 3 --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-horizontalscaling-2rs8h created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-horizontalscaling-2rs8h -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-horizontalscaling-2rs8h ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Running -/- Sep 01,2025 11:32 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Updating Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Updating cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Failed cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal 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 mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:33 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:28 UTC+0800 mogdb-tzneyh-mogdb-2 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:32 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 mogdb-tzneyh-mogdb-2 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done No resources found in mogdb-tzneyh namespace. check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-horizontalscaling-2rs8h ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:32 UTC+0800 check ops status done ops_status:mogdb-tzneyh-horizontalscaling-2rs8h ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:32 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-horizontalscaling-2rs8h --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-horizontalscaling-2rs8h patched `kbcli cluster delete-ops --name mogdb-tzneyh-horizontalscaling-2rs8h --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-horizontalscaling-2rs8h deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success cluster hscale check cluster status before ops check cluster status done cluster_status:Running No resources found in mogdb-tzneyh namespace. `kbcli cluster hscale mogdb-tzneyh --auto-approve --force=true --components mogdb --replicas 2 --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-horizontalscaling-5srht created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-horizontalscaling-5srht -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-horizontalscaling-5srht ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Creating -/- Sep 01,2025 11:40 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Running Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000001/10.224.0.7 Sep 01,2025 11:33 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000007/10.224.0.5 Sep 01,2025 11:28 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done No resources found in mogdb-tzneyh namespace. check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-horizontalscaling-5srht ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:40 UTC+0800 check ops status done ops_status:mogdb-tzneyh-horizontalscaling-5srht ns-hfqeb HorizontalScaling mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:40 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-horizontalscaling-5srht --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-horizontalscaling-5srht patched `kbcli cluster delete-ops --name mogdb-tzneyh-horizontalscaling-5srht --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-horizontalscaling-5srht deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success skip bench: password contains & cluster restart check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster restart mogdb-tzneyh --auto-approve --force=true --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-restart-72ftv created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-restart-72ftv -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-restart-72ftv ns-hfqeb Restart mogdb-tzneyh mogdb Creating -/- Sep 01,2025 11:40 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 Halt Updating Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 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 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 mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000008/10.224.0.9 Sep 01,2025 11:43 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:40 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-restart-72ftv ns-hfqeb Restart mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:40 UTC+0800 check ops status done ops_status:mogdb-tzneyh-restart-72ftv ns-hfqeb Restart mogdb-tzneyh mogdb Succeed 2/2 Sep 01,2025 11:40 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-restart-72ftv --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-restart-72ftv patched `kbcli cluster delete-ops --name mogdb-tzneyh-restart-72ftv --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-restart-72ftv deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success cluster update terminationPolicy WipeOut `kbcli cluster update mogdb-tzneyh --termination-policy=WipeOut --namespace ns-hfqeb ` cluster.apps.kubeblocks.io/mogdb-tzneyh updated check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 WipeOut Running Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000008/10.224.0.9 Sep 01,2025 11:43 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:40 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check cluster storage class cluster volume-snapshot backup `kbcli cluster backup mogdb-tzneyh --method volume-snapshot --namespace ns-hfqeb ` Backup backup-ns-hfqeb-mogdb-tzneyh-20250901114621 created successfully, you can view the progress: kbcli cluster list-backups --name=backup-ns-hfqeb-mogdb-tzneyh-20250901114621 -n ns-hfqeb check backup status `kbcli cluster list-backups mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE SOURCE-CLUSTER METHOD STATUS TOTAL-SIZE DURATION CREATE-TIME COMPLETION-TIME EXPIRATION backup-ns-hfqeb-mogdb-tzneyh-20250901114621 ns-hfqeb mogdb-tzneyh volume-snapshot Sep 01,2025 11:46 UTC+0800 backup_status:mogdb-tzneyh-volume-snapshot-Running backup_status:mogdb-tzneyh-volume-snapshot-Running backup_status:mogdb-tzneyh-volume-snapshot-Running check backup status done backup_status:backup-ns-hfqeb-mogdb-tzneyh-20250901114621 ns-hfqeb mogdb-tzneyh volume-snapshot Completed 5Gi 12s Sep 01,2025 11:46 UTC+0800 Sep 01,2025 11:46 UTC+0800 cluster restore backup Error from server (NotFound): opsrequests.apps.kubeblocks.io "mogdb-tzneyh-backup" not found `kbcli cluster describe-backup backup-ns-hfqeb-mogdb-tzneyh-20250901114621 --namespace ns-hfqeb ` Name: backup-ns-hfqeb-mogdb-tzneyh-20250901114621 Cluster: mogdb-tzneyh Namespace: ns-hfqeb Spec: Method: volume-snapshot Policy Name: mogdb-tzneyh-mogdb-backup-policy Status: Phase: Completed Total Size: 5Gi Duration: 12s Start Time: Sep 01,2025 11:46 UTC+0800 Completion Time: Sep 01,2025 11:46 UTC+0800 Time Range Start: Sep 01,2025 11:46 UTC+0800 Time Range End: Sep 01,2025 11:46 UTC+0800 Warning Events: `kbcli cluster restore mogdb-tzneyh-backup --backup backup-ns-hfqeb-mogdb-tzneyh-20250901114621 --namespace ns-hfqeb ` Cluster mogdb-tzneyh-backup created check cluster status `kbcli cluster list mogdb-tzneyh-backup --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh-backup ns-hfqeb mogdb mogdb-5.0.5 WipeOut Sep 01,2025 11:46 UTC+0800 clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 cluster_status: 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 mogdb-tzneyh-backup --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-backup-mogdb-0 ns-hfqeb mogdb-tzneyh-backup mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000008/10.224.0.9 Sep 01,2025 11:46 UTC+0800 mogdb-tzneyh-backup-mogdb-1 ns-hfqeb mogdb-tzneyh-backup mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:47 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-backup-mogdb-0;secondary: mogdb-tzneyh-backup-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh-backup` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-backup-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-backup-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done `kbcli cluster describe-backup backup-ns-hfqeb-mogdb-tzneyh-20250901114621 --namespace ns-hfqeb ` Name: backup-ns-hfqeb-mogdb-tzneyh-20250901114621 Cluster: mogdb-tzneyh Namespace: ns-hfqeb Spec: Method: volume-snapshot Policy Name: mogdb-tzneyh-mogdb-backup-policy Status: Phase: Completed Total Size: 5Gi Duration: 12s Start Time: Sep 01,2025 11:46 UTC+0800 Completion Time: Sep 01,2025 11:46 UTC+0800 Time Range Start: Sep 01,2025 11:46 UTC+0800 Time Range End: Sep 01,2025 11:46 UTC+0800 Warning Events: cluster connect `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh-backup` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-backup-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: `echo "echo \"create database if not exists benchtest;SELECT * from pg_stat_database;\" | gsql -h mogdb-tzneyh-backup-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-backup-mogdb-0 --namespace ns-hfqeb -- bash ` Defaulted container "mogdb" out of: mogdb, helper, exporter, lorry, init-lorry (init) Unable to use a TTY - input is not a terminal or the right kind of file NOTICE: database "benchtest" already exists, skipping CREATE DATABASE datid | datname | numbackends | xact_commit | xact_rollback | blks_read | blks_hit | tup_returned | tup_fetched | tup_inserted | tup_updated | tup_deleted | conflicts | temp_files | temp_bytes | deadlocks | blk_read_time | blk_write_time | stats_reset -------+-----------------+-------------+-------------+---------------+-----------+----------+--------------+-------------+--------------+-------------+-------------+-----------+------------+------------+-----------+---------------+----------------+------------------------------- 1 | template1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16384 | mogdb | 0 | 83 | 0 | 209 | 3453 | 1555 | 2924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:47:12.249602+00 16393 | benchtest | 0 | 83 | 0 | 209 | 3453 | 1555 | 2924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:47:12.535421+00 15315 | template0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16394 | executions_loop | 0 | 83 | 0 | 209 | 3453 | 1555 | 2924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:47:12.824961+00 15320 | postgres | 11 | 356 | 0 | 95 | 10962 | 7035 | 13858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2025-09-01 03:47:08.963293+00 (6 rows) connect cluster Success delete cluster mogdb-tzneyh-backup `kbcli cluster delete mogdb-tzneyh-backup --auto-approve --namespace ns-hfqeb ` Cluster mogdb-tzneyh-backup deleted pod_info:mogdb-tzneyh-backup-mogdb-0 4/4 Running 0 2m32s mogdb-tzneyh-backup-mogdb-1 4/4 Running 0 92s No resources found in ns-hfqeb namespace. delete cluster pod done No resources found in ns-hfqeb namespace. check cluster resource non-exist OK: pvc No resources found in ns-hfqeb namespace. delete cluster done No resources found in ns-hfqeb namespace. No resources found in ns-hfqeb namespace. No resources found in ns-hfqeb namespace. cluster delete backup `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge backups backup-ns-hfqeb-mogdb-tzneyh-20250901114621 --namespace ns-hfqeb ` backup.dataprotection.kubeblocks.io/backup-ns-hfqeb-mogdb-tzneyh-20250901114621 patched `kbcli cluster delete-backup mogdb-tzneyh --name backup-ns-hfqeb-mogdb-tzneyh-20250901114621 --force --auto-approve --namespace ns-hfqeb ` Backup backup-ns-hfqeb-mogdb-tzneyh-20250901114621 deleted No opsrequests found in ns-hfqeb namespace. cluster list-logs `kbcli cluster list-logs mogdb-tzneyh --namespace ns-hfqeb ` No log files found. You can enable the log feature with the kbcli command below. kbcli cluster update mogdb-tzneyh --enable-all-logs=true --namespace ns-hfqeb Error from server (NotFound): pods "mogdb-tzneyh-mogdb-0" not found cluster logs `kbcli cluster logs mogdb-tzneyh --tail 30 --namespace ns-hfqeb ` Defaulted container "mogdb" out of: mogdb, helper, exporter, lorry, init-lorry (init) 0 WARNING: failed to open feature control file, please check whether it exists: FileName=gaussdb.version, Errno=2, Errmessage=No such file or directory. 0 WARNING: failed to parse feature control file: gaussdb.version. 0 WARNING: Failed to load the product control file, so gaussdb cannot distinguish product version. 2025-09-01 03:45:30.906 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: when starting as multi_standby mode, we couldn't support data replicaton. 2025-09-01 03:45:30.918 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env. 2025-09-01 03:45:30.918 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host Name: mogdb-tzneyh-mogdb-0 2025-09-01 03:45:30.918 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host IP: mogdb-tzneyh-mogdb-0. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain 2025-09-01 03:45:30.918 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed! 2025-09-01 03:45:30.931 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: loaded library "security_plugin" 2025-09-01 03:45:30.945 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2025-09-01 03:45:30.964 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0. 2025-09-01 03:45:30.964 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: reserved memory for backend threads is: 220 MB 2025-09-01 03:45:30.964 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: reserved memory for WAL buffers is: 128 MB 2025-09-01 03:45:30.964 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: Set max backend reserve memory is: 348 MB, max dynamic memory is: 11070 MB 2025-09-01 03:45:30.964 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: shared memory 357 Mbytes, memory context 11418 Mbytes, max process memory 12288 Mbytes 2025-09-01 03:45:30.999 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184) 2025-09-01 03:45:31.066 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [SEGMENT_PAGE] LOG: Segment-page constants: DF_MAP_SIZE: 8156, DF_MAP_BIT_CNT: 65248, DF_MAP_GROUP_EXTENTS: 4175872, IPBLOCK_SIZE: 8168, EXTENTS_PER_IPBLOCK: 1021, IPBLOCK_GROUP_SIZE: 4090, BMT_HEADER_LEVEL0_TOTAL_PAGES: 8323072, BktMapEntryNumberPerBlock: 2038, BktMapBlockNumber: 49, BktBitMaxMapCnt: 512 2025-09-01 03:45:31.088 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: mogdb: fsync file "/var/lib/mogdb/data/gaussdb.state.temp" success 2025-09-01 03:45:31.088 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Primary), connection index(1) 2025-09-01 03:45:31.134 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 979, usable_fds = 1000, already_open = 11 2025-09-01 03:45:31.137 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: the configure file /usr/local/mogdb/etc/gscgroup_omm.cfg doesn't exist or the size of configure file has changed. Please create it by root user! 2025-09-01 03:45:31.137 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file. 2025-09-01 03:45:31.150 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [EXECUTOR] WARNING: Failed to obtain environment value $GAUSSLOG! 2025-09-01 03:45:31.150 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [EXECUTOR] DETAIL: N/A 2025-09-01 03:45:31.150 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [EXECUTOR] CAUSE: Incorrect environment value. 2025-09-01 03:45:31.150 [unknown] [unknown] localhost 140094128854016 0[0:0#0] 0 [EXECUTOR] ACTION: Please refer to backend log for more details. cluster expose check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster expose mogdb-tzneyh --auto-approve --force=true --type vpc --enable false --components mogdb --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-expose-djl72 created successfully, you can view the progress: kbcli cluster describe-ops mogdb-tzneyh-expose-djl72 -n ns-hfqeb check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-expose-djl72 ns-hfqeb Expose mogdb-tzneyh Creating -/- Sep 01,2025 11:49 UTC+0800 check cluster status `kbcli cluster list mogdb-tzneyh --show-labels --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS mogdb-tzneyh ns-hfqeb mogdb mogdb-5.0.5 WipeOut Running Sep 01,2025 11:17 UTC+0800 app.kubernetes.io/instance=mogdb-tzneyh,clusterdefinition.kubeblocks.io/name=mogdb,clusterversion.kubeblocks.io/name=mogdb-5.0.5 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances mogdb-tzneyh --namespace ns-hfqeb ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME mogdb-tzneyh-mogdb-0 ns-hfqeb mogdb-tzneyh mogdb Running primary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000008/10.224.0.9 Sep 01,2025 11:43 UTC+0800 mogdb-tzneyh-mogdb-1 ns-hfqeb mogdb-tzneyh mogdb Running secondary 0 1200m / 700m 1353082470400m / 1285973606400m data:5Gi aks-cicdamdpool-68727890-vmss000006/10.224.0.10 Sep 01,2025 11:40 UTC+0800 check pod status done check cluster role check cluster role done primary: mogdb-tzneyh-mogdb-0;secondary: mogdb-tzneyh-mogdb-1 `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check cluster connect `echo "gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d postgres -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check cluster connect done check ops status `kbcli cluster list-ops mogdb-tzneyh --status all --namespace ns-hfqeb ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME mogdb-tzneyh-expose-djl72 ns-hfqeb Expose mogdb-tzneyh mogdb Running 0/1 Sep 01,2025 11:49 UTC+0800 ops_status:mogdb-tzneyh-expose-djl72 ns-hfqeb Expose mogdb-tzneyh mogdb Running 0/1 Sep 01,2025 11:49 UTC+0800 ops_status:mogdb-tzneyh-expose-djl72 ns-hfqeb Expose mogdb-tzneyh mogdb Running 0/1 Sep 01,2025 11:49 UTC+0800 check ops status done ops_status:mogdb-tzneyh-expose-djl72 ns-hfqeb Expose mogdb-tzneyh mogdb Succeed 1/1 Sep 01,2025 11:49 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests mogdb-tzneyh-expose-djl72 --namespace ns-hfqeb ` opsrequest.apps.kubeblocks.io/mogdb-tzneyh-expose-djl72 patched `kbcli cluster delete-ops --name mogdb-tzneyh-expose-djl72 --force --auto-approve --namespace ns-hfqeb ` OpsRequest mogdb-tzneyh-expose-djl72 deleted `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h mogdb-tzneyh-mogdb.ns-hfqeb.svc.cluster.local -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-0 --namespace ns-hfqeb -- bash` check db_client batch data Success `kubectl get secrets -l app.kubernetes.io/instance=mogdb-tzneyh` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets mogdb-tzneyh-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:kbadmin;DB_PASSWORD:bv8lz6vfk!3v&f&a;DB_PORT:26000;DB_DATABASE: check readonly db_client batch data count `echo "echo \"select count(*) from executions_loop_table;\" | gsql -h 127.0.0.1 -U kbadmin -p 26000 -d executions_loop -W 'bv8lz6vfk!3v&f&a' " | kubectl exec -it mogdb-tzneyh-mogdb-1 --namespace ns-hfqeb -- bash` check readonly db_client batch data Success delete cluster mogdb-tzneyh `kbcli cluster delete mogdb-tzneyh --auto-approve --namespace ns-hfqeb ` Cluster mogdb-tzneyh deleted pod_info:mogdb-tzneyh-mogdb-0 4/4 Running 0 6m32s mogdb-tzneyh-mogdb-1 4/4 Running 0 9m28s No resources found in ns-hfqeb namespace. delete cluster pod done No resources found in ns-hfqeb namespace. check cluster resource non-exist OK: pvc No resources found in ns-hfqeb namespace. delete cluster done No resources found in ns-hfqeb namespace. No resources found in ns-hfqeb namespace. No resources found in ns-hfqeb namespace. Mogdb Test Suite All Done! --------------------------------------Mogdb (Topology = Replicas 2) Test Result-------------------------------------- [PASSED]|[Create]|[ClusterDefinition=mogdb;ClusterVersion=mogdb-5.0.5;]|[Description=Create a cluster with the specified cluster definition mogdb and cluster version mogdb-5.0.5] [PASSED]|[Connect]|[ComponentName=mogdb]|[Description=Connect to the cluster] [PASSED]|[Expose]|[Enable=true;TYPE=vpc;ComponentName=mogdb]|[Description=Expose Enable the vpc service with mogdb component] [PASSED]|[VerticalScaling]|[ComponentName=mogdb]|[Description=VerticalScaling the cluster specify component mogdb] [PASSED]|[Stop]|[-]|[Description=Stop the cluster] [PASSED]|[Start]|[-]|[Description=Start the cluster] [PASSED]|[HorizontalScaling Out]|[ComponentName=mogdb]|[Description=HorizontalScaling Out the cluster specify component mogdb] [PASSED]|[HorizontalScaling In]|[ComponentName=mogdb]|[Description=HorizontalScaling In the cluster specify component mogdb] [PASSED]|[Restart]|[-]|[Description=Restart the cluster] [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut] [PASSED]|[Backup]|[BackupMethod=volume-snapshot]|[Description=The cluster volume-snapshot Backup] [PASSED]|[Restore]|[BackupMethod=volume-snapshot]|[Description=The cluster volume-snapshot Restore] [PASSED]|[Connect]|[ComponentName=mogdb]|[Description=Connect to the cluster] [PASSED]|[Delete Restore Cluster]|[BackupMethod=volume-snapshot]|[Description=Delete the volume-snapshot restore cluster] [PASSED]|[Expose]|[Disable=true;TYPE=vpc;ComponentName=mogdb]|[Description=Expose Disable the vpc service with mogdb component] [PASSED]|[Delete]|[-]|[Description=Delete the cluster] [END]