]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agodoc/man/ceph-volume update batch command with new sizing flags 24209/head
Alfredo Deza [Thu, 20 Sep 2018 15:01:21 +0000 (11:01 -0400)]
doc/man/ceph-volume update batch command with new sizing flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 042c2cbe475023cd3c34102b710b93c60d92077e)

6 years agoceph-volume tests.devices update fixture to include new size flags for strategies
Alfredo Deza [Thu, 20 Sep 2018 14:54:12 +0000 (10:54 -0400)]
ceph-volume tests.devices update fixture to include new size flags for strategies

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5df56a09c7b445c36d2b9d2874962c40b681a65c)

6 years agoceph-volume lvm.batch.filestore consume --journal-size
Alfredo Deza [Wed, 19 Sep 2018 21:40:24 +0000 (17:40 -0400)]
ceph-volume lvm.batch.filestore consume --journal-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2378c282c78f49f4d911316a7bc85e49a3f8e7f9)

6 years agoceph-volume lvm.batch.bluestore consume --block-db-size
Alfredo Deza [Wed, 19 Sep 2018 21:39:59 +0000 (17:39 -0400)]
ceph-volume lvm.batch.bluestore consume --block-db-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7e52bc559b21b18a06ff1dffd764dbe8aefe96a2)

6 years agoceph-volume lvm.batch add sizing flags for journal and block.db LVs
Alfredo Deza [Wed, 19 Sep 2018 21:08:16 +0000 (17:08 -0400)]
ceph-volume lvm.batch add sizing flags for journal and block.db LVs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0a16dbd7a8f597cde6debbdcd968cdaf44f6ce47)

6 years agoMerge pull request #24082 from alfredodeza/luminous-rm35970
Andrew Schoen [Thu, 13 Sep 2018 18:01:28 +0000 (13:01 -0500)]
Merge pull request #24082 from alfredodeza/luminous-rm35970

luminous: ceph-volume fix zap not working with LVs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #24080 from alfredodeza/luminous-rm35913
Alfredo Deza [Thu, 13 Sep 2018 17:59:27 +0000 (13:59 -0400)]
Merge pull request #24080 from alfredodeza/luminous-rm35913

luminous: ceph-volume batch: allow --osds-per-device, default it to 1

Reviewed-by: Andrew Schoen aschoen@redhat.com
6 years agoceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore 24082/head
Alfredo Deza [Thu, 13 Sep 2018 14:03:06 +0000 (10:03 -0400)]
ceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 11858c74a1e704d63185f0ef4b6cd6aa02f17e52)

6 years agoceph-volume tests.functional use --destroy when zapping lvs in bluestore
Alfredo Deza [Thu, 13 Sep 2018 14:00:37 +0000 (10:00 -0400)]
ceph-volume tests.functional use --destroy when zapping lvs in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 87af815691a7f43d14067c24e308d60f39d58051)

6 years agoceph-volume lvm.zap use remove_pv only for physical devices
Alfredo Deza [Thu, 13 Sep 2018 13:34:54 +0000 (09:34 -0400)]
ceph-volume lvm.zap use remove_pv only for physical devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 036683fde799ab1cfad7d6192981515d6b3419cc)

6 years agoceph-volume tests.lvm.strategies initial filestore validation 24080/head
Alfredo Deza [Wed, 12 Sep 2018 13:44:32 +0000 (09:44 -0400)]
ceph-volume tests.lvm.strategies initial filestore validation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d1d68eade56ba3f898cd3bfd29aa1ee3bf5460ec)

6 years agoceph-volume lvm.tests conftest fixtures for custom vgs
Alfredo Deza [Tue, 11 Sep 2018 20:53:54 +0000 (16:53 -0400)]
ceph-volume lvm.tests conftest fixtures for custom vgs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9f14db432317c15b29b187d1e1a4bd3a729a7043)

6 years agoceph-volume tests.devices.lvm add bluestore strategy cases
Alfredo Deza [Tue, 11 Sep 2018 20:53:05 +0000 (16:53 -0400)]
ceph-volume tests.devices.lvm add bluestore strategy cases

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2ced05a2bc6ba01cf8946f43d5839890a28cab20)

