[root@obproxy bin]# pwd /opt/software/oceanbase4.0/ocp-up/ocp-server-all-in-one/bin [root@obproxy bin]# ocp-installer upgrade Disable remote ok [WARN] Security Risk: the whitelist is empty and anyone can request this program! Do you want to continue? [y/n]: y start Ocp Installer upgrade in 0.0.0.0:8680/#/index?type=upgrade please open http://172.20.17.86:8680/#/index?type=upgrade 2024-01-23 17:03:32,199 INFO dispatch (request_response_log.py:41) [602bea2c14434e60ae57a2f28e1187ee] app receive request, method: GET, url: http://172.20.17.86:8680/, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:32,207 INFO dispatch (request_response_log.py:44) [602bea2c14434e60ae57a2f28e1187ee] app send response, code: 304 2024-01-23 17:03:32,258 INFO dispatch (request_response_log.py:41) [440c1b87743349c29994ee4d76f7dedc] app receive request, method: GET, url: http://172.20.17.86:8680/umi.5ce54a99.css, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:32,261 INFO dispatch (request_response_log.py:41) [7fe11b3db7ad471ca560c7676d69061e] app receive request, method: GET, url: http://172.20.17.86:8680/umi.a9301bc4.js, query_params: , body: , from: 172.20.17.6:60963 2024-01-23 17:03:32,266 INFO dispatch (request_response_log.py:44) [440c1b87743349c29994ee4d76f7dedc] app send response, code: 304 2024-01-23 17:03:32,271 INFO dispatch (request_response_log.py:44) [7fe11b3db7ad471ca560c7676d69061e] app send response, code: 304 2024-01-23 17:03:33,340 INFO dispatch (request_response_log.py:41) [39bcf13e9c3042298e75e4162660cd6e] app receive request, method: GET, url: http://172.20.17.86:8680/128.dbcf856b.async.js, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:33,344 INFO dispatch (request_response_log.py:44) [39bcf13e9c3042298e75e4162660cd6e] app send response, code: 304 2024-01-23 17:03:33,388 INFO dispatch (request_response_log.py:41) [e0d894e5cc5b47aeae61d004fed1e6b7] app receive request, method: GET, url: http://172.20.17.86:8680/519.8b877b93.async.js, query_params: , body: , from: 172.20.17.6:60963 2024-01-23 17:03:33,389 INFO dispatch (request_response_log.py:41) [3f27aae2c36841c8a28a5bfdddbeccfc] app receive request, method: GET, url: http://172.20.17.86:8680/464.22516249.async.js, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:33,392 INFO dispatch (request_response_log.py:41) [b272c221f513483d90e4844769a896fa] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout.9d00fb14.chunk.css, query_params: , body: , from: 172.20.17.6:60964 2024-01-23 17:03:33,394 INFO dispatch (request_response_log.py:41) [9f995adc033748108e292ac73b631f82] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout.9b5af430.async.js, query_params: , body: , from: 172.20.17.6:60965 2024-01-23 17:03:33,398 INFO dispatch (request_response_log.py:44) [3f27aae2c36841c8a28a5bfdddbeccfc] app send response, code: 304 2024-01-23 17:03:33,399 INFO dispatch (request_response_log.py:44) [e0d894e5cc5b47aeae61d004fed1e6b7] app send response, code: 304 2024-01-23 17:03:33,404 INFO dispatch (request_response_log.py:44) [b272c221f513483d90e4844769a896fa] app send response, code: 304 2024-01-23 17:03:33,404 INFO dispatch (request_response_log.py:44) [9f995adc033748108e292ac73b631f82] app send response, code: 304 2024-01-23 17:03:33,572 INFO dispatch (request_response_log.py:41) [c626e623dddb4225b451c657e98aabb2] app receive request, method: GET, url: http://172.20.17.86:8680/3.72bee594.async.js, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:33,575 INFO dispatch (request_response_log.py:41) [e4df6efb11bc4ac59d2a1dc40450023a] app receive request, method: GET, url: http://172.20.17.86:8680/949.abf3f782.chunk.css, query_params: , body: , from: 172.20.17.6:60963 2024-01-23 17:03:33,577 INFO dispatch (request_response_log.py:41) [6f4c2ee64fde47aba9f6d7212bc42795] app receive request, method: GET, url: http://172.20.17.86:8680/949.c273cdea.async.js, query_params: , body: , from: 172.20.17.6:60964 2024-01-23 17:03:33,579 INFO dispatch (request_response_log.py:41) [c4c4dd52d53247dcb69823879958a956] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout__BasicLayout.1682c81b.chunk.css, query_params: , body: , from: 172.20.17.6:60965 2024-01-23 17:03:33,584 INFO dispatch (request_response_log.py:41) [7446faae16f947e2bdc1948642cdc2d2] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout__BasicLayout.354a4679.async.js, query_params: , body: , from: 172.20.17.6:60966 2024-01-23 17:03:33,591 INFO dispatch (request_response_log.py:44) [c626e623dddb4225b451c657e98aabb2] app send response, code: 304 2024-01-23 17:03:33,593 INFO dispatch (request_response_log.py:44) [6f4c2ee64fde47aba9f6d7212bc42795] app send response, code: 304 2024-01-23 17:03:33,593 INFO dispatch (request_response_log.py:44) [e4df6efb11bc4ac59d2a1dc40450023a] app send response, code: 304 2024-01-23 17:03:33,604 INFO dispatch (request_response_log.py:44) [7446faae16f947e2bdc1948642cdc2d2] app send response, code: 304 2024-01-23 17:03:33,605 INFO dispatch (request_response_log.py:44) [c4c4dd52d53247dcb69823879958a956] app send response, code: 304 2024-01-23 17:03:33,910 INFO dispatch (request_response_log.py:41) [0cee9d97163c4f8f893ae77c5d04a686] app receive request, method: GET, url: http://172.20.17.86:8680/assets/logo/logo.png, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:33,914 INFO dispatch (request_response_log.py:44) [0cee9d97163c4f8f893ae77c5d04a686] app send response, code: 304 2024-01-23 17:03:33,940 INFO dispatch (request_response_log.py:41) [81fc0e83256446578c2ec46b0f3d6265] app receive request, method: GET, url: http://172.20.17.86:8680/992.bbf59d34.async.js, query_params: , body: , from: 172.20.17.6:60964 2024-01-23 17:03:33,941 INFO dispatch (request_response_log.py:41) [9adf0d8854db41599000dbe41fc7e11b] app receive request, method: GET, url: http://172.20.17.86:8680/p__Index.f928d556.chunk.css, query_params: , body: , from: 172.20.17.6:60963 2024-01-23 17:03:33,942 INFO dispatch (request_response_log.py:41) [f4fa2ebb80b64f1bbeab790f08d8c3ce] app receive request, method: GET, url: http://172.20.17.86:8680/p__Index.c2191bd6.async.js, query_params: , body: , from: 172.20.17.6:60966 2024-01-23 17:03:33,950 INFO dispatch (request_response_log.py:44) [f4fa2ebb80b64f1bbeab790f08d8c3ce] app send response, code: 304 2024-01-23 17:03:33,950 INFO dispatch (request_response_log.py:44) [81fc0e83256446578c2ec46b0f3d6265] app send response, code: 304 2024-01-23 17:03:33,952 INFO dispatch (request_response_log.py:44) [9adf0d8854db41599000dbe41fc7e11b] app send response, code: 304 2024-01-23 17:03:34,055 INFO dispatch (request_response_log.py:41) [e78ae95f4b0e4e3783a2287d2af65aee] app receive request, method: GET, url: http://172.20.17.86:8680/assets/index/new-metadb-selected.svg, query_params: , body: , from: 172.20.17.6:60965 2024-01-23 17:03:34,059 INFO dispatch (request_response_log.py:41) [629e1bbbecb846b99f2d23f822421b55] app receive request, method: GET, url: http://172.20.17.86:8680/assets/index/old-metadb.svg, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:34,061 INFO dispatch (request_response_log.py:44) [e78ae95f4b0e4e3783a2287d2af65aee] app send response, code: 304 2024-01-23 17:03:34,067 INFO dispatch (request_response_log.py:44) [629e1bbbecb846b99f2d23f822421b55] app send response, code: 304 2024-01-23 17:03:34,082 INFO dispatch (request_response_log.py:41) [1f601e938161447bae616e65a082a46a] app receive request, method: GET, url: http://172.20.17.86:8680/assets/welcome/banner.png, query_params: , body: , from: 172.20.17.6:60966 2024-01-23 17:03:34,086 INFO dispatch (request_response_log.py:44) [1f601e938161447bae616e65a082a46a] app send response, code: 304 2024-01-23 17:03:36,712 INFO dispatch (request_response_log.py:41) [31641ee368704bc7a4c9b1f397d886f1] app receive request, method: GET, url: http://172.20.17.86:8680/127.c9f679ec.async.js, query_params: , body: , from: 172.20.17.6:60964 2024-01-23 17:03:36,713 INFO dispatch (request_response_log.py:41) [51044167a890459ea40ca128c34a3033] app receive request, method: GET, url: http://172.20.17.86:8680/119.a67a53d6.async.js, query_params: , body: , from: 172.20.17.6:60963 2024-01-23 17:03:36,714 INFO dispatch (request_response_log.py:41) [f0934cfe501e4556b05c608b520e169d] app receive request, method: GET, url: http://172.20.17.86:8680/p__Update.103a9270.chunk.css, query_params: , body: , from: 172.20.17.6:60965 2024-01-23 17:03:36,715 INFO dispatch (request_response_log.py:41) [09c4514824b94c3eb215e79feec61b71] app receive request, method: GET, url: http://172.20.17.86:8680/p__Update.75670cc9.async.js, query_params: , body: , from: 172.20.17.6:60962 2024-01-23 17:03:36,725 INFO dispatch (request_response_log.py:44) [51044167a890459ea40ca128c34a3033] app send response, code: 304 2024-01-23 17:03:36,726 INFO dispatch (request_response_log.py:44) [f0934cfe501e4556b05c608b520e169d] app send response, code: 304 2024-01-23 17:03:36,726 INFO dispatch (request_response_log.py:44) [31641ee368704bc7a4c9b1f397d886f1] app send response, code: 304 2024-01-23 17:03:36,728 INFO dispatch (request_response_log.py:44) [09c4514824b94c3eb215e79feec61b71] app send response, code: 304 2024-01-23 17:03:37,010 INFO dispatch (request_response_log.py:41) [65a57325db434b2bbf469822a87bd125] app receive request, method: GET, url: http://172.20.17.86:8680/api/v1/info, query_params: , body: , from: 172.20.17.6:60966 2024-01-23 17:03:37,015 INFO get_service_info (service_info_handler.py:56) [65a57325db434b2bbf469822a87bd125] deploys: [<_deploy.Deploy object at 0x7fe06f9fc250>] 2024-01-23 17:03:37,018 INFO get_service_info (service_info_handler.py:58) [65a57325db434b2bbf469822a87bd125] versions: ['4.2.0'] 2024-01-23 17:03:37,099 INFO get_service_info (service_info_handler.py:66) [65a57325db434b2bbf469822a87bd125] use docker to get info 2024-01-23 17:03:38,726 INFO get_service_info (service_info_handler.py:88) [65a57325db434b2bbf469822a87bd125] get metadb host: 172.20.17.86, port: 5432, user: root@meta_tenant#obcluster, password: Meta_Paswd2022, database: meta 2024-01-23 17:03:38,726 INFO get_service_info (service_info_handler.py:89) [65a57325db434b2bbf469822a87bd125] ocp-server port: 5433 2024-01-23 17:03:38,736 INFO get_service_info (service_info_handler.py:108) [65a57325db434b2bbf469822a87bd125] ocp-server ip: 172.20.17.86 2024-01-23 17:03:38,738 INFO get_service_info (service_info_handler.py:119) [65a57325db434b2bbf469822a87bd125] create deployment config: auth=SshAuth(user='root', auth_method=, password='', private_key='', port=22) metadb=DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta') meta_tenant=TenantConfig(name=TenantUser(tenant_name='meta_tenant', user_name='root', user_database='meta'), password='Meta_Paswd2022', resource=TenantResource(cpu=2, memory=4)) monitor_tenant=None appname='ocp_upgrade' admin_password='********' servers=['172.20.17.86'] home_path='' server_port=5433 parameters=[Parameter(name='memory_xms', value='22937m'), Parameter(name='memory_xmx', value='22937m')] 2024-01-23 17:03:38,772 WARNING get_service_info (service_info_handler.py:124) [65a57325db434b2bbf469822a87bd125] failed to destroy deployment: ocp_upgrade 2024-01-23 17:03:38,773 INFO create_ocp_config_path (ocp_handler.py:49) [65a57325db434b2bbf469822a87bd125] connections: defaultdict(... at 0x7fe06fa39a60>, {1: DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta')}) 2024-01-23 17:03:38,773 INFO create_ocp_config_path (ocp_handler.py:50) [65a57325db434b2bbf469822a87bd125] meta_password: defaultdict(... at 0x7fe0730c7820>, {}) 2024-01-23 17:03:38,773 INFO create_ocp_config_path (ocp_handler.py:53) [65a57325db434b2bbf469822a87bd125] id=1 host='172.20.17.86' port=5432 user='root@meta_tenant#obcluster' password='Meta_Paswd2022' database='meta' 2024-01-23 17:03:38,774 INFO create_ocp_config_path (ocp_handler.py:63) [65a57325db434b2bbf469822a87bd125] dump ocp config from path: 2024-01-23 17:03:38,779 INFO create_ocp_config_path (ocp_handler.py:68) [65a57325db434b2bbf469822a87bd125] id: 1 2024-01-23 17:03:38,780 INFO create_ocp_config_path (ocp_handler.py:78) [65a57325db434b2bbf469822a87bd125] connections: defaultdict(... at 0x7fe06fa39a60>, {1: DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta')}) 2024-01-23 17:03:38,780 INFO create_ocp_config_path (ocp_handler.py:79) [65a57325db434b2bbf469822a87bd125] meta_password: Meta_Paswd2022 2024-01-23 17:03:38,780 INFO get_service_info (service_info_handler.py:126) [65a57325db434b2bbf469822a87bd125] path: /tmp/ocpghvx420vyaml 2024-01-23 17:03:38,782 INFO create_deployment (ocp_handler.py:185) [65a57325db434b2bbf469822a87bd125] cluster config path: /tmp/ocpghvx420vyaml 2024-01-23 17:03:38,782 ERROR get_service_info (service_info_handler.py:130) [65a57325db434b2bbf469822a87bd125] not all arguments converted during string formatting 2024-01-23 17:03:38,782 INFO get_service_info (service_info_handler.py:136) [65a57325db434b2bbf469822a87bd125] upgrade_version: 4.2.0 2024-01-23 17:03:38,786 INFO dispatch (request_response_log.py:44) [65a57325db434b2bbf469822a87bd125] app send response, code: 200 2024-01-23 17:03:50,872 INFO dispatch (request_response_log.py:41) [e6be09215185478888c29e70d98a7b41] app receive request, method: POST, url: http://172.20.17.86:8680/api/v1/metadb/connections?sys=false, query_params: sys=false, body: {"id":1,"host":"172.20.17.86","port":5432,"database":"meta","user":"root@meta_tenant#obcluster","password":"Meta_Paswd2022"}, from: 172.20.17.6:60968 2024-01-23 17:03:50,876 INFO create_connection_info (metadb_handler.py:889) [e6be09215185478888c29e70d98a7b41] connection host: 172.20.17.86, port: 5432, user: root@meta_tenant#obcluster, password: Meta_Paswd2022 2024-01-23 17:03:50,885 INFO dispatch (request_response_log.py:44) [e6be09215185478888c29e70d98a7b41] app send response, code: 200 2024-01-23 17:03:50,951 INFO dispatch (request_response_log.py:41) [ce5762bd9a0e48eebcd31dadc1503b2f] app receive request, method: GET, url: http://172.20.17.86:8680/api/v1/metadb/connections/1?id=1, query_params: id=1, body: , from: 172.20.17.6:60968 2024-01-23 17:03:50,955 INFO dispatch (request_response_log.py:44) [ce5762bd9a0e48eebcd31dadc1503b2f] app send response, code: 200 2024-01-23 17:03:51,014 INFO dispatch (request_response_log.py:41) [420e8b422d534b7287a0f9aa32b01961] app receive request, method: GET, url: http://172.20.17.86:8680/assets/update/arrow.svg, query_params: , body: , from: 172.20.17.6:60968 2024-01-23 17:03:51,019 INFO dispatch (request_response_log.py:44) [420e8b422d534b7287a0f9aa32b01961] app send response, code: 304 2024-01-23 17:03:51,034 INFO dispatch (request_response_log.py:41) [9d6a2ac519a64494bf79149e286f00c6] app receive request, method: GET, url: http://172.20.17.86:8680/assets/icon/new.svg, query_params: , body: , from: 172.20.17.6:60968 2024-01-23 17:03:51,037 INFO dispatch (request_response_log.py:44) [9d6a2ac519a64494bf79149e286f00c6] app send response, code: 304 2024-01-23 17:04:36,717 INFO dispatch (request_response_log.py:41) [8026085ede564ce5a8c338766487edcd] app receive request, method: POST, url: http://172.20.17.86:8680/api/v1/ocp/1/upgrade/precheck?id=1, query_params: id=1, body: , from: 172.20.17.6:60973 2024-01-23 17:04:36,912 INFO register_task (task.py:98) [8026085ede564ce5a8c338766487edcd] register task ocp_upgrade 2024-01-23 17:04:36,912 INFO wrapper (task.py:117) [8026085ede564ce5a8c338766487edcd] start run task ocp_upgrade 2024-01-23 17:04:36,914 INFO wrapper (task.py:120) [8026085ede564ce5a8c338766487edcd] task ocp_upgrade run finished 2024-01-23 17:04:36,914 INFO wrapper (task.py:122) [8026085ede564ce5a8c338766487edcd] task ocp_upgrade finished successful 2024-01-23 17:04:36,916 INFO dispatch (request_response_log.py:44) [8026085ede564ce5a8c338766487edcd] app send response, code: 200 2024-01-23 17:04:36,918 INFO register_task (task.py:98) [8026085ede564ce5a8c338766487edcd] register task ocp_upgrade 2024-01-23 17:04:36,919 INFO wrapper (task.py:117) [8026085ede564ce5a8c338766487edcd] start run task ocp_upgrade 2024-01-23 17:04:36,948 ERROR wrapper (task.py:125) [8026085ede564ce5a8c338766487edcd] task ocp_upgrade got exception Traceback (most recent call last): File "service/common/task.py", line 119, in wrapper File "service/handler/ocp_handler.py", line 1044, in _upgrade_precheck File "service/handler/ocp_handler.py", line 1079, in _do_upgrade_precheck File "_plugin.py", line 281, in _new_func File "/root/.ocp-installer/plugins/ocp-server/4.0.0/upgrade_check.py", line 85, in upgrade_check if meta_cursor.fetchone(sql)['num'] > 0: TypeError: 'bool' object is not subscriptable 2024-01-23 17:04:36,949 INFO wrapper (task.py:128) [8026085ede564ce5a8c338766487edcd] task ocp_upgrade finished failed 2024-01-23 17:04:36,964 INFO dispatch (request_response_log.py:41) [ca12a0dc8316444ab4ac202972edbcaf] app receive request, method: GET, url: http://172.20.17.86:8680/api/v1/ocp/1/upgrade/precheck/1?id=1&task_id=1, query_params: id=1&task_id=1, body: , from: 172.20.17.6:60973 2024-01-23 17:04:36,967 INFO dispatch (request_response_log.py:44) [ca12a0dc8316444ab4ac202972edbcaf] app send response, code: 200 2024-01-23 17:16:22,993 INFO dispatch (request_response_log.py:41) [4901da2afe1b4ebfbf732f95eed256d1] app receive request, method: GET, url: http://172.20.17.86:8680/128.dbcf856b.async.js, query_params: , body: , from: 172.20.17.6:61057 2024-01-23 17:16:22,997 INFO dispatch (request_response_log.py:44) [4901da2afe1b4ebfbf732f95eed256d1] app send response, code: 200 2024-01-23 17:16:23,063 INFO dispatch (request_response_log.py:41) [7d6ea7101b7e47a889c5b5bf25cee878] app receive request, method: GET, url: http://172.20.17.86:8680/assets/logo/faviconLogo.png, query_params: , body: , from: 172.20.17.6:61058 2024-01-23 17:16:23,067 INFO dispatch (request_response_log.py:44) [7d6ea7101b7e47a889c5b5bf25cee878] app send response, code: 200 2024-01-23 17:16:23,104 INFO dispatch (request_response_log.py:41) [3fc305da95d74212a964bd2b91c88e96] app receive request, method: GET, url: http://172.20.17.86:8680/3.72bee594.async.js, query_params: , body: , from: 172.20.17.6:61059 2024-01-23 17:16:23,109 INFO dispatch (request_response_log.py:44) [3fc305da95d74212a964bd2b91c88e96] app send response, code: 200 2024-01-23 17:16:23,140 INFO dispatch (request_response_log.py:41) [b60cf7aef2ae412e80fc8300167e7e38] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout__BasicLayout.1682c81b.chunk.css, query_params: , body: , from: 172.20.17.6:61060 2024-01-23 17:16:23,142 INFO dispatch (request_response_log.py:41) [a5ad72ed586948c98128102b07515232] app receive request, method: GET, url: http://172.20.17.86:8680/p__Layout__BasicLayout.354a4679.async.js, query_params: , body: , from: 172.20.17.6:61061 2024-01-23 17:16:23,148 INFO dispatch (request_response_log.py:44) [b60cf7aef2ae412e80fc8300167e7e38] app send response, code: 200 2024-01-23 17:16:23,153 INFO dispatch (request_response_log.py:44) [a5ad72ed586948c98128102b07515232] app send response, code: 200 2024-01-23 17:16:23,407 INFO dispatch (request_response_log.py:41) [9ed4b9fbcf5f43c28ec2daed6287ee40] app receive request, method: GET, url: http://172.20.17.86:8680/assets/logo/logo.png, query_params: , body: , from: 172.20.17.6:61062 2024-01-23 17:16:23,411 INFO dispatch (request_response_log.py:44) [9ed4b9fbcf5f43c28ec2daed6287ee40] app send response, code: 200 2024-01-23 17:16:23,429 INFO dispatch (request_response_log.py:41) [a24a65856a5c4cebac4fe7fb9540dbde] app receive request, method: GET, url: http://172.20.17.86:8680/992.bbf59d34.async.js, query_params: , body: , from: 172.20.17.6:61063 2024-01-23 17:16:23,435 INFO dispatch (request_response_log.py:41) [67f94f86a2084eba8d53405931d48661] app receive request, method: GET, url: http://172.20.17.86:8680/127.c9f679ec.async.js, query_params: , body: , from: 172.20.17.6:61064 2024-01-23 17:16:23,437 INFO dispatch (request_response_log.py:41) [2023b540826840bfa72ecfb68819733c] app receive request, method: GET, url: http://172.20.17.86:8680/119.a67a53d6.async.js, query_params: , body: , from: 172.20.17.6:61065 2024-01-23 17:16:23,438 INFO dispatch (request_response_log.py:41) [66051dfe986246469bb09d54493deae5] app receive request, method: GET, url: http://172.20.17.86:8680/p__Update.75670cc9.async.js, query_params: , body: , from: 172.20.17.6:61067 2024-01-23 17:16:23,441 INFO dispatch (request_response_log.py:44) [a24a65856a5c4cebac4fe7fb9540dbde] app send response, code: 200 2024-01-23 17:16:23,446 INFO dispatch (request_response_log.py:44) [67f94f86a2084eba8d53405931d48661] app send response, code: 200 2024-01-23 17:16:23,448 INFO dispatch (request_response_log.py:44) [2023b540826840bfa72ecfb68819733c] app send response, code: 200 2024-01-23 17:16:23,456 INFO dispatch (request_response_log.py:44) [66051dfe986246469bb09d54493deae5] app send response, code: 200 2024-01-23 17:16:23,681 INFO dispatch (request_response_log.py:41) [5ece81e73e0d42568ea539979e7ee3d2] app receive request, method: GET, url: http://172.20.17.86:8680/api/v1/info, query_params: , body: , from: 172.20.17.6:61068 2024-01-23 17:16:23,682 INFO get_service_info (service_info_handler.py:56) [5ece81e73e0d42568ea539979e7ee3d2] deploys: [<_deploy.Deploy object at 0x7fe071566f40>] 2024-01-23 17:16:23,684 INFO get_service_info (service_info_handler.py:58) [5ece81e73e0d42568ea539979e7ee3d2] versions: ['4.2.0'] 2024-01-23 17:16:23,756 INFO get_service_info (service_info_handler.py:66) [5ece81e73e0d42568ea539979e7ee3d2] use docker to get info 2024-01-23 17:16:25,291 INFO get_service_info (service_info_handler.py:88) [5ece81e73e0d42568ea539979e7ee3d2] get metadb host: 172.20.17.86, port: 5432, user: root@meta_tenant#obcluster, password: Meta_Paswd2022, database: meta 2024-01-23 17:16:25,292 INFO get_service_info (service_info_handler.py:89) [5ece81e73e0d42568ea539979e7ee3d2] ocp-server port: 5433 2024-01-23 17:16:25,303 INFO get_service_info (service_info_handler.py:108) [5ece81e73e0d42568ea539979e7ee3d2] ocp-server ip: 172.20.17.86 2024-01-23 17:16:25,304 INFO get_service_info (service_info_handler.py:119) [5ece81e73e0d42568ea539979e7ee3d2] create deployment config: auth=SshAuth(user='root', auth_method=, password='', private_key='', port=22) metadb=DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta') meta_tenant=TenantConfig(name=TenantUser(tenant_name='meta_tenant', user_name='root', user_database='meta'), password='Meta_Paswd2022', resource=TenantResource(cpu=2, memory=4)) monitor_tenant=None appname='ocp_upgrade' admin_password='********' servers=['172.20.17.86'] home_path='' server_port=5433 parameters=[Parameter(name='memory_xms', value='22937m'), Parameter(name='memory_xmx', value='22937m')] 2024-01-23 17:16:25,329 WARNING get_service_info (service_info_handler.py:124) [5ece81e73e0d42568ea539979e7ee3d2] failed to destroy deployment: ocp_upgrade 2024-01-23 17:16:25,329 INFO create_ocp_config_path (ocp_handler.py:49) [5ece81e73e0d42568ea539979e7ee3d2] connections: defaultdict(... at 0x7fe06fa39a60>, {1: DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta')}) 2024-01-23 17:16:25,330 INFO create_ocp_config_path (ocp_handler.py:50) [5ece81e73e0d42568ea539979e7ee3d2] meta_password: Meta_Paswd2022 2024-01-23 17:16:25,330 INFO create_ocp_config_path (ocp_handler.py:53) [5ece81e73e0d42568ea539979e7ee3d2] id=1 host='172.20.17.86' port=5432 user='root@meta_tenant#obcluster' password='Meta_Paswd2022' database='meta' 2024-01-23 17:16:25,331 INFO create_ocp_config_path (ocp_handler.py:63) [5ece81e73e0d42568ea539979e7ee3d2] dump ocp config from path: 2024-01-23 17:16:25,336 INFO create_ocp_config_path (ocp_handler.py:68) [5ece81e73e0d42568ea539979e7ee3d2] id: 2 2024-01-23 17:16:25,336 INFO create_ocp_config_path (ocp_handler.py:78) [5ece81e73e0d42568ea539979e7ee3d2] connections: defaultdict(... at 0x7fe06fa39a60>, {1: DatabaseConnection(id=1, host='172.20.17.86', port=5432, user='root@meta_tenant#obcluster', password='Meta_Paswd2022', database='meta')}) 2024-01-23 17:16:25,336 INFO create_ocp_config_path (ocp_handler.py:79) [5ece81e73e0d42568ea539979e7ee3d2] meta_password: Meta_Paswd2022 2024-01-23 17:16:25,337 INFO get_service_info (service_info_handler.py:126) [5ece81e73e0d42568ea539979e7ee3d2] path: /tmp/ocp5aiz2s99yaml 2024-01-23 17:16:25,338 INFO create_deployment (ocp_handler.py:185) [5ece81e73e0d42568ea539979e7ee3d2] cluster config path: /tmp/ocp5aiz2s99yaml 2024-01-23 17:16:25,338 ERROR get_service_info (service_info_handler.py:130) [5ece81e73e0d42568ea539979e7ee3d2] not all arguments converted during string formatting 2024-01-23 17:16:25,339 INFO get_service_info (service_info_handler.py:136) [5ece81e73e0d42568ea539979e7ee3d2] upgrade_version: 4.2.0 2024-01-23 17:16:25,343 INFO dispatch (request_response_log.py:44) [5ece81e73e0d42568ea539979e7ee3d2] app send response, code: 200 2024-01-23 17:16:25,886 INFO dispatch (request_response_log.py:41) [3c33fecf4b9c4a5a96c96eeab8a89847] app receive request, method: POST, url: http://172.20.17.86:8680/api/v1/ocp/1/upgrade/precheck?id=1, query_params: id=1, body: , from: 172.20.17.6:61069 2024-01-23 17:16:25,902 INFO register_task (task.py:98) [3c33fecf4b9c4a5a96c96eeab8a89847] register task ocp_upgrade 2024-01-23 17:16:25,902 INFO wrapper (task.py:117) [3c33fecf4b9c4a5a96c96eeab8a89847] start run task ocp_upgrade 2024-01-23 17:16:25,903 INFO wrapper (task.py:120) [3c33fecf4b9c4a5a96c96eeab8a89847] task ocp_upgrade run finished 2024-01-23 17:16:25,903 INFO wrapper (task.py:122) [3c33fecf4b9c4a5a96c96eeab8a89847] task ocp_upgrade finished successful 2024-01-23 17:16:25,905 INFO dispatch (request_response_log.py:44) [3c33fecf4b9c4a5a96c96eeab8a89847] app send response, code: 200 2024-01-23 17:16:25,907 INFO register_task (task.py:98) [3c33fecf4b9c4a5a96c96eeab8a89847] register task ocp_upgrade 2024-01-23 17:16:25,908 INFO wrapper (task.py:117) [3c33fecf4b9c4a5a96c96eeab8a89847] start run task ocp_upgrade 2024-01-23 17:16:25,938 ERROR wrapper (task.py:125) [3c33fecf4b9c4a5a96c96eeab8a89847] task ocp_upgrade got exception Traceback (most recent call last): File "service/common/task.py", line 119, in wrapper File "service/handler/ocp_handler.py", line 1044, in _upgrade_precheck File "service/handler/ocp_handler.py", line 1079, in _do_upgrade_precheck File "_plugin.py", line 281, in _new_func File "/root/.ocp-installer/plugins/ocp-server/4.0.0/upgrade_check.py", line 85, in upgrade_check if meta_cursor.fetchone(sql)['num'] > 0: TypeError: 'bool' object is not subscriptable 2024-01-23 17:16:25,938 INFO wrapper (task.py:128) [3c33fecf4b9c4a5a96c96eeab8a89847] task ocp_upgrade finished failed 2024-01-23 17:16:25,976 INFO dispatch (request_response_log.py:41) [e5e7fadf90e24a2abf4b8f530b0983b8] app receive request, method: GET, url: http://172.20.17.86:8680/api/v1/ocp/1/upgrade/precheck/2?id=1&task_id=2, query_params: id=1&task_id=2, body: , from: 172.20.17.6:61069 2024-01-23 17:16:25,979 INFO dispatch (request_response_log.py:44) [e5e7fadf90e24a2abf4b8f530b0983b8] app send response, code: 200