]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Give better access to the /dev in the iscsi container
authorMatthew Oliver <moliver@suse.com>
Thu, 27 Aug 2020 02:44:40 +0000 (12:44 +1000)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 7 Sep 2020 09:01:03 +0000 (11:01 +0200)
commitedd82d8aa0dfe4f362e8740b94a82468386496cd
treebe4024c844f2bb043f61724b0ca7f1856f02313d
parente465b423aef70b8241e21e8677626da288664d91
cephadm: Give better access to the /dev in the iscsi container

In testing it seems the main iscsi container's /dev related volume mount to just
/dev/log is too narrow. And in certain circumstances it needs to access
to see /dev/rbd* devices. Like if using krdb.

This patch volume mounts /dev rather then /dev/log in the main
container, but since this aligns with what we need in the tcmu-runner
container it actaully ends up simplifying the code as well.

Signed-off-by: Matthew Oliver <moliver@suse.com>
(cherry picked from commit 40c0d6821252e8112b655dee67d9d3eb5b7ffbff)
src/cephadm/cephadm