6 years agoceph-volume tests verify strategy validators for minimum size
Alfredo Deza [Tue, 11 Sep 2018 16:57:21 +0000 (12:57 -0400)]
ceph-volume tests verify strategy validators for minimum size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9167f76c2a7107c82b781cbe5f51e24ee72e4db4)

6 years agoceph-volume lvm.batch.filestore allow osds-per-device
Alfredo Deza [Tue, 11 Sep 2018 16:12:48 +0000 (12:12 -0400)]
ceph-volume lvm.batch.filestore allow osds-per-device

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 66947537b542da82185ea4d79bfaedaae3117918)

6 years agoceph-volume lvm.batch.validators account for osds per device, include collocation
Alfredo Deza [Tue, 11 Sep 2018 16:11:01 +0000 (12:11 -0400)]
ceph-volume lvm.batch.validators account for osds per device, include collocation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 04a40eda0ac089c07654d9ab07958126f0fc8f84)

6 years agoceph-volume lvm.batch.bluestore allow osds-per-device with MixedType
Alfredo Deza [Mon, 10 Sep 2018 21:57:44 +0000 (17:57 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with MixedType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 028ef60df768c24a9573a044a451164dcb037677)

6 years agoceph-volume lvm.batch.bluestore allow osds-per-device with SingleType
Alfredo Deza [Mon, 10 Sep 2018 21:01:57 +0000 (17:01 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with SingleType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 8c0e707110e284626fe4161097a3121170a3f09d)

6 years agoceph-volume lvm.batch add --osds-per-device flag, defaulting to 1
Alfredo Deza [Mon, 10 Sep 2018 20:12:59 +0000 (16:12 -0400)]
ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit fe7c5e0129172a4b2a216e7c49e67d8ead570b39)

6 years agoMerge pull request #24075 from alfredodeza/luminous-rm34535
Andrew Schoen [Thu, 13 Sep 2018 12:51:31 +0000 (07:51 -0500)]
Merge pull request #24075 from alfredodeza/luminous-rm34535

luminous: ceph-volume batch carve out lvs for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.util verify Disk objects don't change state with divisions 24075/head
Alfredo Deza [Mon, 10 Sep 2018 16:28:57 +0000 (12:28 -0400)]
ceph-volume tests.util verify Disk objects don't change state with divisions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9ca526336221ea2ad32e7daf3e5e46b07291a1d8)

6 years agoceph-volume util.disk fix an issue where Disk objects would mutate on div operations
Alfredo Deza [Mon, 10 Sep 2018 16:18:49 +0000 (12:18 -0400)]
ceph-volume util.disk fix an issue where Disk objects would mutate on div operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7d1a3c74240e67621e993a304eaf566d4e2789d1)

6 years agoceph-volume util.prepare add a helper to get block.db sizes from ceph.conf
Alfredo Deza [Mon, 10 Sep 2018 16:09:50 +0000 (12:09 -0400)]
ceph-volume util.prepare add a helper to get block.db sizes from ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 860068ec5daca6d7087cf1ce0594a2fe36e91193)

6 years agoceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices
Alfredo Deza [Mon, 10 Sep 2018 16:09:15 +0000 (12:09 -0400)]
ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0eb0bdfc55d8ceb27cd12bc3a7fb807a7e65c788)

6 years ago-f ceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Mon, 10 Sep 2018 16:08:35 +0000 (12:08 -0400)]
-f  ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d117d66903fa740108c9948b499150b02523fdf4)

6 years agoceph-volume lvm.batch fix error reporting, Device objects aren't strings
Alfredo Deza [Fri, 7 Sep 2018 18:11:33 +0000 (14:11 -0400)]
ceph-volume lvm.batch fix error reporting, Device objects aren't strings

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 267a386cc270081b2cd284bf78bf94b52be113dc)

6 years agoceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Fri, 7 Sep 2018 18:06:13 +0000 (14:06 -0400)]
ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Reworks the bluestore validation and reporting to account for reusable
VGs from fast devices, and adds validation calls to ensure the new way
to calculate this process will work.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 27f47565a0d43ecee03dea4f6addc739e3e78655)

6 years agoceph-volume lvm.batch.filestore capture SizeAllocationErrors
Alfredo Deza [Fri, 7 Sep 2018 18:04:58 +0000 (14:04 -0400)]
ceph-volume lvm.batch.filestore capture SizeAllocationErrors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 71fcd35c3d44795f92b17e9aedb7ca868b3750d3)

6 years agoceph-volume lvm.batch make sure data devices don't have existing LVs on bluestore
Alfredo Deza [Thu, 6 Sep 2018 17:03:58 +0000 (13:03 -0400)]
ceph-volume lvm.batch make sure data devices don't have existing LVs on bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d2ea49a4e64820fc3cd95c2a6ca8869309638e00)

6 years agoMerge pull request #23216 from b-ranto/wip-mgr-prom-bp-luminous
Yuri Weinstein [Wed, 12 Sep 2018 21:56:35 +0000 (14:56 -0700)]
Merge pull request #23216 from b-ranto/wip-mgr-prom-bp-luminous

luminous: Sync the prometheus module

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
6 years agoMerge pull request #23461 from pdvian/wip-26838-luminous
Yuri Weinstein [Wed, 12 Sep 2018 21:54:37 +0000 (14:54 -0700)]
Merge pull request #23461 from pdvian/wip-26838-luminous

luminous: mgrc: enable disabling stats via mgr_stats_threshold

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23566 from pdvian/wip-26908-luminous
Yuri Weinstein [Wed, 12 Sep 2018 21:53:52 +0000 (14:53 -0700)]
Merge pull request #23566 from pdvian/wip-26908-luminous

luminous: kv/KeyValueDB: return const char* from MergeOperator::name()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23579 from VictorDenisov/backport_26934
Yuri Weinstein [Wed, 12 Sep 2018 21:53:19 +0000 (14:53 -0700)]
Merge pull request #23579 from VictorDenisov/backport_26934

luminous: osd/OSDMap: fix apply upmap segfault

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #24039 from ceph/wip-s3a-fix-mirror
vasukulkarni [Wed, 12 Sep 2018 18:51:46 +0000 (11:51 -0700)]
Merge pull request #24039 from ceph/wip-s3a-fix-mirror

luminous: qa/tasks:  s3a fix mirror

6 years agoMerge pull request #23211 from neha-ojha/wip-24988-luminous
Yuri Weinstein [Wed, 12 Sep 2018 15:24:09 +0000 (08:24 -0700)]
Merge pull request #23211 from neha-ojha/wip-24988-luminous

luminous: osd: Limit pg log length during recovery/backfill so that we don't run out of memory

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23761 from k0ste/luminous_backports3
Nathan Cutler [Tue, 11 Sep 2018 20:08:13 +0000 (22:08 +0200)]
Merge pull request #23761 from k0ste/luminous_backports3

luminous: docs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter'

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoqa/tasks: update mirror link for maven, the original mirror no longer exists 24039/head
Vasu Kulkarni [Thu, 6 Sep 2018 00:08:24 +0000 (17:08 -0700)]
qa/tasks: update mirror link for maven, the original mirror no longer exists

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
(cherry picked from commit 13e100259e3658fcfd2123474cb8ea8498ac3fb6)

6 years agoMerge pull request #23621 from joscollin/wip-26917-luminous
Nathan Cutler [Tue, 11 Sep 2018 16:26:09 +0000 (18:26 +0200)]
Merge pull request #23621 from joscollin/wip-26917-luminous

luminous: doc: Fix broken urls

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23967 from alfredodeza/luminous-rm35535
Andrew Schoen [Mon, 10 Sep 2018 14:29:22 +0000 (09:29 -0500)]
Merge pull request #23967 from alfredodeza/luminous-rm35535

luminous: ceph-volume: batch tests for mixed-type of devices

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoosd/PrimaryLogPG: avoid dereferencing invalid complete_to 23211/head
xie xingguo [Mon, 3 Sep 2018 07:37:36 +0000 (15:37 +0800)]
osd/PrimaryLogPG: avoid dereferencing invalid complete_to

