]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: new label and glossary url 23607/head
Jos Collin [Sun, 1 Jul 2018 13:46:14 +0000 (19:16 +0530)]
doc: new label and glossary url

Let the other docs link Ceph Filesystem glossary from outside.
If the user wants then let him visit the Ceph Filesystem doc(s)
from the glossary.

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 81c0a328ac38a12865702c80a73ed3ecf8c4affe)

7 years agodoc: fix the broken urls
Jos Collin [Mon, 30 Jul 2018 05:08:00 +0000 (10:38 +0530)]
doc: fix the broken urls

Fixed the broken urls.

Fixes: http://tracker.ceph.com/issues/25185
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 0f3442a35e991e7215cb690a6064dc63b9b7fb8f)

7 years agodoc: add radosgw reference label
Jos Collin [Mon, 30 Jul 2018 05:07:21 +0000 (10:37 +0530)]
doc: add radosgw reference label

Added radosgw doc reference label

Fixes: http://tracker.ceph.com/issues/25185
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit b19e239923de2d059434f6aeac0dc03478d5e7af)

7 years agodoc: s/Ceph FS/CephFS
Jos Collin [Sat, 28 Jul 2018 12:17:33 +0000 (17:47 +0530)]
doc: s/Ceph FS/CephFS

Fixes: https://github.com/ceph/ceph/pull/22784#discussion_r200755460
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 152f4fba1e50e517a60ea1351591f2b9512314ec)

7 years agoMerge pull request #23337 from smithfarm/wip-qa-ceph-detect-init-alt
Nathan Cutler [Mon, 13 Aug 2018 11:47:39 +0000 (13:47 +0200)]
Merge pull request #23337 from smithfarm/wip-qa-ceph-detect-init-alt

mimic: qa: fix ceph-disk suite and add coverage for ceph-detect-init

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #23400 from alfredodeza/backport-mimic-rm25216
Andrew Schoen [Fri, 3 Aug 2018 16:29:54 +0000 (16:29 +0000)]
Merge pull request #23400 from alfredodeza/backport-mimic-rm25216

mimic: ceph-volume lvm.activate conditional mon-config on prime-osd-dir

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23393 from alfredodeza/backport-mimic-rm24152
Alfredo Deza [Fri, 3 Aug 2018 10:58:09 +0000 (06:58 -0400)]
Merge pull request #23393 from alfredodeza/backport-mimic-rm24152

mimic: ceph-volume enable the ceph-osd during lvm activation

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume lvm.activate conditional mon-config on prime-osd-dir 23400/head
Alfredo Deza [Wed, 1 Aug 2018 21:01:31 +0000 (17:01 -0400)]
ceph-volume lvm.activate conditional mon-config on prime-osd-dir

The --no-mon-config should only be done in Mimic releaes and later

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

7 years agoceph-volume tests patch __release__ to mimic always for stdin keys 23393/head
Alfredo Deza [Thu, 2 Aug 2018 17:51:22 +0000 (13:51 -0400)]
ceph-volume tests patch __release__ to mimic always for stdin keys

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

7 years agoceph-volume: enable ceph-osd during lvm activation
Dan van der Ster [Mon, 30 Jul 2018 12:55:38 +0000 (14:55 +0200)]
ceph-volume: enable ceph-osd during lvm activation

Enable the ceph-osd@<id> unit during lvm activate to link these
units to the ceph-osd.target.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Fixes: http://tracker.ceph.com/issues/24152
(cherry picked from commit 261d8ac94d0008f57ac194718e9277c126e096b5)

7 years agoceph-volume: optional systemd enable --runtime
Dan van der Ster [Mon, 30 Jul 2018 12:53:07 +0000 (14:53 +0200)]
ceph-volume: optional systemd enable --runtime

Allow units to be enabled but not persisted across a reboot,
and use this when enabling osds.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit 3e6f387be13b209aa9f56f5069331e449615d316)

7 years agoMerge pull request #23272 from dzafman/wip-25085-mimic
Josh Durgin [Wed, 1 Aug 2018 23:04:38 +0000 (16:04 -0700)]
Merge pull request #23272 from dzafman/wip-25085-mimic

