]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoceph-volume: retry when 'vagrant up' fails 23806/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 #23786 from ceph/backport-mimic-23532
Alfredo Deza [Wed, 29 Aug 2018 18:25:25 +0000 (11:25 -0700)]
Merge pull request #23786 from ceph/backport-mimic-23532

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

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

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

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

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

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.zap loop over all vgs from a pv to destroy them 23786/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)

6 years agoceph-volume tests/functional add mgrs daemons to lvm tests 23784/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 agoMerge pull request #23109 from pdvian/wip-24931-mimic
Yuri Weinstein [Tue, 28 Aug 2018 20:00:51 +0000 (13:00 -0700)]
Merge pull request #23109 from pdvian/wip-24931-mimic

mimic: client: add inst to asok status output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23180 from ukernel/mimic-24856
Yuri Weinstein [Tue, 28 Aug 2018 20:00:22 +0000 (13:00 -0700)]
Merge pull request #23180 from ukernel/mimic-24856

mimic: mds: handle discontinuous mdsmap

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23196 from pdvian/wip-25035-mimic
Yuri Weinstein [Tue, 28 Aug 2018 19:59:51 +0000 (12:59 -0700)]
Merge pull request #23196 from pdvian/wip-25035-mimic

mimic: mds: print mdsmap processed at low debug level

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23565 from pdvian/wip-26905-mimic
Yuri Weinstein [Tue, 28 Aug 2018 19:59:26 +0000 (12:59 -0700)]
Merge pull request #23565 from pdvian/wip-26905-mimic

mimic: mds: mark beacons as high priority

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #22670 from votdev/mimic_bug_24080
Yuri Weinstein [Tue, 28 Aug 2018 19:57:10 +0000 (12:57 -0700)]
Merge pull request #22670 from votdev/mimic_bug_24080

mimic: mgr/dashboard: Prevent RGW API user deletion

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
6 years agoMerge pull request #23111 from smithfarm/wip-18163-mimic
Yuri Weinstein [Tue, 28 Aug 2018 19:54:07 +0000 (12:54 -0700)]
Merge pull request #23111 from smithfarm/wip-18163-mimic

mimic: tools: ceph-detect-init: support SLED

Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #23335 from smithfarm/wip-25178-mimic
Yuri Weinstein [Tue, 28 Aug 2018 19:53:13 +0000 (12:53 -0700)]
Merge pull request #23335 from smithfarm/wip-25178-mimic

mimic: rados: not all exceptions accept keyargs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoceph-volume lvm.batch move import statement to the top 23780/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 #23777 from ceph/backport-mimic-23075
Alfredo Deza [Tue, 28 Aug 2018 16:39:47 +0000 (09:39 -0700)]
Merge pull request #23777 from ceph/backport-mimic-23075

mimic: ceph-volume batch command

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.api update lvm sizing tests 23777/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 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 agoMerge pull request #23756 from ceph/backport-mimic-23443
Alfredo Deza [Mon, 27 Aug 2018 23:00:45 +0000 (16:00 -0700)]
Merge pull request #23756 from ceph/backport-mimic-23443

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

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23225 from pdvian/wip-25037-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:20:42 +0000 (13:20 -0700)]
Merge pull request #23225 from pdvian/wip-25037-mimic

mimic: mds: scrub doesn't always return JSON results

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23275 from pdvian/wip-25040-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:20:15 +0000 (13:20 -0700)]
Merge pull request #23275 from pdvian/wip-25040-mimic

mimic: mds: dump recent events on respawn

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23309 from pdvian/wip-25042-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:19:53 +0000 (13:19 -0700)]
Merge pull request #23309 from pdvian/wip-25042-mimic

mimic: mds: increase debug level for dropped client cap msg

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23343 from pdvian/wip-25045-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:19:27 +0000 (13:19 -0700)]
Merge pull request #23343 from pdvian/wip-25045-mimic

mimic: mds: health warning for slow metadata IO

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23407 from ukernel/mimic-24820
Yuri Weinstein [Mon, 27 Aug 2018 20:18:43 +0000 (13:18 -0700)]
Merge pull request #23407 from ukernel/mimic-24820

mimic: mds: avoid using g_conf->get_val<...>(...) in hot path

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23435 from pdvian/wip-25222-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:18:06 +0000 (13:18 -0700)]
Merge pull request #23435 from pdvian/wip-25222-mimic

mimic: common: check completion condition before waiting

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23603 from pdvian/wip-26914-mimic
Yuri Weinstein [Mon, 27 Aug 2018 20:17:16 +0000 (13:17 -0700)]
Merge pull request #23603 from pdvian/wip-26914-mimic