For the auto-repair (EIO caused) case, we will not reinitialize
**complete_to** (because last_complete is equal to last_update!)
and hence there is chance that **complete_to** should aleady
point to **log.end()** before we call recover_got.

We could simply drop it here as we (already) logged the **complete_to**
iterator change in a more compatible way a few lines below.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 69a2cc35840939436da09691ca62476d7f599de4)

6 years agoceph-volume lvm.batch use 'ceph' as the cluster name with filestore 23967/head
Alfredo Deza [Thu, 6 Sep 2018 19:19:01 +0000 (15:19 -0400)]
ceph-volume lvm.batch use 'ceph' as the cluster name with filestore

Custom cluster names are currently broken on ceph-volume, should get
addressed with http://tracker.ceph.com/issues/27210 which is out of
scope for these changes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c1481799a254eceb05258313aafd532e062ea0bc)

6 years agoceph-volume tests/functional update filestore xenial test vars
Alfredo Deza [Thu, 6 Sep 2018 15:23:30 +0000 (11:23 -0400)]
ceph-volume tests/functional update filestore xenial test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a096a016ccd0acc86ce816aba8ce95f6e3b68c11)

6 years agoceph-volume tests/functional update bluestore xenial test vars
Alfredo Deza [Thu, 6 Sep 2018 15:23:20 +0000 (11:23 -0400)]
ceph-volume tests/functional update bluestore xenial test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 89e52dd19792072919bef6ba2f2ab50d7b0ff4ed)

6 years agoceph-volume tests/functional update filestore centos7 test vars
Alfredo Deza [Thu, 6 Sep 2018 15:18:20 +0000 (11:18 -0400)]
ceph-volume tests/functional update filestore centos7 test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a5ec54207a02c4bb85dc8226890def18da45e2ff)

6 years agoceph-volume tests/functional update bluestore centos7 test vars
Alfredo Deza [Thu, 6 Sep 2018 15:18:05 +0000 (11:18 -0400)]
ceph-volume tests/functional update bluestore centos7 test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2549d5737283b39ecf5b0af98c73ffeb18033c36)

6 years agoceph-volume lvm.api use double -f flags when calling pvremove
Alfredo Deza [Thu, 6 Sep 2018 14:55:31 +0000 (10:55 -0400)]
ceph-volume lvm.api use double -f flags when calling pvremove

Fairly destructive, just like everything else when zapping a device.
This is required in the case of double UUIDs detected, something that
surfaced when testing with a loop device to create an nvme (the loop
device ends up with the same UUID as the nvme).

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c1cbc407c095e0bc3e25a8ff1519b4909ec519cc)

6 years agoceph-volume tests/functional remove duplicate test playbooks
Alfredo Deza [Thu, 6 Sep 2018 14:26:05 +0000 (10:26 -0400)]
ceph-volume tests/functional remove duplicate test playbooks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a008fe1385e4440f510eab97470a5d4e56a69402)

6 years agoceph-volume tests/functional setup playbook for nvme devices
Alfredo Deza [Thu, 6 Sep 2018 13:38:00 +0000 (09:38 -0400)]
ceph-volume tests/functional setup playbook for nvme devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 71db509df0c4a14598010568f8bb078f6b2841ab)

6 years agoceph-volume tests/functional single (test) playbook to zap and redeploy batch operations
Alfredo Deza [Thu, 6 Sep 2018 13:34:11 +0000 (09:34 -0400)]
ceph-volume tests/functional single (test) playbook to zap and redeploy batch operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 23330c0107a9f9ee436338c112b1852fd36e34a3)

6 years agoceph-volume tests/functional create a noop playbook to allow symlinking always to...
Alfredo Deza [Thu, 6 Sep 2018 13:33:21 +0000 (09:33 -0400)]
ceph-volume tests/functional create a noop playbook to allow symlinking always to setup.yml

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 860e66083fe769714a10076fa101b94507e47169)

