]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: fix peer_add helper
authorMykola Golub <mgolub@suse.com>
Tue, 28 Apr 2020 16:04:43 +0000 (17:04 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Apr 2020 11:04:45 +0000 (13:04 +0200)
commit052558e62edec48a471c6f874a532e8427764365
tree7a7f6d1e9ac4b9e2bbef64fe562b0e51b52dfd47
parentf93516d78734740c30c5532e5032be1893004bb1
qa/workunits/rbd: fix peer_add helper

We need to temporary disable "exit on error" mode so it does not
abort when `rbd mirror pool peer add` returns "already exists"
error code.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 1ad816ae0c2d4f0db3d26e0ae993947154bab6c8)
qa/workunits/rbd/rbd_mirror_helpers.sh