]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Make sysctl conf writing idempotent 46648/head
authorZack Cerza <zack@redhat.com>
Mon, 13 Jun 2022 17:12:23 +0000 (11:12 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 14 Jun 2022 16:28:08 +0000 (10:28 -0600)
commit77b3080808ffb90f6f0aebfeb3d495c9a5dcae7a
tree7865ed97898214749f558d317de1e49c16acec2b
parent6f765e25ab7b138b5c901363389df705244e91bb
cephadm: Make sysctl conf writing idempotent

By checking the system's actual settings against our desired settings
before writing out the config file.

Fixes: https://tracker.ceph.com/issues/56026
Signed-off-by: Zack Cerza <zack@redhat.com>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py