]> 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>
Thu, 17 Oct 2019 19:49:15 +0000 (15:49 -0400)
commit2c03c6fcd33ba6b3a3daf73ecd011e87ab41c0a0
tree68b1704d99d9dc46111c3aa0d0ddfe5cd7bd0393
parentba141298d708082f0b4256136d4a96c63407c473
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>
tests/functional/lvm_setup.yml