mimic: Fix 25085 and 24949

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #23368 from alfredodeza/mimic-rm25173
Andrew Schoen [Wed, 1 Aug 2018 20:36:51 +0000 (20:36 +0000)]
Merge pull request #23368 from alfredodeza/mimic-rm25173

mimic ceph-volume do not use stdin in luminous

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests verify that luminous doesn't use stdin 23368/head
Alfredo Deza [Tue, 31 Jul 2018 20:47:05 +0000 (16:47 -0400)]
ceph-volume tests verify that luminous doesn't use stdin

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

7 years agoceph-volume util do not use stdin for luminous
Alfredo Deza [Tue, 31 Jul 2018 20:46:41 +0000 (16:46 -0400)]
ceph-volume util do not use stdin for luminous

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

7 years agomimic: qa/ceph-disk: fixes for OVH and add ceph-detect-init subsuite 23337/head
Nathan Cutler [Sun, 29 Jul 2018 16:24:48 +0000 (18:24 +0200)]
mimic: qa/ceph-disk: fixes for OVH and add ceph-detect-init subsuite

With the move to OVH and the addition of RHEL as a supported distro, the
ceph-disk/basic suite was no longer green. This commit brings it back into
a green state.

Also, although ceph-disk/basic presumably exercises ceph-detect-init, it
seemed prudent to add a test case that runs it explicitly.

Can not be cherry-picked because ceph-disk and ceph-detect-init are no longer
present in master.

Reverts: 230c030fad091ae9c136a421e6206d3e8c9378f8
Fixes: https://tracker.ceph.com/issues/25031
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23349 from ceph/backport-mimic-23348
Alfredo Deza [Tue, 31 Jul 2018 16:41:55 +0000 (12:41 -0400)]
Merge pull request #23349 from ceph/backport-mimic-23348

mimic: ceph-volume: adds test for `ceph-volume lvm list /dev/sda`

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: adds a unit test for `lvm list /dev/sda` 23349/head
Andrew Schoen [Mon, 30 Jul 2018 18:52:37 +0000 (13:52 -0500)]
ceph-volume: adds a unit test for `lvm list /dev/sda`

This test is to prove that the issue from
http://tracker.ceph.com/issues/24957 was fixed
by http://tracker.ceph.com/issues/24784

When running lvm list against a raw device it should handle
gracefully the situation where there are multiple PVs with the
name of the given device.

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

7 years agoceph-volume: move pvolumes fixture into conftest.py
Andrew Schoen [Tue, 31 Jul 2018 13:26:57 +0000 (08:26 -0500)]
ceph-volume: move pvolumes fixture into conftest.py

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

7 years agoMerge pull request #23303 from smithfarm/wip-qa-ceph-detect-init
Nathan Cutler [Tue, 31 Jul 2018 10:30:33 +0000 (12:30 +0200)]
Merge pull request #23303 from smithfarm/wip-qa-ceph-detect-init

mimic: tools/ceph-detect-init: support RHEL as a platform

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotools/ceph-detect-init: support RHEL as a platform 23303/head
Nathan Cutler [Sun, 29 Jul 2018 18:43:23 +0000 (20:43 +0200)]
tools/ceph-detect-init: support RHEL as a platform

12d94cae2a06fd2ae39379e233588be99bff91de introduced a regression in that it
started returning '' as the codename for most supported distros, and also
(apparently) changed the distro string returned on Red Hat Enterprise Linux (to
"rhel"). As a result, ceph-detect-init began throwing an UnsupportedPlatform
exception on RHEL.

Can not be cherry-picked because ceph-disk and ceph-detect-init are no longer
present in master.

Fixes: 12d94cae2a06fd2ae39379e233588be99bff91de
Fixes: http://tracker.ceph.com/issues/18163
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #23327 from ceph/backport-mimic-23234
Alfredo Deza [Mon, 30 Jul 2018 19:00:41 +0000 (15:00 -0400)]
Merge pull request #23327 from ceph/backport-mimic-23234

