]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rpm, debian: move smartmontools and nvme-cli to ceph-base 44177/head
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 25 Aug 2021 02:12:08 +0000 (02:12 +0000)
committerCory Snyder <csnyder@iland.com>
Thu, 2 Dec 2021 13:46:24 +0000 (08:46 -0500)
commitc43cf2decf0a4a75298d91f0aec2c6f26988b512
tree1a5b8f8c2e7fbd07a2434ac39f825fe6fbcb912f
parentfe63bec3382a149b52666f29358580c48ad8772b
rpm, debian: move smartmontools and nvme-cli to ceph-base

We wish to be able to scrape SMART and NVMe metrics from OSD and MON
nodes. For this we require / recommend smartmontools and nvme-cli
dependencies for both the ceph-osd and ceph-mon packages.  However, the
sudoers file (which is required for invoking `smartctl` by user 'ceph')
was installed only in the ceph-osd package.  Since different packages
cannot own the same file, and because we want to be able to scrape from
every daemon, we move the dependencies and the sudoers installation to
ceph-base. For generalization, we rename:
sudoers.d/ceph-osd-smartctl -> sudoers.d/ceph-smartctl

Fixes: https://tracker.ceph.com/issues/50657
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit 7ca39fa92b47427af2f1c6000c653bb4dffc47fe)

Conflicts:
ceph.spec.in
debian/rules

Cherry-pick notes:
- conflict due to octopus not having jaeger dep
- conflict due to octopus not installing rbd-nbd_quiesce on debian
ceph.spec.in
debian/ceph-base.install
debian/ceph-osd.install
debian/control
debian/rules
sudoers.d/ceph-osd-smartctl [deleted file]
sudoers.d/ceph-smartctl [new file with mode: 0644]