]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rpm, debian: move smartmontools and nvme-cli to ceph-base
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 25 Aug 2021 02:12:08 +0000 (02:12 +0000)
committerYaarit Hatuka <yaarit@redhat.com>
Wed, 25 Aug 2021 13:20:23 +0000 (13:20 +0000)
commit7ca39fa92b47427af2f1c6000c653bb4dffc47fe
tree944c5cad8b77b123f3f488fb1b36fc6ce64ccbbc
parent8a3448f6a968cb63b89cca7ec318a2af24419382
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>
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]