]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
library: make cephadm_adopt module idempotent
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 21 Jan 2021 16:19:44 +0000 (11:19 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Jan 2021 20:07:39 +0000 (21:07 +0100)
commitff9d314305400aeab764310c44bfab95beb64f04
tree43478c07049b5ba3836194d37f0a689a681107f1
parent6886700a002e5d59bed5c18d082f8902bd57978c
library: make cephadm_adopt module idempotent

Rerunning the cephadm_adopt module on an already adopted daemon will
fail because the cephadm adopt command isn't idempotent.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1918424
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
library/cephadm_adopt.py
tests/library/test_cephadm_adopt.py