6 years agoceph-volume tests/functional add mixed-type scenarios to tox.ini
Alfredo Deza [Thu, 6 Sep 2018 13:32:00 +0000 (09:32 -0400)]
ceph-volume tests/functional add mixed-type scenarios to tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0d5b90bb1fbf30c6e33dbf7e10a3d0ba053297ae)

6 years agoceph-volume tests/functional add CentOS7 bluestore mixed-type scenarios
Alfredo Deza [Wed, 5 Sep 2018 12:17:54 +0000 (08:17 -0400)]
ceph-volume tests/functional add CentOS7 bluestore mixed-type scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 799ce4508d9ed166ef6447daa21e0564262fbafe)

6 years agoceph-volume tests/functional add CentOS7 filestore mixed-type scenarios
Alfredo Deza [Wed, 5 Sep 2018 12:17:38 +0000 (08:17 -0400)]
ceph-volume tests/functional add CentOS7 filestore mixed-type scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 89bbcff659eed8f2cfa26fb93a0c12c7ff83e83b)

6 years agoMerge pull request #23913 from yuriw/wip-35541-luminous
Nathan Cutler [Wed, 5 Sep 2018 18:28:17 +0000 (20:28 +0200)]
Merge pull request #23913 from yuriw/wip-35541-luminous

qa/tests:  added v12.2.8 to the mix

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoqa/tests: added v12.2.8 to the mix 23913/head
Yuri Weinstein [Tue, 4 Sep 2018 16:05:42 +0000 (09:05 -0700)]
qa/tests:  added v12.2.8 to the mix

Fixes: http://tracker.ceph.com/issues/35541
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoosd/PrimaryLogPG.cc: limit trimming at can_rollback_to
Neha Ojha [Thu, 16 Aug 2018 18:48:19 +0000 (11:48 -0700)]
osd/PrimaryLogPG.cc: limit trimming at can_rollback_to

This change is motivated by the failures seen in the multimds suite,
where we hit assert(s <= can_rollback_to), while trimming the log in ec
pools.

This is due to the fact that we had removed limits on the trim_to value to
address https://tracker.ceph.com/issues/23979.

But, seems that this could be dangerous for ec pools. So, keep the
can_rollback_to limit, while calculating the trim_to value.

Fixes: http://tracker.ceph.com/issues/21416
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 4b5c6b88d444e2173e716fe4890717873c8dc8e5)

6 years ago12.2.8 v12.2.8
Jenkins Build Slave User [Thu, 30 Aug 2018 17:24:39 +0000 (17:24 +0000)]
12.2.8

6 years agoMerge pull request #23825 from alfredodeza/luminous-rm34309
Andrew Schoen [Thu, 30 Aug 2018 14:52:41 +0000 (09:52 -0500)]
Merge pull request #23825 from alfredodeza/luminous-rm34309

luminous: ceph-volume: update batch documentation to explain filestore strategies

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agodoc/man/ceph-volume uncomment flags that are now fully supported in batch 23825/head
Alfredo Deza [Tue, 28 Aug 2018 20:34:25 +0000 (13:34 -0700)]
doc/man/ceph-volume uncomment flags that are now fully supported in batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f8db9faf9836328b920133c5c9c47a6ffacea443)

6 years agodoc/ceph-volume add filestore docs for batch
Alfredo Deza [Tue, 28 Aug 2018 20:32:19 +0000 (13:32 -0700)]
doc/ceph-volume add filestore docs for batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 188f4ae80fefcdd8d95d719a88d8422b2c120f0c)

6 years agodoc/ceph-volume uncomment section of newly supported batch operations
Alfredo Deza [Tue, 28 Aug 2018 20:22:20 +0000 (13:22 -0700)]
doc/ceph-volume uncomment section of newly supported batch operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 02652343c8501a144c5ae2c012f335e8d0f236cf)

6 years agoMerge pull request #23813 from alfredodeza/luminous-rm34311
Alfredo Deza [Wed, 29 Aug 2018 22:23:28 +0000 (15:23 -0700)]
Merge pull request #23813 from alfredodeza/luminous-rm34311

