]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: fix the size on the second data LV
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 17 Oct 2019 18:28:45 +0000 (14:28 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 18 Oct 2019 21:26:18 +0000 (17:26 -0400)
commitf8b84ce108fedba3aaf6ab74490c88719c7ef91b
treeb4687cdd2c6cffda5b9ca17658767e46078d1ecc
parent9bc7f8a7d788b7d31f38169092d57a87b17e6fed
tests: fix the size on the second data LV

The commit replaces the pv/vg/lv commands used with the ansible command
module by the lvg and lvol modules.
This also fixes the size of the second data LV because we were only using
50% of the remaining space instead of 100%.

With a 50G device, the result was:
  - data-lv1 was 25G
  - data-lv2 was 12.5G
Instead of:
  - data-lv1 was 25G
  - data-lv2 was 25G

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 2c03c6fcd33ba6b3a3daf73ecd011e87ab41c0a0)
tests/functional/lvm_setup.yml