mimic: ceph-volume: PVolumes.get() should return one PV when using name or uuid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23333 from alfredodeza/wip-rm25169
Andrew Schoen [Mon, 30 Jul 2018 16:14:36 +0000 (16:14 +0000)]
Merge pull request #23333 from alfredodeza/wip-rm25169

mimic: ceph-volume add a __release__ string, to help version-conditional calls

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume add a __release__ string, to help version-conditional calls 23333/head
Alfredo Deza [Mon, 30 Jul 2018 16:03:51 +0000 (12:03 -0400)]
ceph-volume add a __release__ string, to help version-conditional calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: PVolumes.get() should return one PV when using name or uuid 23327/head
Andrew Schoen [Wed, 25 Jul 2018 16:47:27 +0000 (11:47 -0500)]
ceph-volume: PVolumes.get() should return one PV when using name or uuid

It is possible to get duplicated pv entires from the 'pvs' lvm command.
If we're using PVolumes.get() with either pv_name or pv_uuid we can
safely return a single PVolume object. However, if we use pv_tags with
PVolumes.get() we must still raise a MultiplePVsError if many pvs
are found that have the tags, because they are not guaranteed to be the
same pv, as would be the case with pv_name or pv_uuid.

Fixes: http://tracker.ceph.com/issues/24784
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit e5e866e8ecaf0522f3ebac83fa6fbc5a666acd58)

7 years agoMerge pull request #23239 from alfredodeza/mimic-rm24993
Andrew Schoen [Mon, 30 Jul 2018 13:42:09 +0000 (13:42 +0000)]
Merge pull request #23239 from alfredodeza/mimic-rm24993

mimic ceph-volume process.call with stdin in Python 3 fix

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #23295 from b-ranto/wip-volume-selinux-mimic
Alfredo Deza [Sun, 29 Jul 2018 13:20:48 +0000 (09:20 -0400)]
Merge pull request #23295 from b-ranto/wip-volume-selinux-mimic

[mimic] ceph-volume: Restore SELinux context

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23301 from yuriw/wip-yuriw-p2p-mimic
Yuri Weinstein [Sat, 28 Jul 2018 21:21:30 +0000 (14:21 -0700)]
Merge pull request #23301 from yuriw/wip-yuriw-p2p-mimic

qa/tests:  added OBJECT_MISPLACED to the whitelist

7 years agoqa/tests: added OBJECT_MISPLACED to the whitelist 23301/head
Yuri Weinstein [Sat, 28 Jul 2018 14:50:23 +0000 (07:50 -0700)]
qa/tests:  added OBJECT_MISPLACED to the whitelist

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoceph-volume: Restore SELinux context 23295/head
Boris Ranto [Tue, 10 Jul 2018 20:52:38 +0000 (22:52 +0200)]
ceph-volume: Restore SELinux context

We need to reset the root context of the file system after mounting it.
Otherwise, the SELinux policy rules will not be preserved.

Fixes: https://tracker.ceph.com/issues/24785
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 61dbf4ac2af7d1e9da927bbc4006c9fbccb55478)

7 years agoceph-volume tests.util verify as_bytes behavior 23239/head
Alfredo Deza [Fri, 27 Jul 2018 15:16:19 +0000 (11:16 -0400)]
ceph-volume tests.util verify as_bytes behavior

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

7 years agoceph-volume tests catch utf-8 encoded stdin errors
Alfredo Deza [Fri, 27 Jul 2018 15:15:58 +0000 (11:15 -0400)]
ceph-volume tests catch utf-8 encoded stdin errors

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

7 years agoceph-volume process use the as_bytes util for stdin
Alfredo Deza [Fri, 27 Jul 2018 15:14:13 +0000 (11:14 -0400)]
ceph-volume process use the as_bytes util for stdin

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

7 years agoceph-volume util create a helper for converting to bytes
Alfredo Deza [Fri, 27 Jul 2018 15:13:19 +0000 (11:13 -0400)]
ceph-volume util create a helper for converting to bytes

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

7 years agoceph-volume tests validate the new utils for prompts
Alfredo Deza [Mon, 16 Jul 2018 13:23:14 +0000 (09:23 -0400)]
ceph-volume tests validate the new utils for prompts

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

