【 使用环境 】 测试环境
【 OCP部署 】
【 3.3.0 】
【问题描述】
OCP安装报错:[root@localhost ocp-3.3.0-ce]# sudo ./ocp_installer.sh install -c config.yaml -i ./ocp-installer.tar.gz -o ./ocp.tar.gz
install start
check docker on host
load installer docker image
Loaded image: reg.docker.alibaba-inc.com/ocp2/ocp-installer:0.5
make log dir
Traceback (most recent call last):
File “install_ocp.py”, line 31, in
logger.init_custom_logger(“00000000-0000-0000-0000-000000000000”, stream_only=True)
File “/root/installer/common/logger.py”, line 16, in init_custom_logger
fileHandler = logging.FileHandler(log_file, mode=‘a’)
File “/usr/lib64/python3.6/logging/init.py”, line 1032, in init
StreamHandler.init(self, self._open())
File “/usr/lib64/python3.6/logging/init.py”, line 1061, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: ‘/tmp/log/00000000-0000-0000-0000-000000000000.log’
1 个赞
3.3.0版本比较早了,为什么要用这个版本呢?
1 个赞
因为第三方备份软件只支持V3版本
1 个赞
看起来和权限有关,你参考这个看下
https://open.oceanbase.com/blog/1815125504
PermissionError: [Errno 13] Permission denied: ‘/tmp/log/00000000-0000-0000-0000-000000000000.log’
1 个赞
好的,谢谢
1 个赞