[admin@obproxy -node ~]$ more upgrade_checker.log [2022-12-28 16:49:13] INFO init.py:1611 parameters from cmd: host=“10.110.3.152”, port=2881, user=“root”, password=“ob@Passwd”, log -file =“upgrade_checker.log” [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select distinct value from GV $OB_PARAMETERS where name=‘min_observer_version’, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check observer version success, version = 4.0.0.0 [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as unsync_cnt from GV $OB_LOG_STAT where in_sync = ‘NO’, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check paxos replica success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as cnt from DBA_OB_TENANT_JOBS where job_status=‘INPROGRESS’ and result_code is null, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as rebalance_task_cnt from CDB_OB_LS_REPLICA_TASKS, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check rebalance task success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) from CDB_OB_MAJOR_COMPACTION where STATUS != ‘IDLE’, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check cluster status success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(*) as count from DBA_OB_TENANTS where status != ‘NORMAL’, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check tenant status success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) from CDB_OB_RESTORE_PROGRESS, rowcount = 1 [2022-12-28 16:49:14] INFO init.py:1611 check restore job success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select tenant_name,primary_zone from DBA_OB_TENANTS where tenant_id != 1, rowcount = 2 [2022-12-28 16:49:14] INFO init.py:1611 check tenant primary zone success [2022-12-28 16:49:14] ERROR init.py:1585 run error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 406, in do_check check_fail_list() File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 383, in check_fail_list raise MyError(error_msg) MyError: 'upgrade checker failed with 2 reasons: [META $1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ [2022-12-28 16:49:14] ERROR init.py:1585 normal error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 410, in do_check raise e MyError: 'upgrade checker failed with 2 reasons: [META $1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ [2022-12-28 16:49:14] ERROR init.py:1585 normal error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 440, in do_check(host, port, user, password, upgrade_params) File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 419, in do_check raise e MyError: 'upgrade checker failed with 2 reasons: [META $1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ |