Sébastien Han
3ddcc9af16
ceph_volume: try to get ride of the dummy container
...
If we run on a containerized deployment we pass an env variable which
contains the container image.
Signed-off-by: Sébastien Han <seb@redhat.com>
2018-10-10 16:08:41 -04:00
Sébastien Han
aa2c1b27e3
ceph-osd: ceph-volume container support
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2018-10-10 16:08:41 -04:00
Andrew Schoen
79473badfe
ceph-osd: adds dmcrypt to the lvm scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-24 14:10:08 +01:00
Andrew Schoen
6cbb56a3b6
ceph-osd: adds the crush_device_class param to the lvm scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-17 13:49:29 +01:00
Andrew Schoen
788c3f351a
ceph-osd: adds osd_objectstore to the name when using the ceph_volume module
...
This allows for easier debugging if verbosity is not set high enough.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-12-11 09:58:06 -06:00
Andrew Schoen
5e3d8dbf63
ceph-osd: use the cluster param with the ceph_volume module
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-12-11 09:58:06 -06:00
Andrew Schoen
423166f671
ceph-osd: use the new ceph_volume module for the lvm scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-12-11 09:58:06 -06:00
Andrew Schoen
3c604f1115
lvm: support --data as a raw device or partition in ceph-volume
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-11-15 09:36:17 -06:00
Andrew Schoen
04f02910a9
lvm: ensure the data_vg exists before using it
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-11-15 09:36:17 -06:00
Alfredo Deza
517a2b3feb
ceph-osd skip lvm creation if they are already in use
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-27 11:33:54 -04:00
Alfredo Deza
df05e63c10
ceph-osd use --cluster in ceph-volume calls
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-25 08:23:45 -04:00
Alfredo Deza
628d98a92c
ceph-osd add the CEPH_VOLUME_DEBUG env var to all ceph-volume commands
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-25 06:50:22 -04:00
Alfredo Deza
bbc3672253
ceph-osd: lvm support for bluestore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-25 06:46:39 -04:00
Andrew Schoen
fcba9d17f0
ceph-osd: add support for --journal vg/lv for lvm osds
...
This also updates the tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-30 15:55:16 -05:00
Andrew Schoen
758c31b1cd
ceph-osd: ceph-volume requires --data to be in vg/lv format
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-23 13:43:31 -05:00
Andrew Schoen
594d5e017a
ceph-osd: restructure lvm_volumes variable for more flexiblity
...
The lvm_volumes variable is now a list of dictionaries that represent
each OSD you'd like to deploy using ceph-volume. Each dictionary must
have the following keys: data, journal and data_vg. Each dictionary also
can optionaly provide a journal_vg key.
The 'data' key represents the lv name used for the OSD and the 'data_vg'
key is the vg name that the given lv resides on. The 'journal' key is
either an lv, device or partition. The 'journal_vg' key is optional and
must be the vg name for the journal lv if given. This key is mainly used
for purging of the journal lv if purge-cluster.yml is run.
For example:
lvm_volumes:
- data: data_lv1
journal: journal_lv1
data_vg: vg1
journal_vg: vg2
- data: data_lv2
journal: /dev/sdc
data_vg: vg1
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-23 10:14:14 -05:00
Andrew Schoen
61d63f8468
lvm-osds: make task name and files consistent
...
Removes capitilization and newlines to keep these files consistent in
style with the existing tasks.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:10 -05:00
Andrew Schoen
b93794bed4
adds a new 'lvm_osds' osd scenario
...
This scenario will create OSDs using ceph-volume and is only available
in ceph releases greater than Luminous.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00