问题描述
创建longhorn存储后一直无法挂载到pod上,发现“mirrored-longhornio-longhorn-share-manager” pod 一直在重启。我在对应的节点上也启动了nfs server。但是pod logs中一直提示需要启动nfs server
日志
日志
pod logs 显示信息:
time="2022-06-22T02:47:53Z" level=warning msg="waiting with nfs server start, volume is not attached" encrypted=false volume=pvc-cb7efeb9-73e8-4649-b8f0-16b7bef74d78
time="2022-06-22T02:47:53Z" level=info msg="share manager received signal terminated to exit"
time="2022-06-22T02:47:58Z" level=info msg="nfs server is shutting down" encrypted=false volume=pvc-cb7efeb9-73e8-4649-b8f0-16b7bef74d78
W0622 02:47:58.196591 1 mount_helper_common.go:34] Warning: Unmount skipped because path does not exist: /export/pvc-cb7efeb9-73e8-4649-b8f0-16b7bef74d78
time="2022-06-22T02:47:58Z" level=debug msg="device /dev/mapper/pvc-cb7efeb9-73e8-4649-b8f0-16b7bef74d78 is not an active LUKS device: failed to run cryptsetup args: [status pvc-cb7efeb9-73e8-4649-b8f0-16b7bef74d78] output: error: exit status 4"
环境信息
- Longhorn 版本: v1.2.4
- 安装方法 (e.g. Rancher Catalog App/Helm/Kubectl): Rancher Catalog App
- Kubernetes 发行版 (e.g. RKE/K3s/EKS/OpenShift) 和版本: K3s
- 集群管理节点个数: 1
- 集群 worker 节点数: 2
- Node 配置
- 操作系统类型和版本: suse 15 sp3
- 每个节点的CPU: 4c
- 每个节点的内存: 8g
- 磁盘类型(e.g. SSD/NVMe):
- 节点间网络带宽::
- 底层基础设施 (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): VMWare
- 集群中Longhorn卷的个数: 1