]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-volume: implement the 'lvm batch' subcommand
authorAndrew Schoen <aschoen@redhat.com>
Fri, 3 Aug 2018 16:15:58 +0000 (11:15 -0500)
committerAlfredo Deza <alfredo@deza.pe>
Thu, 9 Aug 2018 13:41:58 +0000 (09:41 -0400)
commit6d431ec22d048324c2fd234de8685d79edb0ae7d
tree1dac30191a758ebe1ca7559b28b493849375643d
parent4d64dd468696ed98e4c63d07d9f39216c6a7d3cb
ceph-volume: implement the 'lvm batch' subcommand

This adds the action 'batch' to the ceph-volume module so that we can
run the new 'ceph-volume lvm batch' subcommand. A functional test is
also included.

If devices is defind and osd_scenario is lvm then the 'ceph-volume lvm
batch' command will be used to create the OSDs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
12 files changed:
library/ceph_volume.py
plugins/actions/validate.py
roles/ceph-osd/tasks/main.yml
roles/ceph-osd/tasks/scenarios/lvm-batch.yml [new file with mode: 0644]
roles/ceph-validate/tasks/main.yml
tests/conftest.py
tests/functional/centos/7/lvm-batch/Vagrantfile [new symlink]
tests/functional/centos/7/lvm-batch/ceph-override.json [new file with mode: 0644]
tests/functional/centos/7/lvm-batch/group_vars/all [new file with mode: 0644]
tests/functional/centos/7/lvm-batch/hosts [new file with mode: 0644]
tests/functional/centos/7/lvm-batch/vagrant_variables.yml [new file with mode: 0644]
tox.ini