Red Hat Bugzilla – Bug 1275522
ceph-fuse should be installed on openshift node
Last modified: 2016-07-03 20:45:55 EDT
Description of problem:
Ceph-common is ceph the server package. ceph-fuse packages must be installed, without this package, the ceph volume can be mounted.
If ansible can't install ceph-fuse, it should report a message at the end.
Version-Release number of selected component (if applicable):
ansible pull request 738
Steps to Reproduce:
1. install openshift by ansible
2. check the ceph packages after installation
3. mount ceph volume, it report wrong fs type.
1. ceph-common-0.80.7-3.el7.x86_64 was installed
2. Mount failed:
# mount -t ceph 10.66.79.110:6789:/ /mnt -o name=admin,secretfile=ceph.key
mount: wrong fs type, bad option, bad superblock on 10.66.79.110:6789:/,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
The package "ceph-fuse.x86_64 : Ceph fuse-based client" should be installed.
The storage plugin does not use the ceph fuse client, rather it uses the ceph kernel module, libraries and tools provided by ceph-common.
kubernetes docs for ceph rbd volume plugin: https://github.com/kubernetes/kubernetes/tree/master/examples/rbd
PR for the origin repo with examples for the ceph volume plugin: https://github.com/openshift/origin/pull/4772
To test mounting a volume, you will need to use the rbd map command:
rbd map <volume> --pool <pool> -m <ceph monitor host> --key=<admin user's key>
The rbd command will return the name of a block device that can then be mounted (generally /dev/rbd0 for the first device and incrementing for additional mounts).