oat初始化服务器报错在config_docker这一步(机器本身无法联网)

[2023-10-11T12:09:24.579+0800] INFO - Docker is already installed, start check…

[2023-10-11T12:09:24.594+0800] INFO - 13348 ? 00:00:18 dockerd

[2023-10-11T12:09:24.686+0800] INFO - Already installed docker check failure (docker root dir space less than 60GB, please check !)

[2023-10-11T12:09:24.688+0800] INFO - execute command on 10.10.10.1:

rm -f /tmp/install_docker.shABG2J1HD

[2023-10-11T12:09:24.751+0800] INFO - execute command on 10.10.10.1:

rm -f /tmp/docker-18.09.9.tgz.vSuu1504

[2023-10-11T12:09:24.819+0800] ERROR - Task failed with exception

Traceback (most recent call last):

File “/usr/local/lib/python3.9/site-packages/airflow/decorators/base.py”, line 217, in execute

return_value = super().execute(context)

File “/usr/local/lib/python3.9/site-packages/airflow/operators/python.py”, line 175, in execute

return_value = self.execute_callable()

File “/usr/local/lib/python3.9/site-packages/airflow/operators/python.py”, line 192, in execute_callable

return self.python_callable(*self.op_args, **self.op_kwargs)

File “/oat/task_engine/dags/init_server_with_tag.py”, line 65, in config_docker

common.config_docker(ctx, logger)

File “/oat/task_engine/plugins/common.py”, line 1377, in config_docker

raise RuntimeError(‘install docker error’)

RuntimeError: install docker error

[2023-10-11T12:09:24.824+0800] INFO - Marking task as FAILED. dag_id=init_server_with_tag, task_id=config_docker, execution_date=20231011T040708, start_date=20231011T040923, end_date=20231011T040924

[2023-10-11T12:09:24.825+0800] INFO - Running statement: update oat_audit set status=‘failed’, update_time=utc_timestamp(), failed_reason=%s where id=%s, parameters: [‘failed task instance is init_server_with_tag__config_docker__20231011 and exception information is install docker error’, 7]

[2023-10-11T12:09:24.825+0800] INFO - Rows affected: 1

[2023-10-11T12:09:24.834+0800] ERROR - Failed to execute job 27 for task config_docker (install docker error; 7515)

[2023-10-11T12:09:24.869+0800] INFO - Task exited with return code 1

[2023-10-11T12:09:24.894+0800] INFO - 0 downstream tasks scheduled from follow-on schedule chec

【使用环境】测试环境
【 使用版本 】ocp334.tar.gz

好像是我第一次装oat的时候空间不太够了,所以,我换了个目录,但是因为docker已经安装了,我可能没卸载干净,所以在此安装oat的时候没有提示我安装docker,刚刚我去检查,发现根目录下又多了docker的目录,根目录只有13G了,我预期的docker目录剩余63G,,可能我需要转换下目录

解决了,修改了docker root的目录,暂时正常了

1 个赞

应该是磁盘不够,这个报错提示让人真是一脸懵逼