support osd-journal also for directory osd-devices

Bug #1500895 reported by JuanJo Ciarlante
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Triaged
Wishlist
Unassigned
OpenStack Ceph Charm (Retired)
Won't Fix
Wishlist
Unassigned
ceph (Juju Charms Collection)
Invalid
Wishlist
Unassigned
ceph-osd (Juju Charms Collection)
Invalid
Wishlist
Unassigned

Bug Description

ceph charm ignores 'osd-journal' setting if the main device
from 'osd-devices' is a directory:

# From hooks/ceph.py:
#
def osdize(dev, osd_format, osd_journal, reformat_osd=False,
           ignore_errors=False):
    if dev.startswith('/dev'):
        osdize_dev(dev, osd_format, osd_journal, reformat_osd, ignore_errors)
    else:
        osdize_dir(dev)

Use case: one may need to set osd-devices to a set of directories
because their backing device (eg bcache) doesn't support partitioning
(as required by ceph-disk-prepare), while using a different
device as osd-journal.

JuanJo Ciarlante (jjo)
tags: added: canonical-bootstack
description: updated
James Page (james-page)
Changed in ceph-osd (Juju Charms Collection):
status: New → Triaged
Changed in ceph (Juju Charms Collection):
status: New → Triaged
Changed in ceph-osd (Juju Charms Collection):
importance: Undecided → Low
Changed in ceph (Juju Charms Collection):
importance: Undecided → Wishlist
Changed in ceph-osd (Juju Charms Collection):
importance: Low → Wishlist
James Page (james-page)
Changed in charm-ceph:
importance: Undecided → Wishlist
status: New → Triaged
Changed in ceph (Juju Charms Collection):
status: Triaged → Invalid
Changed in charm-ceph-osd:
importance: Undecided → Wishlist
status: New → Triaged
Changed in ceph-osd (Juju Charms Collection):
status: Triaged → Invalid
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Marking the charm-ceph task wontfix as the ceph charm has been removed from support for a while now

Changed in charm-ceph:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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