Skip to content

ceph-volume: test with multiple NVME drives#25354

Merged
alfredodeza merged 14 commits intomasterfrom
wip-rm37409
Dec 10, 2018
Merged

ceph-volume: test with multiple NVME drives#25354
alfredodeza merged 14 commits intomasterfrom
wip-rm37409

Conversation

@andrewschoen
Copy link
Contributor

The batch mixed-type tests will now test with two nvme drives. This also changes our PE size to 1G for all vgs we create. This makes sizing vgs easier as everything reports as GBs and allows for creation of larger sized lvs than the default value of 1m for PE size.

Fixes: http://tracker.ceph.com/issues/37409

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume lvm all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume lvm all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume lvm all

1 similar comment
@alfredodeza
Copy link
Contributor

jenkins test ceph-volume lvm all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: bz#1650306
In the batch command use extents instead of size when creating lvs. This
gives a more precise size and avoids rounding errors.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This is to enable testing of the --block-db-size flag

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This allows us to create larger lvs than the default of 4m
and is easier to reason about when sizing the lvs as everythign is
reported as GBs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
The self.use_large_block_db property was never getting set because
the block in compute was never called as block_db_size was reset in
validate if it was 0. We needed to set self.use_large_block_db in
validate instead of compute.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
… size

We know with a mixed type scenario the device used for data will be used
at 100% capacity. This means we do not need to be explict when asking
for the size of the data lvs, which avoids rounding errors with very
small device sizes.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This will give us the size lvm should report because it takes into
account the 1GB physical extent size we set.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
We should show the user what the size of the device will be after lvm
creates a pv out of it. This way there isn't a discrepency between the
sizes that are reported to the user and what is actually created.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This will validate the devices on the size that lvm will allow to be
used, not the raw physical size of the device.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This increases the size of the HDD devices that virtualbox creates so
that they can pass the validator for filestore single type tests
locally.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This is so tests can continue to set sys_api['size'] and the code
can retrieve that as Device.lvm_size

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch all

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume batch centos7-bluestore-mixed_type

@andrewschoen
Copy link
Contributor Author

jenkins test ceph-volume lvm all

@LenzGr
Copy link
Contributor

LenzGr commented Jan 7, 2019

@andrewschoen have you noticed https://tracker.ceph.com/issues/37590 about this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants