c4209b3965
Ceph has a function to collect health metrics through smartctl or nvme command out of the box. And it relies on sudo spawned from the ceph-osd process so it needs to be considered in the apparmor policy. [/etc/sudoers.d/ceph-smartctl in ceph-base package] > ## allow ceph daemons (which run as user ceph) to collect device > ## health metrics > > ceph ALL=NOPASSWD: /usr/sbin/smartctl -x --json=o /dev/* > ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/* Also sync charmhelpers and mock platform info Closes-Bug: #2031637 Change-Id: I981a5db0fd49eca83aa8a619f0cbd0d34a533842 |
||
---|---|---|
.. | ||
__init__.py | ||
test_actions_add_disk.py | ||
test_actions_blacklist.py | ||
test_actions_get_availability_zone.py | ||
test_actions_list_disks.py | ||
test_actions_osd_out_in.py | ||
test_actions_remove_disk.py | ||
test_actions_service.py | ||
test_actions_zap_disk.py | ||
test_ceph_hooks.py | ||
test_ceph_networking.py | ||
test_ceph_utils.py | ||
test_config.py | ||
test_status.py | ||
test_tuning.py | ||
test_upgrade.py | ||
test_utils.py |