7 years agoceph-volume tests verify str_to_int utility
Alfredo Deza [Fri, 13 Jul 2018 12:55:46 +0000 (08:55 -0400)]
ceph-volume tests verify str_to_int utility

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

7 years agoceph-volume util create prompt helpers
Alfredo Deza [Mon, 16 Jul 2018 13:22:50 +0000 (09:22 -0400)]
ceph-volume util create prompt helpers

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

7 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)

7 years agoceph-volume tests run to log_descriptors, verifying utf-8
Alfredo Deza [Wed, 25 Jul 2018 12:40:53 +0000 (08:40 -0400)]
ceph-volume tests run to log_descriptors, verifying utf-8

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume process decode to utf-8 when logging descriptors
Alfredo Deza [Wed, 25 Jul 2018 12:39:16 +0000 (08:39 -0400)]
ceph-volume process decode to utf-8 when logging descriptors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.process ensure that stdin works on py3 and py2.7
Alfredo Deza [Fri, 20 Jul 2018 13:49:59 +0000 (09:49 -0400)]
ceph-volume tests.process ensure that stdin works on py3 and py2.7

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume process encode stdin with utf-8 to prevent bytes TypeError
Alfredo Deza [Fri, 20 Jul 2018 13:48:38 +0000 (09:48 -0400)]
ceph-volume process encode stdin with utf-8 to prevent bytes TypeError

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #23218 from yuriw/wip-yuriw-25086-mimic
Yuri Weinstein [Fri, 27 Jul 2018 19:33:36 +0000 (12:33 -0700)]
Merge pull request #23218 from yuriw/wip-yuriw-25086-mimic

qa/tests: added v13.2.1 to the mix

7 years agoMerge branch 'mimic' of github.com:ceph/ceph into mimic
Alfredo Deza [Fri, 27 Jul 2018 13:47:25 +0000 (09:47 -0400)]
Merge branch 'mimic' of github.com:ceph/ceph into mimic

7 years agoMerge pull request #22965 from ceph/backport-mimic-22764
Alfredo Deza [Fri, 27 Jul 2018 12:11:03 +0000 (08:11 -0400)]
Merge pull request #22965 from ceph/backport-mimic-22764

mimic: ceph-volume: refuse to zap mapper devices

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agotest: Add test for automatic repair during scrub when distrust set 23272/head
David Zafman [Tue, 24 Jul 2018 22:12:15 +0000 (15:12 -0700)]
test: Add test for automatic repair during scrub when distrust set

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit b576f6b7d7ac26c9596bcbedadeb116e7f78cfef)

7 years agoosd: Even when we are distrust data_digest, go ahead and set it when we can
David Zafman [Tue, 24 Jul 2018 20:30:09 +0000 (13:30 -0700)]
osd: Even when we are distrust data_digest, go ahead and set it when we can

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 3b72d1a116ff7e45f35465db1397f648fb148876)

Conflicts:
src/osd/PrimaryLogPG.cc (trivial)

7 years agoosd: Fix digest if osd_distrust_data_digest set and replicas match each other
David Zafman [Wed, 25 Jul 2018 12:35:19 +0000 (05:35 -0700)]
osd: Fix digest if osd_distrust_data_digest set and replicas match each other

Fixes: https://tracker.ceph.com/issues/24949
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 91a098bcfab089b853dc5543900e53102367a614)

7 years agoosd: be_select_auth_object() gives chksum objectstore priority if osd_distrust_data_d...
David Zafman [Fri, 20 Jul 2018 15:09:52 +0000 (08:09 -0700)]
osd: be_select_auth_object() gives chksum objectstore priority if osd_distrust_data_digest true

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 4df59f8735afe7585803da4130e7e93e9f4946d3)

7 years agotest: Add test for repair of bad object info data_digest on all copies
David Zafman [Tue, 24 Jul 2018 16:40:24 +0000 (09:40 -0700)]
test: Add test for repair of bad object info data_digest on all copies

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 67d9e44de6b52673a3e23d7fd7f2d66566f2268a)

