【 使用环境 】测试环境
【 OB 】OceanBase DataBase
【 使用版本 】4.2.1
【问题描述】解析 obproxy-ce-4.2.1.0-11.el7.x86_64.rpm包失败
【复现路径】obd白屏按步骤安装
【问题现象及影响】
[2023-10-20 16:49:51.104] [ERROR] failed to extract file from /root/.obd/mirror/remote/OceanBase-community-stable-el7/obproxy-ce-4.2.1.0-11.el7.x86_64.rpm
[2023-10-20 16:49:51.104] [ERROR] Traceback (most recent call last):
[2023-10-20 16:49:51.104] [ERROR] File “service/handler/deployment_handler.py”, line 295, in _do_install
[2023-10-20 16:49:51.104] [ERROR] File “core.py”, line 1389, in deploy_cluster
[2023-10-20 16:49:51.104] [ERROR] File “core.py”, line 985, in search_components_from_mirrors_and_install
[2023-10-20 16:49:51.104] [ERROR] File “core.py”, line 770, in get_install_plugin_and_install
[2023-10-20 16:49:51.104] [ERROR] File “_repository.py”, line 403, in load_pkg
[2023-10-20 16:49:51.104] [ERROR] File “_repository.py”, line 194, in extract
[2023-10-20 16:49:51.104] [ERROR] File “_repository.py”, line 200, in _single
[2023-10-20 16:49:51.104] [ERROR] File “_repository.py”, line 166, in extract
[2023-10-20 16:49:51.104] [ERROR] File “rpmfile/init.py”, line 174, in extractfile
[2023-10-20 16:49:51.104] [ERROR] File “rpmfile/init.py”, line 159, in getmember
[2023-10-20 16:49:51.104] [ERROR] File “rpmfile/init.py”, line 140, in getmembers
[2023-10-20 16:49:51.104] [ERROR] File “rpmfile/init.py”, line 63, in _read
[2023-10-20 16:49:51.104] [ERROR] File “rpmfile/init.py”, line 79, in _read_new
[2023-10-20 16:49:51.104] [ERROR] File “lzma.py”, line 253, in seek
[2023-10-20 16:49:51.104] [ERROR] File “_compression.py”, line 143, in seek
[2023-10-20 16:49:51.105] [ERROR] File “_compression.py”, line 99, in read
[2023-10-20 16:49:51.105] [ERROR] EOFError: Compressed file ended before the end-of-stream marker was reached
[2023-10-20 16:49:51.105] [ERROR]
[2023-10-20 16:49:51.105] [DEBUG] - rm /root/.obd/repository/obproxy-ce/4.2.1.0/0aed4b782120e4248b749f67be3d2cc82cdcb70d
[2023-10-20 16:49:51.105] [DEBUG] - mkdir /root/.obd/repository/obproxy-ce/4.2.1.0/0aed4b782120e4248b749f67be3d2cc82cdcb70d
[2023-10-20 16:49:51.105] [INFO] [ERROR] failed to extract file from /root/.obd/mirror/remote/OceanBase-community-stable-el7/obproxy-ce-4.2.1.0-11.el7.x86_64.rpm
[2023-10-20 16:49:51.105] [INFO]
[2023-10-20 16:49:51.105] [ERROR] Failed to extract file from /root/.obd/mirror/remote/OceanBase-community-stable-el7/obproxy-ce-4.2.1.0-11.el7.x86_64.rpm
【附件】
1 个赞
看日志可能存在包不完整的情况,建议去 ~/.obd/repository, ~/.obd/mirror/local 路径删除对应包 重新mirror clone 解压