【 使用环境 】测试环境
【 OB or 其他组件 】OCP
【 使用版本 】ocp-4.0.0-ce-x86_64
【问题描述】OCP部署失败
【复现路径】
install start
check docker on host
load installer docker image
Loaded image: reg.docker.alibaba-inc.com/ocp2/ocp-installer:4.0.0-ce-x86_64
make log dir
make obd dir
2022-11-18 10:46:21 - INFO - 1 - [ob_precheck.py:28] - ob precheck using command: sudo /tmp/precheck-88a4c8e2-5019-4c4e-8254-f7fc21b4b839.sh -m ob
2022-11-18 10:46:21 - ERROR - 1 - [ob_precheck.py:32] - precheck for ocp on host x.x.x.x failed
2022-11-18 10:46:21 - INFO - 1 - [ob_precheck.py:35] - ob precheck result: Machine Role: ob
Peer IP List:
Machine Type: PHY
Inspect Mode: FALSE
check CPU count: 8 > 8 ... PASS
check total MEM: 30 GB < 64 GB ... EXPECT >= 64 GB ... FAIL
TIPS: replace another machine with more MEM
check SELinux status: Disabled ... PASS
check account [admin] and home dir, exist ... PASS
check service [firewalld]: inactive ... PASS
check service [firewalld]: disabled ... PASS
### SUMMARY OF ISSUES IN PRE-CHECK ###
check total MEM: 30 GB < 64 GB ... EXPECT >= 64 GB ... FAIL
TIPS: replace another machine with more MEM
,
2022-11-18 10:46:21 - INFO - 1 - [ob_install.py:82] - clean obd dir
2022-11-18 10:46:21 - INFO - 1 - [ob_install.py:91] - install ob using obd
2022-11-18 10:46:21 - INFO - 1 - [ob_install.py:95] - deploy task with config:obproxy-ce:
depends:
- oceanbase-ce
global:
home_path: /home/admin/obproxy
listen_port: 2883
servers:
- x.x.x.x
oceanbase-ce:
global:
appname: obcluster
data_dir: /data/1
home_path: /home/admin/oceanbase
mysql_port: 2881
redo_dir: /data/log1
root_password: rootpass
rpc_port: 2882
server1:
zone: zone1
servers:
- ip: x.x.x.x
name: server1
user:
key_file: ''
password: 9aEm#mY0oX
port: 22
timeout: 10
username: root
2022-11-18 10:46:21 - INFO - 1 - [ob_install.py:100] - deploy obcluster command: obd cluster autodeploy obcluster -c /tmp/ocp_cluster.yaml
2022-11-18 10:46:41 - INFO - 1 - [ob_install.py:104] - deploy obcluster got result Package obproxy-ce-3.2.3-2.el7 is available.
Package oceanbase-ce-3.1.4-10000092022071511.el7 is available.
install obproxy-ce-3.2.3 for local ok
install oceanbase-ce-3.1.4 for local ok
Cluster param config check ok
Open ssh connection ok
Generate obproxy configuration ok
Generate observer configuration ok
obproxy-ce-3.2.3 already installed.
oceanbase-ce-3.1.4 already installed.
+-------------------------------------------------------------------------------------------+
| Packages |
+--------------+---------+-----------------------+------------------------------------------+
| Repository | Version | Release | Md5 |
+--------------+---------+-----------------------+------------------------------------------+
| obproxy-ce | 3.2.3 | 2.el7 | bdd299bda2bdf71fd0fd3f155b6a2e39dffd2be1 |
| oceanbase-ce | 3.1.4 | 10000092022071511.el7 | c5cd94f4f190317b6a883c58a26460a506205ce6 |
+--------------+---------+-----------------------+------------------------------------------+
Repository integrity check ok
Parameter check ok
Open ssh connection ok
Cluster status check ok
Initializes obproxy work home ok
Initializes observer work home ok
Remote obproxy-ce-3.2.3-2.el7-bdd299bda2bdf71fd0fd3f155b6a2e39dffd2be1 repository install ok
Remote obproxy-ce-3.2.3-2.el7-bdd299bda2bdf71fd0fd3f155b6a2e39dffd2be1 repository lib check ok
Remote oceanbase-ce-3.1.4-10000092022071511.el7-c5cd94f4f190317b6a883c58a26460a506205ce6 repository install ok
Remote oceanbase-ce-3.1.4-10000092022071511.el7-c5cd94f4f190317b6a883c58a26460a506205ce6 repository lib check ok
obcluster deployed
Get local repositories ok
Search plugins ok
Open ssh connection ok
Load cluster param plugin ok
Check before start obproxy ok
Check before start observer x
[WARN] (x.x.x.x) The recommended value of fs.aio-max-nr is 1048576 (Current value: 65536)
[ERROR] OBD-1007: (x.x.x.x) open files must not be less than 20000 (Current value: 1024)
See https://open.oceanbase.com/docs/obd-cn/V1.4.0/10000000000436999 .
,
Traceback (most recent call last):
File "pipeline/install_ocp.py", line 43, in <module>
run(context)
File "pipeline/install_ocp.py", line 33, in run
install_ocp_pipeline.run()
File "/root/installer/core/pipeline.py", line 10, in run
task.run()
File "/root/installer/task/ob_install.py", line 146, in run
self.create_cluster()
File "/root/installer/task/ob_install.py", line 105, in create_cluster
raise Exception("create cluster with obd failed")
Exception: create cluster with obd failed
【问题现象及影响】
【附件】