7 years agoosd: Fix pg repair to handle object info data_digest mismatched, but replicas match...
David Zafman [Mon, 23 Jul 2018 23:02:25 +0000 (16:02 -0700)]
osd: Fix pg repair to handle object info data_digest mismatched, but replicas match each other.

Fixes: https://tracker.ceph.com/issues/25085
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 61e995b2c1b866768151a405641463de067c210c)

7 years agotools: Add testing feature "corrupt-info" to ceph-objectstore-tool
David Zafman [Fri, 20 Jul 2018 19:31:56 +0000 (12:31 -0700)]
tools: Add testing feature "corrupt-info" to ceph-objectstore-tool

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 8e9c08524da0cf465553f99b2e160e59abc8e84b)

Conflicts:
src/tools/ceph_objectstore_tool.cc (use begin() instead of cbegin())

7 years agolvm zap: refuse to zap mapper devices 22965/head
Andrew Schoen [Thu, 26 Jul 2018 19:14:00 +0000 (14:14 -0500)]
lvm zap: refuse to zap mapper devices

Fixes: http://tracker.ceph.com/issues/24504
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 8e602d52657d50888a83963148334deb1f8d4e1c)

7 years agoadds the util.disk.is_mapper_device method
Andrew Schoen [Thu, 28 Jun 2018 17:14:12 +0000 (12:14 -0500)]
adds the util.disk.is_mapper_device method

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

7 years agoMerge pull request #23149 from alfredodeza/mimic-rm24952
Andrew Schoen [Thu, 26 Jul 2018 20:46:54 +0000 (20:46 +0000)]
Merge pull request #23149 from alfredodeza/mimic-rm24952

mimic: ceph-volume lvm.listing only include devices if they exist

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoosd: Improve logic in be_compare_scrubmaps()
David Zafman [Wed, 25 Jul 2018 19:10:57 +0000 (12:10 -0700)]
osd: Improve logic in be_compare_scrubmaps()

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 135d5d0209fd6441a470fd2301c6c0e2ec803091)

7 years agoMerge pull request #23101 from ceph/backport-mimic-23093
Alfredo Deza [Thu, 26 Jul 2018 18:01:00 +0000 (14:01 -0400)]
Merge pull request #23101 from ceph/backport-mimic-23093

mimic: ceph-volume: an OSD ID must exist and be destroyed before reuse

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.listing only include devices if they exist 23149/head
Alfredo Deza [Wed, 18 Jul 2018 20:50:25 +0000 (16:50 -0400)]
ceph-volume lvm.listing only include devices if they exist

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

7 years agoceph-volume: do not pin the testinfra version for the simple tests
Andrew Schoen [Thu, 26 Jul 2018 17:41:15 +0000 (12:41 -0500)]
ceph-volume: do not pin the testinfra version for the simple tests

For testinfra to work with a 2.6.x version of ansible it must use the
latest version.

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

7 years agoMerge pull request #23269 from ceph/backport-mimic-23263
Alfredo Deza [Thu, 26 Jul 2018 17:49:48 +0000 (13:49 -0400)]
Merge pull request #23269 from ceph/backport-mimic-23263

mimic: ceph-volume: update version of ansible to 2.6.x for simple tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: update version of ansible to 2.6.x for simple tests 23269/head
Andrew Schoen [Thu, 26 Jul 2018 15:09:17 +0000 (10:09 -0500)]
ceph-volume: update version of ansible to 2.6.x for simple tests

ceph-ansible now requires a 2.5.x or 2.6.x version of ansible if you're
using the master branch. This updates our functional tests for the
simple subcommand to use a 2.6.x version of ansible.

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

7 years ago13.2.1 v13.2.1
Jenkins Build Slave User [Thu, 26 Jul 2018 17:39:56 +0000 (17:39 +0000)]
13.2.1

7 years agoMerge pull request #23262 from liewegas/wip-mimic-p2p
Sage Weil [Thu, 26 Jul 2018 16:31:44 +0000 (11:31 -0500)]
Merge pull request #23262 from liewegas/wip-mimic-p2p

mimic: qa/suites/upgrade/mimic-p2p: allow target version to apply

