Description of problem:
currently when using osd_scenario=lvm, users must manually create logical volumes prior to running ceph-ansible for deployment.
for RHCS 3.2 ceph-volume should handle creation of LVs for both bluestore and filestore deployments
addressed for filestore in RHCS 3.1 by this ad-hoc playbook
bz 1591074 https://bugzilla.redhat.com/show_bug.cgi?id=1591074
This is already in ceph-ansible master:
It will require backporting the ceph-volume functionality that currently exists in ceph master back to luminous
(In reply to Alfredo Deza from comment #3)
> This is already in ceph-ansible master:
> It will require backporting the ceph-volume functionality that currently
> exists in ceph master back to luminous
Just checking on the upstream capability to create the LVs.
I see this in the URL you provided
> The creation of the logical volumes is not supported by ceph-ansible,
> ceph-volume only creates OSDs from existing logical volumes.
That is a documentation bug in ceph-ansible, it is no longer accurate
John could you please clarify if you are looking for bucket index creations or for LVs for OSDs?
In current master of both ceph-ansible and Ceph, we handle the creation of LVs from an input of devices *to create OSDs*
We do not handle anything for bucket indexes as mentioned in the linked BZ that ended in an ad-hoc ceph-ansible playbook
Alfredo, what should the changes to osd.yml look something like? Something like this:
*** Bug 1631729 has been marked as a duplicate of this bug. ***
@sagrawal before these changes, it was required that logical volumes be pre-created for ceph-ansible to pass them onto ceph-volume.
These changes allow one to simply use `devices` and the logical volumes will be created (see http://docs.ceph.com/ceph-ansible/master/osds/scenarios.html#lvm )
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.