[obadmin@dev5 ~]$ obd cluster deploy stagoceanbase -c ./single-with-obproxy-example.yaml -v -f - open /home/obadmin/.obd/version for a+ - cmd: ['stagoceanbase'] - opts: {'config': './single-with-obproxy-example.yaml', 'force': True, 'clean': False, 'unuselibrepo': None, 'auto_create_tenant': None} - mkdir /home/obadmin/.obd/lock/ - unknown lock mode - try to get share lock /home/obadmin/.obd/lock/global - share lock `/home/obadmin/.obd/lock/global`, count 1 - Get Deploy by name - mkdir /home/obadmin/.obd/cluster/ - mkdir /home/obadmin/.obd/config_parser/ - try to get exclusive lock /home/obadmin/.obd/lock/deploy_stagoceanbase - exclusive lock `/home/obadmin/.obd/lock/deploy_stagoceanbase`, count 1 - config path is None or not - Create deploy by configuration path - exclusive lock `/home/obadmin/.obd/lock/deploy_stagoceanbase`, count 2 - mkdir /home/obadmin/.obd/cluster/stagoceanbase - copy ./single-with-obproxy-example.yaml /home/obadmin/.obd/cluster/stagoceanbase/config.yaml - Get deploy configuration - Search best suitable repository - Search package for components... - Get oceanbase-ce repository - mkdir /home/obadmin/.obd/repository - Search repository oceanbase-ce version: None, tag: None, release: None, package_hash: None - try to get share lock /home/obadmin/.obd/lock/mirror_and_repo - share lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 1 - mkdir /home/obadmin/.obd/repository/oceanbase-ce - Found repository oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - Search oceanbase-ce package from mirror - mkdir /home/obadmin/.obd/mirror - mkdir /home/obadmin/.obd/mirror/remote - mkdir /home/obadmin/.obd/mirror/local - try to get exclusive lock /home/obadmin/.obd/lock/mirror_and_repo - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 1 - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 2 - load repo config: /home/obadmin/.obd/mirror/remote/OceanBase.repo - open /home/obadmin/.obd/mirror/remote/OceanBase.repo for r - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 3 - md5 is None - name is oceanbase-ce - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] - release is None - version is None - min_version is None - max_version is None - MirrorRepositoryType.LOCAL mirror local found pkg: name: oceanbase-ce version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 01fb9a0311b13cedcf7fd013202e631595510130 size: 655469897 - get RPM package by name: oceanbase-ce version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 01fb9a0311b13cedcf7fd013202e631595510130 size: 655469897 - Found Package oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - name: oceanbase-ce version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 01fb9a0311b13cedcf7fd013202e631595510130 size: 655469897 as same as oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130, Use package name: oceanbase-ce version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 01fb9a0311b13cedcf7fd013202e631595510130 size: 655469897 - Get obproxy-ce repository - Search repository obproxy-ce version: None, tag: None, release: None, package_hash: None - share lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 2 - mkdir /home/obadmin/.obd/repository/obproxy-ce - Search obproxy-ce package from mirror - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 4 - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 5 - load repo config: /home/obadmin/.obd/mirror/remote/OceanBase.repo - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 6 - md5 is None - name is obproxy-ce - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] - release is None - version is None - min_version is None - max_version is None - MirrorRepositoryType.LOCAL mirror local found pkg: name: obproxy-ce version: 4.2.3.0 release:3.el8 arch: x86_64 md5: 2526073e3c652177b15093be611af94a469e0e21 size: 51916715 - get RPM package by name: obproxy-ce version: 4.2.3.0 release:3.el8 arch: x86_64 md5: 2526073e3c652177b15093be611af94a469e0e21 size: 51916715 - Found Package obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 Package obproxy-ce-4.2.3.0-3.el8 is available. - Search repository obproxy-ce version: 2526073e3c652177b15093be611af94a469e0e21, tag: None, release: None, package_hash: None - Searching install plugin for components ... - Searching install plugin for components ... - Search install plugin for oceanbase-ce - mkdir /home/obadmin/.obd/plugins - Found for oceanbase-ce-install-4.0.0.0 for oceanbase-ce-4.3.2.1 - Search install plugin for obproxy-ce - Found for obproxy-ce-install-4.2.1 for obproxy-ce-4.2.3.0 - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 7 - mkdir /home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21 - create instance repository for oceanbase-ce-4.3.2.1 install oceanbase-ce-4.3.2.1 for local ok - rm /home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130 - mkdir /home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130 - extract mode: paraller - get head repository - Search repository oceanbase-ce version: 4.3.2.1, tag: oceanbase-ce, release: None, package_hash: None - head repository: None - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 8 - create instance repository for obproxy-ce-4.2.3.0 install obproxy-ce-4.2.3.0 for local ok - rm /home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21 - mkdir /home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21 - extract mode: paraller - get head repository - Search repository obproxy-ce version: 4.2.3.0, tag: obproxy-ce, release: None, package_hash: None - head repository: None - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 9 - Searching install plugin for components ... - Search install plugin for oceanbase-ce - Found for oceanbase-ce-install-4.0.0.0 for oceanbase-ce-4.3.2.1 - Search install plugin for obproxy-ce - Found for obproxy-ce-install-4.2.1 for obproxy-ce-4.2.3.0 +--------------------------------------------------------------------------------------------+ | Packages | +--------------+---------+------------------------+------------------------------------------+ | Repository | Version | Release | Md5 | +--------------+---------+------------------------+------------------------------------------+ | oceanbase-ce | 4.3.2.1 | 100000102024081217.el8 | 01fb9a0311b13cedcf7fd013202e631595510130 | | obproxy-ce | 4.2.3.0 | 3.el8 | 2526073e3c652177b15093be611af94a469e0e21 | +--------------+---------+------------------------+------------------------------------------+ Repository integrity check ok Load param plugin ok - Searching param plugin for components ... - Search param plugin for oceanbase-ce - Found for oceanbase-ce-param-4.3.0.0 for oceanbase-ce-4.3.2.1 - Applying oceanbase-ce-param-4.3.0.0 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - Search param plugin for obproxy-ce - Found for obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0 - Applying obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - Searching generate_config plugin for components ... - Searching generate_config plugin for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - Found for oceanbase-ce-py_script_generate_config-4.3.0.0 for oceanbase-ce-4.3.2.1 - Searching generate_config plugin for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - Found for obproxy-ce-py_script_generate_config-4.2.3 for obproxy-ce-4.2.3.0 Open ssh connection ok - host: 10.1.250.160, port: 22, user: obadmin, password: 12345678! - Call oceanbase-ce-py_script_generate_config-4.3.0.0 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - import generate_config - add generate_config ref count to 1 Scenario not specified, please specify the scenario you want. 1. express_oltp 2. complex_oltp 3. olap 4. htap (default) 5. kv Please input the scenario [default: 4]: 4 -- set scenario htap. - sub generate_config ref count to 0 - export generate_config - plugin oceanbase-ce-py_script_generate_config-4.3.0.0 result: True - Call obproxy-ce-py_script_generate_config-4.2.3 for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - import generate_config - add generate_config ref count to 1 - sub generate_config ref count to 0 - export generate_config - plugin obproxy-ce-py_script_generate_config-4.2.3 result: True Parameter check ok - 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 param check - 10.1.250.160 obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 param check - Search init plugin - Searching init plugin for components ... - Searching init plugin for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - Found for oceanbase-ce-py_script_init-4.2.2.0 for oceanbase-ce-4.3.2.1 - Searching init plugin for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - Found for obproxy-ce-py_script_init-3.1.0 for obproxy-ce-4.2.3.0 - Exec oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 init plugin - Apply oceanbase-ce-py_script_init-4.2.2.0 for oceanbase-ce-4.3.2.1 - Call oceanbase-ce-py_script_init-4.2.2.0 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - import init - add init ref count to 1 -- option `force` is True Initializes observer work home ok -- 10.1.250.160 initializes observer work home -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^/data1/stag_oceanbase/singleobserver/bin/observer' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobserver/* -- exited code 0 -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^/data1/stag_oceanbase/singleobserver/bin/obshell' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobserver/* -- exited code 0 -- obadmin@10.1.250.160 execute: rm -f /data1/stag_oceanbase/singleobserver/.meta -- exited code 0 -- obadmin@10.1.250.160 execute: bash -c "mkdir -p /data1/stag_oceanbase/singleobserver/{etc,admin,.conf,log,log_obshell,bin,lib}" -- exited code 0 -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobserver/store/* -- exited code 0 -- obadmin@10.1.250.160 execute: bash -c "mkdir -p /data1/stag_oceanbase/singleobserver/store/sstable" -- exited code 0 -- obadmin@10.1.250.160 execute: if [ ! '/data1/stag_oceanbase/singleobserver/store' -ef '/data1/stag_oceanbase/singleobserver/store' ]; then ln -sf /data1/stag_oceanbase/singleobserver/store /data1/stag_oceanbase/singleobserver/store; fi -- exited code 0 -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobserver/store/clog/* -- exited code 0 -- obadmin@10.1.250.160 execute: mkdir -p /data1/stag_oceanbase/singleobserver/store/clog -- exited code 0 -- obadmin@10.1.250.160 execute: if [ ! '/data1/stag_oceanbase/singleobserver/store/clog' -ef '/data1/stag_oceanbase/singleobserver/store/clog' ]; then ln -sf /data1/stag_oceanbase/singleobserver/store/clog /data1/stag_oceanbase/singleobserver/store/clog; fi -- exited code 0 -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobserver/store/slog/* -- exited code 0 -- obadmin@10.1.250.160 execute: mkdir -p /data1/stag_oceanbase/singleobserver/store/slog -- exited code 0 -- obadmin@10.1.250.160 execute: if [ ! '/data1/stag_oceanbase/singleobserver/store/slog' -ef '/data1/stag_oceanbase/singleobserver/store/slog' ]; then ln -sf /data1/stag_oceanbase/singleobserver/store/slog /data1/stag_oceanbase/singleobserver/store/slog; fi -- exited code 0 -- check slog dir in the same disk with data dir -- obadmin@10.1.250.160 execute: df --block-size=1024 /data1/stag_oceanbase/singleobserver/store/slog | awk 'NR == 2 { print $1 }' -- exited code 0 -- slog disk is /dev/nvme0n1p1 -- obadmin@10.1.250.160 execute: df --block-size=1024 /data1/stag_oceanbase/singleobserver/store | awk 'NR == 2 { print $1 }' -- exited code 0 -- data disk is /dev/nvme0n1p1 - sub init ref count to 0 - export init - plugin oceanbase-ce-py_script_init-4.2.2.0 result: True - Exec obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 init plugin - Apply obproxy-ce-py_script_init-3.1.0 for obproxy-ce-4.2.3.0 - Call obproxy-ce-py_script_init-3.1.0 for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - import init - add init ref count to 1 Initializes obproxy work home ok -- 10.1.250.160 init cluster work home -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^bash /data1/stag_oceanbase/singleobproxy/obproxyd.sh /data1/stag_oceanbase/singleobproxy 10.1.250.160 2883 daemon$' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^/data1/stag_oceanbase/singleobproxy/bin/obproxy --listen_port 2883' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: bash -c 'if [[ "$(ls -d /data1/stag_oceanbase/singleobproxy 2>/dev/null)" != "" && ! -O /data1/stag_oceanbase/singleobproxy ]]; then exit 0; else exit 1; fi' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^bash /data1/stag_oceanbase/singleobproxy/obproxyd.sh /data1/stag_oceanbase/singleobproxy 10.1.250.160 2883 daemon$' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: pkill -9 -u `whoami` -f '^/data1/stag_oceanbase/singleobproxy/bin/obproxy --listen_port 2883' -- exited code 1, error output: -- obadmin@10.1.250.160 execute: rm -fr /data1/stag_oceanbase/singleobproxy -- exited code 0 -- obadmin@10.1.250.160 execute: bash -c 'mkdir -p /data1/stag_oceanbase/singleobproxy/{run,bin,lib}' -- exited code 0 - sub init ref count to 0 - export init - plugin obproxy-ce-py_script_init-3.1.0 result: True - Call general-py_script_install_repo-0.1 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - import install_repo - add install_repo ref count to 1 Remote oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository install ok -- Remote oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository integrity check -- 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository integrity check -- obadmin@10.1.250.160 execute: echo ${OBD_HOME:-"$HOME"}/.obd -- exited code 0 -- obadmin@10.1.250.160 execute: cat /home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130/.data -- exited code 0 -- 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 install check -- 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 has installed -- obadmin@10.1.250.160 set env _repo_dir to '/home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130' -- obadmin@10.1.250.160 set env _home_path to '/data1/stag_oceanbase/singleobserver' -- obadmin@10.1.250.160 execute: mkdir -p ${_home_path} && cd ${_repo_dir} && find -type d | xargs -i mkdir -p ${_home_path}/{} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130/bin/observer' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/bin/observer' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130/bin' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/bin' -- obadmin@10.1.250.160 execute: ls -1 ${source} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type f | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type l | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130/etc' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/etc' -- obadmin@10.1.250.160 execute: ls -1 ${source} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type f | xargs -i cp -f ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type l | xargs -i cp -f ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce/4.3.2.1/01fb9a0311b13cedcf7fd013202e631595510130/admin' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/admin' -- obadmin@10.1.250.160 execute: ls -1 ${source} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type f | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type l | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 Remote oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository lib check !! -- 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository lib check -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '/data1/stag_oceanbase/singleobserver/lib:' -- obadmin@10.1.250.160 execute: ldd /data1/stag_oceanbase/singleobserver/bin/observer -- exited code 0 -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '' - sub install_repo ref count to 0 - export install_repo - plugin general-py_script_install_repo-0.1 result: True - Call general-py_script_install_repo-0.1 for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 Remote obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 repository install ok -- Remote obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 repository integrity check -- 10.1.250.160 obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 repository integrity check -- obadmin@10.1.250.160 execute: echo ${OBD_HOME:-"$HOME"}/.obd -- exited code 0 -- obadmin@10.1.250.160 execute: cat /home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21/.data -- exited code 0 -- 10.1.250.160 obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 install check -- 10.1.250.160 obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 has installed -- obadmin@10.1.250.160 set env _repo_dir to '/home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21' -- obadmin@10.1.250.160 set env _home_path to '/data1/stag_oceanbase/singleobproxy' -- obadmin@10.1.250.160 execute: mkdir -p ${_home_path} && cd ${_repo_dir} && find -type d | xargs -i mkdir -p ${_home_path}/{} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21/bin/obproxy' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobproxy/bin/obproxy' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/obproxy-ce/4.2.3.0/2526073e3c652177b15093be611af94a469e0e21/lib' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobproxy/lib' -- obadmin@10.1.250.160 execute: ls -1 ${source} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type f | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 -- obadmin@10.1.250.160 execute: cd ${source} && find -type l | xargs -i ln -fs ${source}/{} ${target}/{} -- exited code 0 Remote obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 repository lib check ok -- 10.1.250.160 obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 repository lib check -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '/data1/stag_oceanbase/singleobproxy/lib:' -- obadmin@10.1.250.160 execute: ldd /data1/stag_oceanbase/singleobproxy/bin/obproxy -- exited code 0 -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '' - plugin general-py_script_install_repo-0.1 result: True Try to get lib-repository - Search best suitable repository libs - Search package for components... - Get oceanbase-ce-libs repository - Search repository oceanbase-ce-libs version: 4.3.2.1, tag: None, release: None, package_hash: None - share lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 3 - mkdir /home/obadmin/.obd/repository/oceanbase-ce-libs - Search oceanbase-ce-libs package from mirror - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 10 - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 11 - load repo config: /home/obadmin/.obd/mirror/remote/OceanBase.repo - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 12 - md5 is None - name is oceanbase-ce-libs - arch is ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] - release is None - version is 4.3.2.1 - min_version is None - max_version is None - MirrorRepositoryType.LOCAL mirror local found pkg: name: oceanbase-ce-libs version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 size: 456120 - get RPM package by name: oceanbase-ce-libs version: 4.3.2.1 release:100000102024081217.el8 arch: x86_64 md5: 46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 size: 456120 - Found Package oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 Package oceanbase-ce-libs-4.3.2.1-100000102024081217.el8 is available. - Search repository oceanbase-ce-libs version: 46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7, tag: None, release: None, package_hash: None - Searching install plugin for components ... - Searching install plugin for components ... - Search install plugin for oceanbase-ce-libs - Found for oceanbase-ce-libs-install-3.1.0 for oceanbase-ce-libs-4.3.2.1 - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 13 - mkdir /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 - create instance repository for oceanbase-ce-libs-4.3.2.1 install oceanbase-ce-libs-4.3.2.1 for local ok - rm /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 - mkdir /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 - extract mode: paraller - link b'libaio.so.1.0.1' to /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libaio.so - link b'libaio.so.1.0.1' to /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libaio.so.1 - link b'libmariadb.so.3' to /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libmariadb.so - get head repository - Search repository oceanbase-ce-libs version: 4.3.2.1, tag: oceanbase-ce-libs, release: None, package_hash: None - head repository: None - exclusive lock `/home/obadmin/.obd/lock/mirror_and_repo`, count 14 - Call general-py_script_install_repo-0.1 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 Remote oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 repository install ok -- Remote oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 repository integrity check -- 10.1.250.160 oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 repository integrity check -- obadmin@10.1.250.160 execute: echo ${OBD_HOME:-"$HOME"}/.obd -- exited code 0 -- obadmin@10.1.250.160 execute: cat /home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/.data -- exited code 0 -- 10.1.250.160 oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 install check -- 10.1.250.160 oceanbase-ce-libs-4.3.2.1-100000102024081217.el8-46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7 has installed -- obadmin@10.1.250.160 set env _repo_dir to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7' -- obadmin@10.1.250.160 set env _home_path to '/data1/stag_oceanbase/singleobserver/lib' -- obadmin@10.1.250.160 execute: mkdir -p ${_home_path} && cd ${_repo_dir} && find -type d | xargs -i mkdir -p ${_home_path}/{} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libaio.so' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/lib/libaio.so' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libaio.so.1' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/lib/libaio.so.1' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libaio.so.1.0.1' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/lib/libaio.so.1.0.1' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libmariadb.so' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/lib/libmariadb.so' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 -- obadmin@10.1.250.160 set env source to '/home/obadmin/.obd/repository/oceanbase-ce-libs/4.3.2.1/46d9f1ca59e90f81c8d4ecb60fcc3e2f0435daa7/libmariadb.so.3' -- obadmin@10.1.250.160 set env target to '/data1/stag_oceanbase/singleobserver/lib/libmariadb.so.3' -- obadmin@10.1.250.160 execute: ln -fs ${source} ${target} -- exited code 0 Remote oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository lib check ok -- 10.1.250.160 oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 repository lib check -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '/data1/stag_oceanbase/singleobserver/lib:' -- obadmin@10.1.250.160 execute: ldd /data1/stag_oceanbase/singleobserver/bin/observer -- exited code 0 -- obadmin@10.1.250.160 set env LD_LIBRARY_PATH to '' - plugin general-py_script_install_repo-0.1 result: True - Call general-py_script_rsync-0.1 for oceanbase-ce-4.3.2.1-100000102024081217.el8-01fb9a0311b13cedcf7fd013202e631595510130 - import rsync - add rsync ref count to 1 - sub rsync ref count to 0 - export rsync - plugin general-py_script_rsync-0.1 result: True - Call general-py_script_rsync-0.1 for obproxy-ce-4.2.3.0-3.el8-2526073e3c652177b15093be611af94a469e0e21 - plugin general-py_script_rsync-0.1 result: True - dump deploy info to /home/obadmin/.obd/cluster/stagoceanbase/.data - open /home/obadmin/.obd/cluster/stagoceanbase/inner_config.yaml for w - mkdir /home/obadmin/.obd/cluster/stagoceanbase stagoceanbase deployed Please execute ` obd cluster start stagoceanbase ` to start Trace ID: 52420914-7a38-11ef-b7a7-f01fafdb1c2d If you want to view detailed obd logs, please run: obd display-trace 52420914-7a38-11ef-b7a7-f01fafdb1c2d - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 13 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 12 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 11 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 10 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 9 - share lock /home/obadmin/.obd/lock/mirror_and_repo release, count 2 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 8 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 7 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 6 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 5 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 4 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 3 - share lock /home/obadmin/.obd/lock/mirror_and_repo release, count 1 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 2 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 1 - exclusive lock /home/obadmin/.obd/lock/mirror_and_repo release, count 0 - try to get share lock /home/obadmin/.obd/lock/mirror_and_repo - share lock /home/obadmin/.obd/lock/mirror_and_repo release, count 0 - unlock /home/obadmin/.obd/lock/mirror_and_repo - exclusive lock /home/obadmin/.obd/lock/deploy_stagoceanbase release, count 1 - exclusive lock /home/obadmin/.obd/lock/deploy_stagoceanbase release, count 0 - unlock /home/obadmin/.obd/lock/deploy_stagoceanbase - share lock /home/obadmin/.obd/lock/global release, count 0 - unlock /home/obadmin/.obd/lock/global [obadmin@dev5 ~]$ obd cluster start stagoceanbase Get local repositories ok Search plugins ok Load cluster param plugin ok Open ssh connection ok Check before start observer ok [WARN] OBD-1007: (10.1.250.160) The recommended number of open files is 655350 (Current value: 102400) [WARN] OBD-1007: (10.1.250.160) The recommended number of stack size is unlimited (Current value: 8192) [WARN] OBD-1012: (10.1.250.160) clog and data use the same disk (/data1) Check before start obproxy ok cluster scenario: htap Start observer ok observer program health check ok Connect to observer 10.1.250.160:2881 ok Initialize oceanbase-ce ok Start obproxy ok obproxy program health check ok Connect to obproxy ok Initialize obproxy-ce ok Wait for observer init ok +------------------------------------------------+ | observer | +--------------+---------+------+-------+--------+ | ip | version | port | zone | status | +--------------+---------+------+-------+--------+ | 10.1.250.160 | 4.3.2.1 | 2881 | zone1 | ACTIVE | +--------------+---------+------+-------+--------+ obclient -h10.1.250.160 -P2881 -uroot -p'DevOps00!@#' -Doceanbase -A cluster unique id: f81a87f1-72dc-5896-9bfa-4f8131cf1e1f-192229316cb-01020304 +------------------------------------------------+ | obproxy | +--------------+------+-----------------+--------+ | ip | port | prometheus_port | status | +--------------+------+-----------------+--------+ | 10.1.250.160 | 2883 | 2884 | active | +--------------+------+-----------------+--------+ obclient -h10.1.250.160 -P2883 -uroot@proxysys -p'fVoM4DeHLX' -Doceanbase -A