7 years agoqa/suites/upgrade/mimic-p2p: allow target version to apply 23262/head
Sage Weil [Thu, 26 Jul 2018 13:07:54 +0000 (08:07 -0500)]
qa/suites/upgrade/mimic-p2p: allow target version to apply

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #23246 into mimic
Sage Weil [Thu, 26 Jul 2018 13:47:28 +0000 (08:47 -0500)]
Merge PR #23246 into mimic

* refs/pull/23246/head:
rpm,deb: fix chown to use -h
rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agogithubmap: update contributors
Sage Weil [Thu, 26 Jul 2018 13:47:28 +0000 (08:47 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #23250 into mimic
Sage Weil [Thu, 26 Jul 2018 13:47:17 +0000 (08:47 -0500)]
Merge PR #23250 into mimic

* refs/pull/23250/head:
osd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoosd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic 23250/head
Sage Weil [Wed, 25 Jul 2018 22:12:43 +0000 (17:12 -0500)]
osd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic

This was delayed and did not appear in 13.2.0.

Fixes: 1fdc85f224d52655d74eff9a29b6029b974661b3
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 37781061022a92e88dff91ff18fd0fc14b5436de)

7 years agorpm,deb: fix chown to use -h 23246/head
Sage Weil [Fri, 13 Jul 2018 22:10:38 +0000 (17:10 -0500)]
rpm,deb: fix chown to use -h

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 92207c76b91c26c0558688a358ade7c0d94d1b59)

7 years agorpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade
Sage Weil [Fri, 13 Jul 2018 14:56:48 +0000 (09:56 -0500)]
rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade

This works around https://tracker.ceph.com/issues/24903

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 58cde3fd793c037beca6645cc30b2ae1c30e2af1)

7 years agoMerge pull request #23244 from alfredodeza/mimic-ansible-26
Andrew Schoen [Wed, 25 Jul 2018 20:58:16 +0000 (20:58 +0000)]
Merge pull request #23244 from alfredodeza/mimic-ansible-26

mimic ceph-volume tests/functional use Ansible 2.6

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests/functional use testinfra latest for ansible 2.6 23244/head
Alfredo Deza [Mon, 23 Jul 2018 18:16:41 +0000 (14:16 -0400)]
ceph-volume tests/functional use testinfra latest for ansible 2.6

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

7 years agoceph-volume tests/functional use Ansible 2.6
Alfredo Deza [Mon, 23 Jul 2018 14:18:34 +0000 (10:18 -0400)]
ceph-volume tests/functional use Ansible 2.6

The ceph-ansible project now refuses to use 2.4 even though it works
with that version

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

7 years agoMerge PR #23233 into mimic
Sage Weil [Wed, 25 Jul 2018 16:31:38 +0000 (11:31 -0500)]
Merge PR #23233 into mimic

* refs/pull/23233/head:
mon: don't require CEPHX_V2 from mons until nautilus

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agomon: don't require CEPHX_V2 from mons until nautilus 23233/head
Sage Weil [Wed, 25 Jul 2018 16:24:27 +0000 (11:24 -0500)]
mon: don't require CEPHX_V2 from mons until nautilus

The mimic 13.2.0 didn't have it.

Fixes: 3dc80e5f9b6ebf1bc1cecbd95b288005216bdbec
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 7ba0c14ce75f6936b59a3c61ea34a6f0fb909280)

# Conflicts:
# src/mon/Monitor.cc

- dropped the nautilus cases in the original commit

7 years agoMerge pull request #23209 from smithfarm/wip-25081-mimic
Nathan Cutler [Wed, 25 Jul 2018 07:24:14 +0000 (09:24 +0200)]
Merge pull request #23209 from smithfarm/wip-25081-mimic

mimic: qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/tests: added v13.2.1 to the mix 23218/head
Yuri Weinstein [Tue, 24 Jul 2018 21:03:30 +0000 (14:03 -0700)]
qa/tests: added v13.2.1 to the mix

Fixes: https://tracker.ceph.com/issues/25086
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #23136 from smithfarm/wip-25010-mimic
Yuri Weinstein [Tue, 24 Jul 2018 19:47:39 +0000 (12:47 -0700)]
Merge pull request #23136 from smithfarm/wip-25010-mimic

