]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix custom alertmanager
authorPatrick Seidensal <pseidensal@suse.com>
Thu, 30 Jul 2020 09:37:46 +0000 (11:37 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 21 Aug 2020 11:04:01 +0000 (13:04 +0200)
commit8a3ef73d02c61e21bd65240b8612314c668615fe
treed6ba7c6ebae6d4df34c4fa0a6347ce2bbe584540
parent140b29f395467b52004b9147388f5690bbd776ba
cephadm: fix custom alertmanager

When alertmanager image has been customized and does not have a
/etc/alertmanager directory, the uid/gid extraction fails. This change
assumes that instead the /etc/prometheus directory exists and can be
used to extract the uid and gid.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit d218de4cde8d37f7f69a2a2a9474c0ac9afca41d)
src/cephadm/cephadm