Closed byoungb closed 2 years ago
@byoungb Ensure the rbd module is loaded on startup. Ensure you have the line "rbd" on the file #cat /etc/modules
If not: echo "rbd" >> /etc/modules
Regards
While adding rbd to /etc/modules didn't solve the problem, configuring rbdmap - did.
What exactly did you configure with rdbmap??? or did you just enable the systemd service? Since the rbd maps are created by the docker volume plugin, I am not exactly sure what I would need to configure.
this docker volume plugin needs the rbd kernel loaded and configured in your host.
we ensure this module is loaded adding it to the /etf/modules:
lorem@host:# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
dummy
rbd
I have no idea what is going on but until I issue the
rbd map
command I getYeah so as you can see above, you can list the volumes and see rbd volumes but you cannot create them or mount them until you have run the
rbd map
command at least once on the host. (I was able to confirm this with 100% certainty because I had 3 attempts at figuring it out, everything worked fine on ceph1 basically right away, so it was really hard to figure out for awhile)