SUSE / DeepSea

A collection of Salt files for deploying, managing and automating Ceph.
GNU General Public License v3.0
161 stars 75 forks source link

[backport][ses6] osd/replace: only access metadata if present #1808

Closed jschmid1 closed 4 years ago

jschmid1 commented 4 years ago

When a OSD is not actively deployed anymore but is still present in the crushmap you want to be able to replace it. This patch extends the condition for such a case.

Signed-off-by: Joshua Schmid jschmid@suse.de (cherry picked from commit 1ea490ebb849caf4fb3679380dc0511347ac7522)

backport of #1807


Checklist:

jschmid1 commented 4 years ago

@susebot run teuthology

susebot commented 4 years ago

Commit 61db416e94111fa96efb494033ae37b5d79b192b is NOT OK for suite deepsea:tier2. Check tests results in the Jenkins job: http://ci.ses.suse.de:8080/job/pr-deepsea/386/

jschmid1 commented 4 years ago

@susebot run teuthology

susebot commented 4 years ago

Commit 61db416e94111fa96efb494033ae37b5d79b192b is OK for suite deepsea:tier2. Check tests results in the Jenkins job: http://ci.ses.suse.de:8080/job/pr-deepsea/387/