164 Star 1.1K Fork 523

之江天枢 / Dubhe

 / 详情

创建notebook一直启动中

待确认
缺陷
创建于  
2024-01-18 11:08

pod事件

核心报错为挂载的目录不对,查看宿主机上的目录,没有最后一层目录20240118023659462t740:

MountVolume.SetUp failed for volume "pvc-workspace" : hostPath type check failed: /data/dubhe-storage/dubhe-prod/algorithm-manage/1/20240118023659462t740/ is not a directory

MountVolume.SetUp failed for volume "pvc-pip-site-package" : hostPath type check failed: /data/dubhe-storage/dubhe-prod/pip-site-package/1/202401180236594522gbd/ is not a directory

查看dubhe-notebook服务日志未发现报错

评论 (4)

关小雨的刀 创建了缺陷

输入图片说明

HostPath中最后一层级没有创建

notebook的镜像已经拉取下来了,约22GB:registry.cn-hangzhou.aliyuncs.com/enlin/notebook:v1

duhbe-notebook服务挂载的本地到/nfs/目录:
输入图片说明

如果将storage.file-store-root-path改为/data/dubhe-storage/,那么notebook服务在创建的时候也就是/data/dubhe-storage/目录,而/data未挂载,则宿主机看不见,如果改为/nfs的话,notebook服务创建成功后,但是挂载到notebook作用容器的hostPath为/nfs/,但实际宿主机的地址是/data/dubhe-storage/

在宿主机创建/nfs到/data:

ln -s /data/dubhe-storage/ /nfs

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Java
1
https://gitee.com/zhijiangtianshu/Dubhe.git
git@gitee.com:zhijiangtianshu/Dubhe.git
zhijiangtianshu
Dubhe
Dubhe

搜索帮助