mimic: client: check for unmounted condition before printing debug output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc/man/ceph-volume add batch information 23756/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 agoMerge pull request #23541 from pdvian/wip-26847-mimic
Yuri Weinstein [Thu, 23 Aug 2018 20:03:55 +0000 (13:03 -0700)]
Merge pull request #23541 from pdvian/wip-26847-mimic

mimic: rgw: The delete markers generated by object expiration should have owner

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23118 from ivancich/wip-fix-dir-suggest-mimic
Yuri Weinstein [Thu, 23 Aug 2018 20:02:55 +0000 (13:02 -0700)]
Merge pull request #23118 from ivancich/wip-fix-dir-suggest-mimic

mimic: rgw: fail to recover index from crash mimic backport

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23140 from pdvian/wip-24984-mimic
Yuri Weinstein [Thu, 23 Aug 2018 20:02:21 +0000 (13:02 -0700)]
Merge pull request #23140 from pdvian/wip-24984-mimic

mimic: rgw: radosgw-admin: 'sync error trim' loops until complete

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23172 from pdvian/wip-24986-mimic
Yuri Weinstein [Thu, 23 Aug 2018 20:01:32 +0000 (13:01 -0700)]
Merge pull request #23172 from pdvian/wip-24986-mimic

mimic: multisite: object metadata operations are skipped by sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23173 from pdvian/wip-25021-mimic
Yuri Weinstein [Thu, 23 Aug 2018 20:01:01 +0000 (13:01 -0700)]
Merge pull request #23173 from pdvian/wip-25021-mimic

mimic: rgw: add curl_low_speed_limit and curl_low_speed_time config to avoid

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23206 from linuxbox2/mimic-rgw-22790
Yuri Weinstein [Thu, 23 Aug 2018 20:00:34 +0000 (13:00 -0700)]
Merge pull request #23206 from linuxbox2/mimic-rgw-22790

mimic: rgw: do not ignore EEXIST in RGWPutObj::execute

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23383 from pdvian/wip-25088-mimic
Yuri Weinstein [Thu, 23 Aug 2018 19:59:51 +0000 (12:59 -0700)]
Merge pull request #23383 from pdvian/wip-25088-mimic

mimic: rgw: change default rgw_thread_pool_size to 512

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23498 from pdvian/wip-26842-mimic
Yuri Weinstein [Thu, 23 Aug 2018 19:59:09 +0000 (12:59 -0700)]
Merge pull request #23498 from pdvian/wip-26842-mimic

mimic: rgw_file: deep stat handling

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #23226 from liewegas/wip-23220-mimic
Yuri Weinstein [Wed, 22 Aug 2018 20:46:01 +0000 (13:46 -0700)]
Merge pull request #23226 from liewegas/wip-23220-mimic

mimic: osd/OSDMap: CRUSH_TUNABLES5 added in jewel, not kraken

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23259 from liewegas/wip-purge-new-mimic
Yuri Weinstein [Wed, 22 Aug 2018 20:45:30 +0000 (13:45 -0700)]
Merge pull request #23259 from liewegas/wip-purge-new-mimic

mimic: mon: add purge-new

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23324 from cernceph/dvanders_mimic_chown
Yuri Weinstein [Wed, 22 Aug 2018 20:44:33 +0000 (13:44 -0700)]
Merge pull request #23324 from cernceph/dvanders_mimic_chown

mimic: rpm: silence osd block chown

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23356 from wido/mimic-25191
Yuri Weinstein [Wed, 22 Aug 2018 20:43:29 +0000 (13:43 -0700)]
Merge pull request #23356 from wido/mimic-25191

mimic: mgr: Ignore daemon if no metadata was returned

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23378 from dzafman/wip-24875-mimic
Yuri Weinstein [Wed, 22 Aug 2018 20:42:56 +0000 (13:42 -0700)]
Merge pull request #23378 from dzafman/wip-24875-mimic

mimic: osd: do_sparse_read(): Verify checksum earlier so we will try to repair

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #23453 from vumrao/wip-vumrao-mimic-25225
Yuri Weinstein [Wed, 22 Aug 2018 20:42:06 +0000 (13:42 -0700)]
Merge pull request #23453 from vumrao/wip-vumrao-mimic-25225

mimic: filestore: add pgid in filestore pg dir split log message

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23463 from pdvian/wip-26837-mimic
Yuri Weinstein [Wed, 22 Aug 2018 20:41:25 +0000 (13:41 -0700)]
Merge pull request #23463 from pdvian/wip-26837-mimic

mimic: mgrc: enable disabling stats via mgr_stats_threshold

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23583 from pdvian/wip-26912-mimic
Yuri Weinstein [Wed, 22 Aug 2018 20:40:50 +0000 (13:40 -0700)]
Merge pull request #23583 from pdvian/wip-26912-mimic

