Closed bengland2 closed 6 years ago
failed to load ceph kernel module (1)
is a red herring.
I'm doing the same thing right now and used this appended to linode.yml
:
+
+- hosts: clients
+ become: yes
+ tasks:
+ - name: mount kcephfs
+ shell: mount -t ceph $(grep 'mon host' /etc/ceph/ceph.conf | tr -d '[[:space:][:alpha:]=]'):/ /mnt -o secret=$(grep key /etc/ceph/ceph.client.admin.keyring | awk '{print $3}'),name=admin
Are you planning some test with the kernel client? Ping me on IRC.
I'm using this for group_vars/all
:
ceph_origin: repository
ceph_repository: community
ceph_stable_release: luminous
copy_admin_key: true
Last part is critical because ceph-ansible doesn't setup a key for clients anymore ( >:( !!!)
Oh and one more thing, keep in mind that linode will have you use their upstream kernel by default. This is okay because you probably want all the latest CephFS kclient fixes that come with it. It's what I'm using now...
closing because this all works in centos 7.5
what's the best way to run kernel cephfs in linode? I'm running centos-7 distro and there is no kernel module ceph.ko or ceph.ko.xz in /lib/modules/
uname -r
/kernel/fs/ . When I try to mount using cephfs: