Directory backed OSDs aren't tracked as bootstrapped

Bug #1802134 reported by Chris MacNaughton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Fix Released
Critical
Chris MacNaughton
charms.ceph
Fix Released
Critical
Chris MacNaughton

Bug Description

When using a directory backed OSD, the OSD isn't tracked as being bootstrapped, stalling the cluster passing out keys to other services while waiting on OSDs to be bootstrapped

Changed in charm-ceph-osd:
importance: Undecided → Critical
Changed in charms.ceph:
importance: Undecided → Critical
Changed in charm-ceph-osd:
assignee: nobody → Chris MacNaughton (chris.macnaughton)
Changed in charms.ceph:
assignee: nobody → Chris MacNaughton (chris.macnaughton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charms.ceph (master)

Fix proposed to branch: master
Review: https://review.openstack.org/616230

Changed in charms.ceph:
status: New → In Progress
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

So this was found using the openstack-bundles/development/openstack-lxd-bionic-rocky on Ruxton (a few minor changes with the bundle to work with the spaces on MaaS).

it manifests as the relation-data from ceph-osd having "bootstrapped-osds" as "0" despite the ceph-osd considering that it does have a bootstrapped dir.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (master)

Fix proposed to branch: master
Review: https://review.openstack.org/616233

Changed in charm-ceph-osd:
status: New → In Progress
Ryan Beisner (1chb1n)
Changed in charm-ceph-osd:
milestone: none → 18.11
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charms.ceph (master)

Reviewed: https://review.openstack.org/616230
Committed: https://git.openstack.org/cgit/openstack/charms.ceph/commit/?id=646c45dcf4227dfd814bf8c770c2b95442f18510
Submitter: Zuul
Branch: master

commit 646c45dcf4227dfd814bf8c770c2b95442f18510
Author: Chris MacNaughton <email address hidden>
Date: Wed Nov 7 17:13:34 2018 +0100

    Add directories to osd-devices as well

    Tracking directory backed OSDs in the kv store allows
    us to bootstrap further relations based on bootstrapped
    OSD counts.

    Change-Id: I1a28a28dbd325dd7ffd74940a07be9908d74689c
    Closes-Bug: #1802134

Changed in charms.ceph:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/616233
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=c158d7432b48cd0a56ec1cf8503c74c4df39e493
Submitter: Zuul
Branch: master

commit c158d7432b48cd0a56ec1cf8503c74c4df39e493
Author: Chris MacNaughton <email address hidden>
Date: Wed Nov 7 17:17:31 2018 +0100

    Add directories to osd-devices as well

    Tracking directory backed OSDs in the kv store allows
    us to bootstrap further relations based on bootstrapped
    OSD counts.

    Change-Id: I1abd767d15c204845d9909d9c7ee9414dbe87a5c
    Closes-Bug: #1802134
    Depends-On: https://review.openstack.org/#/c/616230/

Changed in charm-ceph-osd:
status: In Progress → Fix Committed
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

I've verified that it works with the lxd bundle that discovered the fault.

David Ames (thedac)
Changed in charm-ceph-osd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.