]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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)

6 years agoceph-volume tests.functional add xenial batch tests
Alfredo Deza [Thu, 9 Aug 2018 20:58:16 +0000 (16:58 -0400)]
ceph-volume tests.functional add xenial batch tests

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

6 years agoceph-volume tests.functional add bluestore,filestore playbooks
Alfredo Deza [Thu, 9 Aug 2018 20:49:43 +0000 (16:49 -0400)]
ceph-volume tests.functional add bluestore,filestore playbooks

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

6 years agoceph-volume tests.functional add centos7 filestore batch tests
Alfredo Deza [Thu, 9 Aug 2018 19:35:36 +0000 (15:35 -0400)]
ceph-volume tests.functional add centos7 filestore batch tests

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

6 years agoceph-volume tests.functional add centos7 bluestore batch tests
Alfredo Deza [Thu, 9 Aug 2018 19:19:56 +0000 (15:19 -0400)]
ceph-volume tests.functional add centos7 bluestore batch tests

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

6 years agoceph-volume tests.util assert new as_int,as_float helper methods
Alfredo Deza [Thu, 9 Aug 2018 18:29:06 +0000 (14:29 -0400)]
ceph-volume tests.util assert new as_int,as_float helper methods

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

6 years agoceph-volume tests verify new utility for journal sizes
Alfredo Deza [Thu, 9 Aug 2018 18:25:22 +0000 (14:25 -0400)]
ceph-volume tests verify new utility for journal sizes

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

6 years agoceph-volume util.prepare add a helper to get journal sizes from ceph.conf
Alfredo Deza [Thu, 9 Aug 2018 18:24:45 +0000 (14:24 -0400)]
ceph-volume util.prepare add a helper to get journal sizes from ceph.conf

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

6 years agoceph-volume util.disk add as_int and as_float helpers for Size objects
Alfredo Deza [Thu, 9 Aug 2018 18:22:55 +0000 (14:22 -0400)]
ceph-volume util.disk add as_int and as_float helpers for Size objects

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

6 years agoceph-volume lvm.strategies fix a bug where incorrect template was used
Alfredo Deza [Wed, 8 Aug 2018 19:40:24 +0000 (15:40 -0400)]
ceph-volume lvm.strategies fix a bug where incorrect template was used

The template wouldn't render the total OSDs and the removed section was
repeated

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

6 years agoceph-volume lvm.strategies use get_journal_size helper for filestore
Alfredo Deza [Thu, 9 Aug 2018 19:02:01 +0000 (15:02 -0400)]
ceph-volume lvm.strategies use get_journal_size helper for filestore

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

6 years agoceph-volume lvm.strategies update filestore use of Size objects
Alfredo Deza [Wed, 8 Aug 2018 19:37:42 +0000 (15:37 -0400)]
ceph-volume lvm.strategies update filestore use of Size objects

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

6 years agoceph-volume lvm.strategies update bluestore use of Size
Alfredo Deza [Wed, 8 Aug 2018 19:34:38 +0000 (15:34 -0400)]
ceph-volume lvm.strategies update bluestore use of Size

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

6 years agoceph-volume lvm.strategies create single type filestore
Alfredo Deza [Wed, 8 Aug 2018 16:58:16 +0000 (12:58 -0400)]
ceph-volume lvm.strategies create single type filestore

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

6 years agoceph-volume tests.util verify that Size object don't change state
Alfredo Deza [Wed, 8 Aug 2018 16:57:32 +0000 (12:57 -0400)]
ceph-volume tests.util verify that Size object don't change state

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

6 years agoceph-volume tests.util update to reflect Size object changes
Alfredo Deza [Wed, 8 Aug 2018 16:55:16 +0000 (12:55 -0400)]
ceph-volume tests.util update to reflect Size object changes

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

6 years agoceph-volume util.disk do not modify self instance of Size objects
Alfredo Deza [Wed, 8 Aug 2018 16:54:23 +0000 (12:54 -0400)]
ceph-volume util.disk do not modify self instance of Size objects

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

6 years agoceph-volume lvm.strategies use new template location in bluestore
Alfredo Deza [Wed, 8 Aug 2018 16:20:08 +0000 (12:20 -0400)]
ceph-volume lvm.strategies use new template location in bluestore

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

6 years agoceph-volume util create a templates module
Alfredo Deza [Wed, 8 Aug 2018 16:19:31 +0000 (12:19 -0400)]
ceph-volume util create a templates module

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

6 years agodoc/rados update journal size defaults to 5GB
Alfredo Deza [Tue, 7 Aug 2018 14:34:54 +0000 (10:34 -0400)]
doc/rados update journal size defaults to 5GB

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

Conflicts:
doc/rados/configuration/osd-config-ref.rst

6 years agoMerge pull request #23783 from ceph/backport-luminous-23489
Alfredo Deza [Wed, 29 Aug 2018 18:27:49 +0000 (11:27 -0700)]
Merge pull request #23783 from ceph/backport-luminous-23489

