我正在尝试将Rook / ceph部署到GCP托管的Kubernetes环境中。我选择了rook / ceph,因为GKE本身不支持ReadWriteMany。我已经测试过NFS,但似乎群集FS更合适。
我已按照此处的说明进行操作:
基于必备文档(在内核模块目录配置下),我需要设置LIB_MODULES_DIR_PATH
。 有人知道应该设置什么吗?
由于容器未运行,我无法执行该容器。根据该错误,似乎/ lib / modules在抛出2019-03-13 19:18:22.126110 I | exec: Running command: cat /lib/modules/4.14.65+/modules.builtin
时可能是有效的。
有什么想法吗?
2019-03-13 19:18:22.123171 I | rookcmd: starting Rook v0.9.3 with arguments '/usr/local/bin/rook ceph agent' 2019-03-13 19:18:22.123284 I | rookcmd: flag values: --help=false, --log-level=INFO 2019-03-13 19:18:22.124816 I | cephcmd: starting rook ceph agent 2019-03-13 19:18:22.126110 I | exec: Running command: cat /lib/modules/4.14.65+/modules.builtin 2019-03-13 19:18:22.133999 I | exec: Running command: modinfo -F parm rbd 2019-03-13 19:18:22.138631 N | ceph-volumeattacher: failed rbd single_major check, assuming it's unsupported: failed to check for rbd module single_major param: Failed to complete 'check kmod param': exit status 1. modinfo: ERROR: Module rbd not found. 2019-03-13 19:18:22.138683 I | exec: Running command: modprobe rbd 2019-03-13 19:18:22.140486 I | modprobe rbd: modprobe: FATAL: Module rbd not found. 2019-03-13 19:18:22.140765 N | ceph-volumeattacher: failed to load kernel module rbd: failed to load kernel module rbd: Failed to complete 'modprobe rbd': exit status 1. failed to run rook ceph agent. failed to create volume manager: failed to load kernel module rbd: Failed to complete 'modprobe rbd': exit status 1.