Project

General

Profile

Actions

Bug #21023

closed

BlueStore-OSDs marked as destroyed in OSD-map after v12.1.1 to v12.1.4 upgrade

Added by Martin Millnert over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSDMap
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

(I intended to contact but DreamHost rejected my posting, hence a bug report instead)

I have a small single-host 5-osd Luminous v12.1.1 cluster, that I am in
the progress of inline-upgrading to BlueStore from FileStore.

I just upgraded to v12.1.4 and now all my bluestore OSD:s are marked as
'destroyed' in the osdmap.

What I did for the upgrade was:

apt upgrade
systemctl restart ceph-mon@<my-host-name>.service
systemctl restart ceph-mgr@<my-host-name>.service
systemctl restart ceph-osd.target

And following this the BlueStore-OSD:s got upset (osd.1-4 are BlueStore, osd.5 is FileStore):

  1. ceph osd tree
    ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
    -2 0 host <my-host-name>
    -1 36.50000 root default
    -3 36.50000 host <my-host>
    1 hdd 7.29999 osd.1 destroyed 1.00000 1.00000
    2 hdd 7.29999 osd.2 destroyed 1.00000 1.00000
    3 hdd 7.29999 osd.3 destroyed 1.00000 1.00000
    4 hdd 7.29999 osd.4 destroyed 1.00000 1.00000
    5 hdd 7.29999 osd.5 up 1.00000 1.00000

The in-place upgrade I'm doing uses the "ceph osd destroy" procedure to
in-place replace OSDs and it has been working for all intents and
purposes I've been able to see. Thus all OSD:s marked destroyed above have all had
'osd detroy' issued to them... but following that they've been up, too...

Now I'd like to know:
1) how can I fix this, and,
2) what I did wrong to cause it?

I saw no docs on which order to restart processes, but I fully ACK that I may have done it in the wrong order (mon->mgr->osd). Still seems a bit risky that one would end up in the above state.

Actions

Also available in: Atom PDF