mimic: "balancer execute" only requires read permissions

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #23175 from smithfarm/wip-25032-mimic
Yuri Weinstein [Tue, 21 Aug 2018 20:23:43 +0000 (13:23 -0700)]
Merge pull request #23175 from smithfarm/wip-25032-mimic

mimic: spdk: compile with -march=core2 instead of -march=native

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #23203 from votdev/mimic_bug_25068
Yuri Weinstein [Tue, 21 Aug 2018 20:04:48 +0000 (13:04 -0700)]
Merge pull request #23203 from votdev/mimic_bug_25068

mimic: mgr/dashboard: RGW is not working if an URL prefix is defined

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #23358 from pdvian/wip-25083-mimic
Yuri Weinstein [Tue, 21 Aug 2018 19:58:54 +0000 (12:58 -0700)]
Merge pull request #23358 from pdvian/wip-25083-mimic

mimic: librbd: deep-copy should not write to objects that cannot exist

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #23490 from tchaikov/mimic-26880
Yuri Weinstein [Tue, 21 Aug 2018 19:57:48 +0000 (12:57 -0700)]
Merge pull request #23490 from tchaikov/mimic-26880

mimic: link against libstdc++ statically

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23201 from smithfarm/wip-25073-mimic
Nathan Cutler [Mon, 20 Aug 2018 19:01:44 +0000 (21:01 +0200)]
Merge pull request #23201 from smithfarm/wip-25073-mimic

mimic: Boost system library is no longer required to compile and link example librados program

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22339 from tchaikov/mimic-20924
Yuri Weinstein [Fri, 17 Aug 2018 21:10:31 +0000 (14:10 -0700)]
Merge pull request #22339 from tchaikov/mimic-20924

mimic: mds,osd,mon,msg: use intrusive_ptr for holding Connection::priv

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #23392 from alexandergraul/fix-ceph-disk
Yuri Weinstein [Fri, 17 Aug 2018 19:47:56 +0000 (12:47 -0700)]
Merge pull request #23392 from alexandergraul/fix-ceph-disk

mimic: ceph-disk: return a list instead of an iterator

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #23458 from badone/wip-OSDHealthMetric-race-mimic
Brad Hubbard [Thu, 16 Aug 2018 22:44:21 +0000 (08:44 +1000)]
Merge pull request #23458 from badone/wip-OSDHealthMetric-race-mimic

mimic: mgr/MgrClient: Protect daemon_health_metrics

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #23163 from smithfarm/wip-25055-mimic
Abhishek L [Thu, 16 Aug 2018 16:48:37 +0000 (18:48 +0200)]
Merge pull request #23163 from smithfarm/wip-25055-mimic

mimic: doc: http://docs.ceph.com/docs/mimic/rados/operations/pg-states/

Reviewed-By: Jan Fajerski <jfajerski@suse.com>
7 years agoclient: check for unmounted condition before printing debug output 23603/head
Jeff Layton [Wed, 1 Aug 2018 13:05:51 +0000 (09:05 -0400)]
client: check for unmounted condition before printing debug output

If the filesystem was unmounted before we attempt to call ceph_ll_close
on a Fh, then we can end up tripping over the dereferences in the
debug output. Check for unmounted filesystem first, and only print
the debug info if it's still mounted.

This patch only fixes up ceph_ll_close, which is the only call ganesha
makes after calling ceph_abort_conn. We may need to fix other paths in
the future though if that ever changes.

Tracker: http://tracker.ceph.com/issues/25213
Signed-off-by: Jeff Layton <jlayton@kernel.org>
(cherry picked from commit 3c94f23d3b10928615a0f1381eb758006db84b13)

7 years agomgr: tweaks to command permissions 23583/head
John Spray [Thu, 2 Aug 2018 10:42:50 +0000 (11:42 +0100)]
mgr: tweaks to command permissions

Upgrade all selftest ops to rw, downgrade restful
cert list to r.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 7602f256c47fd9782e86ba21e6ef2edc8925b87e)

Conflicts:
src/pybind/mgr/selftest/module.py : Removed self-test commads

7 years agomgr: fix permissions on `balancer execute`
John Spray [Thu, 2 Aug 2018 10:42:21 +0000 (11:42 +0100)]
mgr: fix permissions on `balancer execute`

Fixes: http://tracker.ceph.com/issues/25345
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f63ed1af4f4ed72419c21b1b1e39d1bd373f401d)

7 years agomds: mark beacons as high priority 23565/head
Patrick Donnelly [Sat, 11 Aug 2018 23:10:28 +0000 (16:10 -0700)]
mds: mark beacons as high priority

The mons already mark beacon replies as high priority (via default mon message
priority). We should expect that the mons handle our beacons at the same
priority so the MDS doesn't wrongly get marked laggy.

Fixes: http://tracker.ceph.com/issues/26899
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ec3fa7b5658cc61706e17c8c56e0c7da5062aa34)