luminous: ceph-volume tests/functional add mgrs daemons to lvm tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23781 from ceph/backport-luminous-23448
Alfredo Deza [Wed, 29 Aug 2018 18:24:23 +0000 (11:24 -0700)]
Merge pull request #23781 from ceph/backport-luminous-23448

luminous: ceph-volume: `lvm batch` allow extra flags (like dmcrypt) for bluestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23776 from dillaman/wip-26927-luminous
Yuri Weinstein [Tue, 28 Aug 2018 20:57:52 +0000 (13:57 -0700)]
Merge pull request #23776 from dillaman/wip-26927-luminous

luminous: rbd: fix issues in IEC unit handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoceph-volume tests/functional add mgrs daemons to lvm tests 23783/head
Alfredo Deza [Wed, 8 Aug 2018 12:29:03 +0000 (08:29 -0400)]
ceph-volume tests/functional add mgrs daemons to lvm tests

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

6 years agoceph-volume lvm.batch move import statement to the top 23781/head
Alfredo Deza [Mon, 6 Aug 2018 15:59:05 +0000 (11:59 -0400)]
ceph-volume lvm.batch move import statement to the top

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

6 years agoceph-volume lvm.batch allow extra flags for bluestore
Alfredo Deza [Mon, 6 Aug 2018 15:58:31 +0000 (11:58 -0400)]
ceph-volume lvm.batch allow extra flags for bluestore

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

6 years agoMerge pull request #23778 from ceph/backport-luminous-23075
Alfredo Deza [Tue, 28 Aug 2018 16:41:59 +0000 (09:41 -0700)]
Merge pull request #23778 from ceph/backport-luminous-23075

luminous: ceph-volume batch command

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.api update lvm sizing tests 23778/head
Alfredo Deza [Fri, 13 Jul 2018 12:57:13 +0000 (08:57 -0400)]
ceph-volume tests.api update lvm sizing tests

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

6 years agoceph-volume api.lvm convert and use extents for sizing calculations
Alfredo Deza [Fri, 13 Jul 2018 12:55:28 +0000 (08:55 -0400)]
ceph-volume api.lvm convert and use extents for sizing calculations

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

6 years agoceph-volume util move the str_to_int utility out of lvm
Alfredo Deza [Fri, 13 Jul 2018 12:54:33 +0000 (08:54 -0400)]
ceph-volume util move the str_to_int utility out of lvm

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

Conflicts:
src/ceph-volume/ceph_volume/util/__init__.py

6 years agoceph-volume lvm.batch update help docs from auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:11:29 +0000 (16:11 -0400)]
ceph-volume lvm.batch update help docs from auto to batch

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

6 years agoceph-volume lvm.main rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:47 +0000 (16:10 -0400)]
ceph-volume lvm.main rename auto to batch

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

6 years agoceph-volume lvm rename auto to batch
Alfredo Deza [Thu, 12 Jul 2018 20:10:28 +0000 (16:10 -0400)]
ceph-volume lvm rename auto to batch

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

6 years agoceph-volume lvm.strategies add stubs for filestore
Alfredo Deza [Thu, 12 Jul 2018 19:46:05 +0000 (15:46 -0400)]
ceph-volume lvm.strategies add stubs for filestore

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

6 years agoceph-volume lvm.strategies add bluestore with validators
Alfredo Deza [Thu, 12 Jul 2018 19:45:20 +0000 (15:45 -0400)]
ceph-volume lvm.strategies add bluestore with validators

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

6 years agoceph-volume lvm.auto create a strategies module
Alfredo Deza [Thu, 5 Jul 2018 17:46:46 +0000 (13:46 -0400)]
ceph-volume lvm.auto create a strategies module

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

6 years agoceph-volume lvm.prepare do not pass the name when creating a vg
Alfredo Deza [Thu, 5 Jul 2018 15:40:28 +0000 (11:40 -0400)]
ceph-volume lvm.prepare do not pass the name when creating a vg

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

6 years agoceph-volume api.lvm create_vg should optionally name vgs on the fly
Alfredo Deza [Thu, 5 Jul 2018 15:39:53 +0000 (11:39 -0400)]
ceph-volume api.lvm create_vg should optionally name vgs on the fly

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

6 years agoceph-volume lvm.main make auto a subcommand
Alfredo Deza [Thu, 5 Jul 2018 12:29:13 +0000 (08:29 -0400)]
ceph-volume lvm.main make auto a subcommand

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

6 years agoceph-volume lvm.auto add --yes prompt to execute strategies
Alfredo Deza [Thu, 5 Jul 2018 12:28:39 +0000 (08:28 -0400)]
ceph-volume lvm.auto add --yes prompt to execute strategies

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

6 years agoceph-volume lvm.auto help menu and dynamic strategy loading
Alfredo Deza [Fri, 29 Jun 2018 15:53:27 +0000 (11:53 -0400)]
ceph-volume lvm.auto help menu and dynamic strategy loading

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

6 years agoceph-volume lvm.auto move auto as a sub-command of lvm
Alfredo Deza [Fri, 29 Jun 2018 15:33:46 +0000 (11:33 -0400)]
ceph-volume lvm.auto move auto as a sub-command of lvm

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