mimic: tests: osd sends op_reply out of order

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoqa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds 23209/head
Ilya Dryomov [Wed, 20 Jun 2018 16:22:36 +0000 (18:22 +0200)]
qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Avoid sporadic failures in combination with msgr-failures/many.yaml,
where assert_locked() might take over 10 seconds.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 69619b69663e026aa4e9c7c21c1fc879782c26e9)

7 years agoMerge pull request #23178 from smithfarm/wip-25065-mimic
Nathan Cutler [Tue, 24 Jul 2018 15:48:41 +0000 (17:48 +0200)]
Merge pull request #23178 from smithfarm/wip-25065-mimic

mimic: build/ops: install-deps.sh fails on newest openSUSE Leap

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #23176 from smithfarm/wip-25062-mimic
Nathan Cutler [Tue, 24 Jul 2018 15:47:51 +0000 (17:47 +0200)]
Merge pull request #23176 from smithfarm/wip-25062-mimic

mimic: doc: ceph-bluestore-tool manpage not getting rendered correctly

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #23154 from smithfarm/wip-25034-mimic
Yuri Weinstein [Tue, 24 Jul 2018 15:15:29 +0000 (08:15 -0700)]
Merge pull request #23154 from smithfarm/wip-25034-mimic

mimic: tests: Health check failed: 1 MDSs report slow requests (MDS_SLOW_REQUEST) in powercycle

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #23156 from yuriw/wip-yuriw-25005-mimic
Yuri Weinstein [Tue, 24 Jul 2018 15:14:33 +0000 (08:14 -0700)]
Merge pull request #23156 from yuriw/wip-yuriw-25005-mimic

mimic: qa/tests -  added overrides stanza to allow runs on ovh on rhel OS

7 years agoMerge PR #23184 into mimic
Sage Weil [Tue, 24 Jul 2018 14:05:24 +0000 (09:05 -0500)]
Merge PR #23184 into mimic

* refs/pull/23184/head:
common: add osd_distrust_data_digest option
osd: apply osd_skip_data_digest to read operations

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #23164 from smithfarm/wip-25056-mimic
Sage Weil [Tue, 24 Jul 2018 02:43:30 +0000 (21:43 -0500)]
Merge pull request #23164 from smithfarm/wip-25056-mimic

mimic: tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash

7 years agocommon: add osd_distrust_data_digest option 23184/head
Sage Weil [Mon, 23 Jul 2018 15:11:53 +0000 (10:11 -0500)]
common: add osd_distrust_data_digest option

If we have reason to distrust the stored full-object oi data digests,
this option will ignore them (and opportunistically clear them).  It
basically affects the same behaviors that osd_skip_data_digest except
the previous option only takes effect if bluestore is in use, while this
option is unconditional.

This serves a workaround for clusters that suffered the 12.2.6 bug that
produced bad full-object digests and *also* had PGs' primaries move from
bluestore to filestore nodes.  In those situations, this option can be
set to true.

After all OSDs are upgrade and all PGs come back with a clean deep
scrub this option can be disabled again.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit b8476ebc5b3c5b5d801bf875bbd6dce5b113325c)

# Conflicts:
# src/osd/PrimaryLogPG.cc

- osd->osd_skip_data_digest, not g_conf->osd_skip_data_digest

7 years agoosd: apply osd_skip_data_digest to read operations
Sage Weil [Mon, 23 Jul 2018 15:07:55 +0000 (10:07 -0500)]
osd: apply osd_skip_data_digest to read operations

If we would skip updating data digests, apply that same decision to read
operations as well.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 49207a6cb388446361aafacfaa863d66dd452ded)

# Conflicts:
# src/osd/PrimaryLogPG.cc

- one of the do_read() cases moved
- osd->osd_skip_data_digest (observed), not g_conf->...

7 years agoMerge pull request #23122 from yuriw/wip-yuriw-24926-mimic
Nathan Cutler [Mon, 23 Jul 2018 14:10:51 +0000 (16:10 +0200)]
Merge pull request #23122 from yuriw/wip-yuriw-24926-mimic