luminous: ceph-volume: tests.functional inherit SSH_ARGS from ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional use Debian ansible os family in deploy.yml 23813/head
Alfredo Deza [Wed, 29 Aug 2018 17:32:55 +0000 (10:32 -0700)]
ceph-volume tests.functional use Debian ansible os family in deploy.yml

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7a076f5e4f58bc3b346cde306ba949aabbb9b743)

6 years agoceph-volume lvm.batch use the abspath attribute for Device objects in bluestore
Alfredo Deza [Wed, 29 Aug 2018 16:56:21 +0000 (09:56 -0700)]
ceph-volume lvm.batch use the abspath attribute for Device objects in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b2a62c2b13d3e079f8020865b7c41f0f6c4b5d71)

6 years agoceph-volume lvm.batch remove usage of non-existent method
Alfredo Deza [Wed, 29 Aug 2018 16:55:31 +0000 (09:55 -0700)]
ceph-volume lvm.batch remove usage of non-existent method

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 6f3094449f46d10260c0a505b39571c35235292e)

6 years agoceph-volume tests.functional inherit SSH_ARGS from ansible with synchronize module
Alfredo Deza [Tue, 28 Aug 2018 22:34:58 +0000 (15:34 -0700)]
ceph-volume tests.functional inherit SSH_ARGS from ansible with synchronize module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 8e6269336f6e177f415a51e9fedd36244014215a)

6 years agoMerge pull request #23811 from alfredodeza/luminous-rm34310
Andrew Schoen [Wed, 29 Aug 2018 19:45:05 +0000 (14:45 -0500)]
Merge pull request #23811 from alfredodeza/luminous-rm34310

luminous: ceph-volume lvm.batch remove non-existent sys_api property

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume lvm.batch remove non-existent sys_api property 23811/head
Alfredo Deza [Tue, 28 Aug 2018 21:28:08 +0000 (14:28 -0700)]
ceph-volume lvm.batch remove non-existent sys_api property

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a76fccba5ff0058d0dd1ba47f48b34dba27dd51f)

6 years agoMerge pull request #23809 from alfredodeza/luminous-ceph-volume-testing
Andrew Schoen [Wed, 29 Aug 2018 19:28:03 +0000 (14:28 -0500)]
Merge pull request #23809 from alfredodeza/luminous-ceph-volume-testing

luminous: ceph-volume: run tests without waiting on ceph repos

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: retry when 'vagrant up' fails 23809/head
Andrew Schoen [Wed, 22 Aug 2018 20:37:46 +0000 (16:37 -0400)]
ceph-volume: retry when 'vagrant up' fails

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 2c88e70877dcc2a04a69be4ab9c4834d5ced6198)

6 years agoceph-volume: run tests without waiting on ceph repos
Andrew Schoen [Wed, 22 Aug 2018 18:40:41 +0000 (14:40 -0400)]
ceph-volume: run tests without waiting on ceph repos

This provides a new playbook that installs ceph on all nodes and
generates the ceph config. Then it will rsync ceph-volume from the
control node, or jenkins slave, to all testing vms before completing
the deployment. This means we can run tests on PRs without waiting
for repos to be built for the branch in the PR.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 6d712ef959f7ea5385bc6bf9b9ade60662940369)

6 years agoMerge pull request #23808 from ceph/backport-luminous-23731
Alfredo Deza [Wed, 29 Aug 2018 19:09:51 +0000 (12:09 -0700)]
Merge pull request #23808 from ceph/backport-luminous-23731

luminous: ceph-volume expand auto engine for multiple devices on filestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: reset sys_info.devices in the device_info fixture 23808/head
Andrew Schoen [Fri, 24 Aug 2018 19:38:14 +0000 (15:38 -0400)]
ceph-volume: reset sys_info.devices in the device_info fixture

In certain environments it was noticed that when running the full test
suite sys_info.devices would get populated correctly from previous
tests. This caused the tests to fail because they did not have the
expected mock data.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit cd63fb0df11c43b429c3025a6be2b8bba10d6e8d)

6 years agoceph-volume tests check uuid_name when creating an lv
Alfredo Deza [Thu, 23 Aug 2018 19:46:43 +0000 (15:46 -0400)]
ceph-volume tests check uuid_name when creating an lv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 494ece30994c9d80c9f4afc72213515f8ed63698)