6 years agoceph-volume tests verify Size() behavior
Alfredo Deza [Thu, 28 Jun 2018 18:12:07 +0000 (14:12 -0400)]
ceph-volume tests verify Size() behavior

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

6 years agoceph-volume util.disk capture real size when inspecting disks
Alfredo Deza [Wed, 27 Jun 2018 17:39:35 +0000 (13:39 -0400)]
ceph-volume util.disk capture real size when inspecting disks

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

6 years agoceph-volume util.disk create a Size class for sizing representations and calculations
Alfredo Deza [Wed, 27 Jun 2018 17:37:51 +0000 (13:37 -0400)]
ceph-volume util.disk create a Size class for sizing representations and calculations

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

6 years agoceph-volume main remove auto as a top-level command
Alfredo Deza [Tue, 26 Jun 2018 14:43:19 +0000 (10:43 -0400)]
ceph-volume main remove auto as a top-level command

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

6 years agoceph-volume api.lvm extract sizing method into its own utility
Alfredo Deza [Tue, 26 Jun 2018 13:35:06 +0000 (09:35 -0400)]
ceph-volume api.lvm extract sizing method into its own utility

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

6 years agoqa/workunits/rbd/cli_generic: update unit formatting 23776/head
Jason Dillaman [Fri, 20 Apr 2018 15:26:48 +0000 (11:26 -0400)]
qa/workunits/rbd/cli_generic: update unit formatting

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3e8b74fb3d1b3071decc14f243b7dbe03483ed73)

Conflicts:
qa/workunits/rbd/cli_generic.sh: trivial resolution

6 years agotest/cli-integration/rbd: updated unit formatting
Jason Dillaman [Fri, 20 Apr 2018 15:19:46 +0000 (11:19 -0400)]
test/cli-integration/rbd: updated unit formatting

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 0acc0a8a85b613e37d24e6ada1f607872cf4c6ef)

Conflicts:
src/test/cli-integration/rbd/formatted-output.t: trivial resolution

6 years agorbd: correct object size formatting
Jason Dillaman [Fri, 20 Apr 2018 15:00:37 +0000 (11:00 -0400)]
rbd: correct object size formatting

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit bdcf9d9a2c8c0b8ce68beef025401ef0dd179192)

6 years agoMerge pull request #23757 from ceph/backport-luminous-23443
Alfredo Deza [Mon, 27 Aug 2018 23:02:11 +0000 (16:02 -0700)]
Merge pull request #23757 from ceph/backport-luminous-23443

luminous: ceph-volume: `lvm batch` documentation and man page updates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23717 from yuriw/wip-27057-luminous
Yuri Weinstein [Mon, 27 Aug 2018 21:21:56 +0000 (14:21 -0700)]
Merge pull request #23717 from yuriw/wip-27057-luminous

luminous -  qa/tests: Whitelised 'slow request'

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
6 years agoMerge pull request #23737 from theanalyst/wip-luminous-26887
Yuri Weinstein [Mon, 27 Aug 2018 21:20:53 +0000 (14:20 -0700)]
Merge pull request #23737 from theanalyst/wip-luminous-26887

luminous: qa/tasks/thrashosds-health.yaml: whitelist slow requests

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agodoc/man/ceph-volume add batch information 23757/head
Alfredo Deza [Mon, 6 Aug 2018 12:52:31 +0000 (08:52 -0400)]
doc/man/ceph-volume add batch information

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

6 years agodoc/ceph-volume include batch doc in the toc tree
Alfredo Deza [Fri, 3 Aug 2018 20:19:41 +0000 (16:19 -0400)]
doc/ceph-volume include batch doc in the toc tree

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

6 years agodoc/ceph-volume decument batch reporting and bluestore support
Alfredo Deza [Fri, 3 Aug 2018 20:19:12 +0000 (16:19 -0400)]
doc/ceph-volume decument batch reporting and bluestore support

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

6 years agoqa/tasks/thrashosds-health.yaml: whitelist slow requests 23737/head
Neha Ojha [Wed, 25 Jul 2018 17:20:12 +0000 (10:20 -0700)]
qa/tasks/thrashosds-health.yaml: whitelist slow requests

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit c0d9f7177c47a2b613fb1a3e9fa56eb90b36973a)

 Conflicts:
- qa/tasks/thrashosds-health.yaml
  keeping MON_DOWN already present

6 years agoqa/tests: Whitelised 'slow request' 23717/head
Yuri Weinstein [Wed, 22 Aug 2018 19:51:45 +0000 (12:51 -0700)]
qa/tests: Whitelised 'slow request'
for upgrade/kraken-x
for krbd

Fixes: http://tracker.ceph.com/issues/27057
Fixes: http://tracker.ceph.com/issues/27054
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #23720 from ceph/revert-23696-wip-27057-luminous
Josh Durgin [Thu, 23 Aug 2018 22:35:12 +0000 (15:35 -0700)]
Merge pull request #23720 from ceph/revert-23696-wip-27057-luminous

Revert "qa/tests: Whitelised 'slow requests'"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>