Failed to upgrade opengauss from 6.0.5 to 6.0.6

Environment:

1 OS: UOS Server 20
2 opengauss 6.0.5+cmserver+vip
3 vip: 10.19.16.200

[omm@aijun-test53 ~]$ gs_om -t status --detail
[ CMServer State ]

node node_ip instance state

1 aijun-test53 10.19.16.53 1 /data/ogdb/install/cm/cm_server Primary
2 aijun-test54 10.19.16.54 2 /data/ogdb/install/cm/cm_server Standby

[ Cluster State ]

cluster_state : Normal
redistributing : No
balanced : Yes
current_az : AZ_ALL

[ Datanode State ]

node node_ip instance state

1 aijun-test53 10.19.16.53 6001 15500 /data/ogdb/data/dn P Primary Normal
2 aijun-test54 10.19.16.54 6002 15500 /data/ogdb/data/dn S Standby Normal
[omm@aijun-test53 ~]$
[omm@aijun-test53 ~]$ cm_ctl -V
cm_ctl (openGauss CM 6.0.5 build 2242fbff) compiled at 2026-05-07 12:55:18 Release
[omm@aijun-test53 ~]$ gsql -V
gsql (openGauss 6.0.5 build 5ba692ab) compiled at 2026-05-07 12:36:46 commit 0 last mr 9228
[omm@aijun-test53 ~]$
[omm@aijun-test53 ~]$ cm_ctl show

[ Network Connect State ]

Network timeout: 6s
Current CMServer time: 2026-10-09 11:10:56
Network stat(‘Y’ means connected, otherwise ‘N’):
| \ | Y |
| Y | \ |

[ Node Disk HB State ]

Node disk hb timeout: 200s
Current CMServer time: 2026-10-09 11:10:57
Node disk hb stat(‘Y’ means connected, otherwise ‘N’):
| N | N |

[ FloatIp Network State ]

node instance base_ip float_ip_name float_ip

1 aijun-test53 6001 10.19.16.53 floatIp1 10.19.16.200
[omm@aijun-test53 ~]$
Error log as follows:

/opt/og606/script/gs_upgradectl -t auto-upgrade -X /opt/og606/cluster_config.xml --grey
Static configuration matched with old static configuration files.
Wait for the cluster status normal or degrade.
Start check CMS parameter.
Old cluster version number less than 92574.
Successfully set upgrade_mode to 0.
Progress report: (9%)
Checking upgrade environment.
Successfully checked upgrade environment.
Progress report: (18%)
Start to do health check.
Successfully checked cluster status.
Progress report: (27%)
Upgrade all nodes.
NOTICE: The directory /data/ogdb/install/app_5ba692ab will be deleted after commit-upgrade, please make sure there is no personal data.
Progress report: (36%)
Performing grey rollback.
No need to rollback.
The directory /data/ogdb/install/app_5ba692ab will be deleted after commit-upgrade, please make sure there is no personal data.
Progress report: (45%)
Installing new binary.
Progress report: (55%)
copy certs from /data/ogdb/install/app_5ba692ab to /data/ogdb/install/app_abb18fca.
Successfully copy certs from /data/ogdb/install/app_5ba692ab to /data/ogdb/install/app_abb18fca.
Progress report: (64%)
Successfully backup hotpatch config file.
Sync cluster configuration.
Successfully synced cluster configuration.
Switch symbolic link to new binary directory.
Successfully switch symbolic link to new binary directory.
Start check CMS parameter.
Old cluster version number less than 92574.
Progress report: (73%)
Switching all db processes.
Check cluster state.
Cluster state: [ Cluster State ]

cluster_state : Normal
redistributing : No
current_az : AZ_ALL

[ Datanode State ]

node        node_ip         port      instance     state

1 aijun-test53 10.19.16.53 15500 6001 P Primary Normal

2 aijun-test54 10.19.16.54 15500 6002 S Standby Normal
Wait for the cluster status normal or degrade.
Create checkpoint before switching.
Start to wait for om_monitor.
Upgrade with separating CM and Dn components.
Stop CM components.
Switching DN processes.
Switch DN processes for rolling upgrade.
Ready to grey start cluster.
Failed to upgrade, can use --grey to upgrade again after rollback. Error: [GAUSS-51400] : Failed to execute the command: Command:gs_om -t start --cluster-number=‘92.984’ --time-out=600 --component=DN. Error:
DN
Starting cluster.

[SUCCESS] aijun-test53:

[2026-10-10 09:13:02.655][3263808][gs_ctl]: gs_ctl started,datadir is /data/ogdb/data/dn
[2026-10-10 09:13:02.661][3263808][gs_ctl]: another server might be running; Please use the restart command

[GAUSS-53600]: Can not start the database, the cmd is source /home/omm/.bashrc; python3 ‘/data/ogdb/install/om/script/local/StartInstance.py’ -U omm -R /data/ogdb/install/app -t 600 --security-mode=off --cluster_number=92.984, Error:
[FAILURE] aijun-test54:
[GAUSS-50204] : Failed to read /data/ogdb/install/app_abb18fca/bin/cluster_dynamic_config. Error:
[GAUSS-51230] : The number of master dn must 1.
..
[GAUSS-51400] : Failed to execute the command: Command:gs_om -t start --cluster-number=‘92.984’ --time-out=600 --component=DN. Error:
DN
Starting cluster.

[SUCCESS] aijun-test53:

[2026-10-10 09:13:02.655][3263808][gs_ctl]: gs_ctl started,datadir is /data/ogdb/data/dn
[2026-10-10 09:13:02.661][3263808][gs_ctl]: another server might be running; Please use the restart command

[GAUSS-53600]: Can not start the database, the cmd is source /home/omm/.bashrc; python3 ‘/data/ogdb/install/om/script/local/StartInstance.py’ -U omm -R /data/ogdb/install/app -t 600 --security-mode=off --cluster_number=92.984, Error:
[FAILURE] aijun-test54:
[GAUSS-50204] : Failed to read /data/ogdb/install/app_abb18fca/bin/cluster_dynamic_config. Error:
[GAUSS-51230] : The number of master dn must 1.
.. Pre-check everything is normal

Is the problem with the software package or did the upgrade test fail?

6.0.6 Upgrade Log Batch Upgrade (Upgrade Failed.txt (22.4 KB) Upgrading nodes one after another also resulted in errors

Did you get the 6.0.6 package from the official website?