6 years agoceph-volume tests add verifications for create_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:40:34 +0000 (15:40 -0400)]
ceph-volume tests add verifications for create_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 997d922bbd68f59ebbacc3cef2ca3231f44339eb)

6 years agoceph-volume tests add verifications for extend_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:27:42 +0000 (15:27 -0400)]
ceph-volume tests add verifications for extend_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit fb1e1c61bd5944ad1fd93e86385d26e5b0af38cb)

6 years agoceph-volume lvm.batch update module to use Device object on strategy detection
Alfredo Deza [Thu, 23 Aug 2018 16:55:30 +0000 (12:55 -0400)]
ceph-volume lvm.batch update module to use Device object on strategy detection

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ebbb571d2f62dd6c6a38ced51a838ad4a099b817)

6 years agoceph-volume lvm.batch.filestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:56:09 +0000 (10:56 -0400)]
ceph-volume lvm.batch.filestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 369bb740a0c52b075a81fb26b368ddf936319e24)

6 years agoceph-volume lvm.batch.bluestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:55:56 +0000 (10:55 -0400)]
ceph-volume lvm.batch.bluestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c6f4e107a1660dfee194c4344532bd9560ec7b37)

6 years agoceph-volume tests.util verify ValidDevice validator
Alfredo Deza [Thu, 23 Aug 2018 14:31:16 +0000 (10:31 -0400)]
ceph-volume tests.util verify ValidDevice validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 649903bdabe3ea04c499c3dbe6d1e9e7b8f82a23)

6 years agoceph-volume util.templates allow more space for long paths
Alfredo Deza [Thu, 23 Aug 2018 13:54:09 +0000 (09:54 -0400)]
ceph-volume util.templates allow more space for long paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 57f76e36abffee0f8f7d81b7d16e72de148a065c)

6 years agoceph-volume lvm.strategies create mixed type filestore
Alfredo Deza [Thu, 23 Aug 2018 13:53:37 +0000 (09:53 -0400)]
ceph-volume lvm.strategies create mixed type filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e4902ced1bb26a7f55639c747e6aed7a9fd97b05)

6 years agoceph-volume lvm.batch add new strategy validators for LVM devices
Alfredo Deza [Thu, 23 Aug 2018 13:14:08 +0000 (09:14 -0400)]
ceph-volume lvm.batch add new strategy validators for LVM devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f67732cd9fb11830cc134deaa3ec7ebc107fa1fe)

6 years agoceph-volume util add a new Device class validator for args
Alfredo Deza [Thu, 23 Aug 2018 13:13:28 +0000 (09:13 -0400)]
ceph-volume util add a new Device class validator for args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5be2794b7fe42e3a4505ec9f406dd5ae46595bd9)

6 years agoceph-volume lvm.batch use new Device class and validator
Alfredo Deza [Thu, 23 Aug 2018 13:12:41 +0000 (09:12 -0400)]
ceph-volume lvm.batch use new Device class and validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d74ce8e54da4878c01a68adf598685045fafba72)

6 years agoceph-volume api.lvm new utility to extend a volume group for one or more devices
Alfredo Deza [Thu, 23 Aug 2018 12:35:02 +0000 (08:35 -0400)]
ceph-volume api.lvm new utility to extend a volume group for one or more devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 21df60294977f4dd2dab218df77a04b326fd8b19)

6 years agoceph-volume api.lvm allow uuid suffixes in vg/lv creation
Alfredo Deza [Thu, 23 Aug 2018 12:34:28 +0000 (08:34 -0400)]
ceph-volume api.lvm allow uuid suffixes in vg/lv creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 028316414227103457d96ba3ab88fbebeb27c1dc)

6 years agoceph-volume: allow `lvm zap` to zap many devices at once
Andrew Schoen [Tue, 21 Aug 2018 18:07:55 +0000 (14:07 -0400)]
ceph-volume: allow `lvm zap` to zap many devices at once