mimic - qa/tests: Set ansible-version: 2.4

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoAdd new OpenSUSE Leap id for install-deps.sh 23178/head
Kyr Shatskyy [Mon, 2 Jul 2018 13:23:58 +0000 (15:23 +0200)]
Add new OpenSUSE Leap id for install-deps.sh

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
(cherry picked from commit bd0448c0b5a09a9314fddf1757502529801366e3)

7 years agodoc: use :command: for subcommands in ceph-bluestore-tool manpage 23176/head
Nathan Cutler [Wed, 18 Jul 2018 12:01:42 +0000 (14:01 +0200)]
doc: use :command: for subcommands in ceph-bluestore-tool manpage

Older versions of Sphinx, such as the one in CentOS 7, do not render "..
option::" lines correctly if the option contains a hyphen but does not start
with a hyphen. And ceph-bluestore-tool appears to be the only Ceph manpage
affected by this bug.

Fixes: http://tracker.ceph.com/issues/24800
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 7c9229e7876dfc1bf6e415ed7cce924c3b50925d)

7 years agotests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash 23164/head
Nathan Cutler [Sat, 21 Jul 2018 09:22:35 +0000 (11:22 +0200)]
tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash

Fixes: http://tracker.ceph.com/issues/25051
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 2555524f1fcf230f5468e1a5fd20f9fb741e03aa)

7 years agoqa/tests - added overrides stanza to allow runs on ovh on rhel OS 23156/head
Yuri Weinstein [Sat, 21 Jul 2018 02:57:05 +0000 (19:57 -0700)]
qa/tests -  added overrides stanza to allow runs on ovh on rhel OS

Fixes: https://tracker.ceph.com/issues/25005
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoqa/suites/powercycle: whitelist MDS_SLOW_REQUEST 23154/head
Neha Ojha [Fri, 20 Jul 2018 19:50:02 +0000 (12:50 -0700)]
qa/suites/powercycle: whitelist MDS_SLOW_REQUEST

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

7 years agoqa/tests: Set ansible-version: 2.4 23122/head
Yuri Weinstein [Wed, 18 Jul 2018 23:47:42 +0000 (16:47 -0700)]
qa/tests: Set ansible-version: 2.4

Fixes http://tracker.ceph.com/issues/24926
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #23148 from alfredodeza/mimic-rm24961
Andrew Schoen [Fri, 20 Jul 2018 19:24:33 +0000 (19:24 +0000)]
Merge pull request #23148 from alfredodeza/mimic-rm24961

ceph-volume tests/functional run lvm list after OSD provisioning

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests/functional run lvm list after OSD provisioning 23148/head
Alfredo Deza [Wed, 18 Jul 2018 16:39:01 +0000 (12:39 -0400)]
ceph-volume tests/functional run lvm list after OSD provisioning

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

7 years agoMerge pull request #23127 from ceph/backport-mimic-23117
Alfredo Deza [Fri, 20 Jul 2018 18:14:30 +0000 (14:14 -0400)]
Merge pull request #23127 from ceph/backport-mimic-23117

mimic: ceph-volume: unmount lvs correctly before zapping

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml 23136/head
Neha Ojha [Tue, 1 May 2018 23:20:14 +0000 (16:20 -0700)]
qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml

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

7 years agoceph-volume: unmount lvs correctly before zapping 23127/head
Andrew Schoen [Wed, 18 Jul 2018 16:08:15 +0000 (11:08 -0500)]
ceph-volume: unmount lvs correctly before zapping

If the lv found does not include the meatadata to construct an osd path,
then we should try to unmount it's path instead.

Fixes: http://tracker.ceph.com/issues/24796
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 5b175a5bb68264b80c00cb4f04026a4d19ca20ad)

7 years agoMerge pull request #22845 from smithfarm/wip-24736-mimic
Yuri Weinstein [Wed, 18 Jul 2018 15:18:52 +0000 (08:18 -0700)]
Merge pull request #22845 from smithfarm/wip-24736-mimic

mimic: add unit test for cls bi list command

Reviewed-by: Casey Bodley <cbodley@redhat.com>