通过Manager升级Doris过程报权限不足

Viewed 31

目的:在测试环境通过manager24.0.2将doris2.1.2升级到2.1.6。

现状:服务器有如下4层目录结构,空间足够:
/ 根目录
/app 应用软件安装目录
/app/doris doris用户的home目录
/app/doris/doris-2.1.2 doris软件安装目录,启停操作使用doris用户
/app/doris/doris-manager-24.0.2-x64-bin manager软件安装目录,启停操作使用root用户
/meta_data be数据存储目录,配置在be.conf
/rdw_data fe数据存储目录,配置在fe.conf
Doris-Manager版本是24.0.2-x64
Linux操作系统版本我有多个,一个是Redhat7.8,一个是Redhat8.9

问题:在通过Manager升级Doris过程中,在“备份数据”这一步报错,日志提示如下:
2024-10-12 16:45:19.779 [WebSocketClient-AsyncIO-14] INFO c.s.e.m.s.c.a.m.AgentTaskExecuteWebSocketHandler - received agent id 3 ip 10.24.26.75 command message {"code":1,"message":"base path of storage_root_path / has no permission to access, can not create storage backup dir"}.
2024-10-12 16:45:19.779 [WebSocketClient-AsyncIO-14] INFO c.s.e.m.s.c.a.m.AgentTaskExecuteWebSocketHandler - received agent id 1 ip 10.24.26.73 command message {"code":1,"message":"base path of storage_root_path / has no permission to access, can not create storage backup dir"}.
2024-10-12 16:45:19.779 [WebSocketClient-AsyncIO-14] INFO c.s.e.m.s.c.a.m.AgentTaskExecuteWebSocketHandler - received agent id 2 ip 10.24.26.74 command message {"code":1,"message":"base path of storage_root_path / has no permission to access, can not create storage backup dir"}.

manager和agent都使用root启用,在/目录下创建storage_root_path为什么会没权限。
需要怎么操作。

之前在这里提了问题,也没解决掉,我重新换了套环境尝试。
https://ask.selectdb.com/questions/D1cV1/tong-guo-manager-sheng-ji-doris-guo-cheng-bao-quan-xian-bu-zu

2 Answers

storage_root_path直接配置的是'/'?24.0.2里面检查是有个bug存在,root用户应该直接跳过的,可以升级到24.0.3

storage_root_path这个参数没有配置过,也没地方配置。

我换最新的manager版本试试。