Supports passing many devices, partitions or lvs to
ceph-volume lvm zap.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit d1b929395b4db3c021d3e6df02e020d72962ab3d)

6 years agoceph-volume devices.lvm zap should skip when lv_uuid doesn't exist
Alfredo Deza [Tue, 21 Aug 2018 14:58:44 +0000 (10:58 -0400)]
ceph-volume devices.lvm zap should skip when lv_uuid doesn't exist

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 447be1c9cc3a8f83687f8c0d2378dfd175e03959)

6 years agoceph-volume: device.Device should ignore pvs with no vg_name
Andrew Schoen [Tue, 21 Aug 2018 17:13:08 +0000 (13:13 -0400)]
ceph-volume: device.Device should ignore pvs with no vg_name

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 9b4f9471ed258bc5a06ec48e1d2ebd56f02a68cd)

6 years agoceph-volume: tests for util.device.Device
Andrew Schoen [Tue, 21 Aug 2018 15:15:33 +0000 (11:15 -0400)]
ceph-volume: tests for util.device.Device

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 947266e16ae3a5e9bdaa7fbf326a0e1b96f16e0f)

6 years agoceph-volume: adds sys_info constant to hold system information
Andrew Schoen [Thu, 16 Aug 2018 20:10:30 +0000 (15:10 -0500)]
ceph-volume: adds sys_info constant to hold system information

This is only currently used to hold information about devices
from /sys/block in the util.Device class in the sys_api property.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 035f1a4092bba44cce95cabc1e5a12e3938e1150)

6 years agoceph-volume util create a device module for identifying devices
Alfredo Deza [Wed, 15 Aug 2018 19:49:29 +0000 (15:49 -0400)]
ceph-volume util create a device module for identifying devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 4f955a7e86404a879ae2bdfb696bdcefa51cbdff)

6 years agoMerge pull request #23805 from ceph/backport-luminous-23532
Alfredo Deza [Wed, 29 Aug 2018 19:00:33 +0000 (12:00 -0700)]
Merge pull request #23805 from ceph/backport-luminous-23532

luminous: ceph-volume: expand auto engine for single type devices on filestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.zap loop over all vgs from a pv to destroy them 23805/head
Alfredo Deza [Tue, 14 Aug 2018 15:59:25 +0000 (11:59 -0400)]
ceph-volume lvm.zap loop over all vgs from a pv to destroy them

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9066792764edcab1d0c2b3178d6f8f9784e30f85)

6 years agoceph-volume tests.util ensure dmcrypt_close will skip non-existent paths
Alfredo Deza [Mon, 13 Aug 2018 19:42:26 +0000 (15:42 -0400)]
ceph-volume tests.util ensure dmcrypt_close will skip non-existent paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7a5ee22437a05fc809bffde97c8e3401f7ba564d)

6 years agoceph-volume util.encryption if crypt path does not exist, skip it
Alfredo Deza [Mon, 13 Aug 2018 19:41:46 +0000 (15:41 -0400)]
ceph-volume util.encryption if crypt path does not exist, skip it

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 635f8e9e2ecdad5c54a599029bdad74e88fad600)

6 years agoceph-volume lvm.zap unmount lvs and close dmcrypt on partitions
Alfredo Deza [Mon, 13 Aug 2018 16:12:46 +0000 (12:12 -0400)]
ceph-volume lvm.zap unmount lvs and close dmcrypt on partitions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 549109c1de2b43f31747828cb5703f9db221dd1a)

6 years agoceph-volume tests.functional batch add filestore sceanrios to tox.ini
Alfredo Deza [Mon, 13 Aug 2018 11:42:35 +0000 (07:42 -0400)]
ceph-volume tests.functional batch add filestore sceanrios to tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ac00e722551e759fc3c1c157ddc89933fb3ac275)

6 years agoceph-volume lvm.zap iterate over multiple lvs on a pv
Alfredo Deza [Sat, 11 Aug 2018 12:58:20 +0000 (08:58 -0400)]
ceph-volume lvm.zap iterate over multiple lvs on a pv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 21d4f4afcefb6b2510ae67d1ca5e3bf1d510cdfb)