]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomon: A PG with PG_STATE_REPAIR doesn't mean damaged data, PG_STATE_INCONSISTENT does 26304/head
David Zafman [Mon, 28 Jan 2019 22:30:29 +0000 (14:30 -0800)]
mon: A PG with PG_STATE_REPAIR doesn't mean damaged data, PG_STATE_INCONSISTENT does

Fixes: http://tracker.ceph.com/issues/38070
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit a4b1574532ee4f789b30634f0eca03cc30ddcf8d)

6 years agoMerge pull request #25385 from ifed01/wip-ifed-osd-mkfs-fix
Yuri Weinstein [Wed, 6 Feb 2019 04:09:48 +0000 (20:09 -0800)]
Merge pull request #25385 from ifed01/wip-ifed-osd-mkfs-fix

mimic: osd/OSD: OSD::mkfs asserts when reusing disk with existing superblock.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26201 from smithfarm/wip-37688-mimic
Yuri Weinstein [Wed, 6 Feb 2019 04:09:20 +0000 (20:09 -0800)]
Merge pull request #26201 from smithfarm/wip-37688-mimic

mimic: tests: Command failed on smithi191 with status 1: 'sudo yum -y install ceph-radosgw'

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26206 from neha-ojha/wip-37902-mimic
Yuri Weinstein [Wed, 6 Feb 2019 04:08:40 +0000 (20:08 -0800)]
Merge pull request #26206 from neha-ojha/wip-37902-mimic

mimic: osd/mon: fix upgrades for pg log hard limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agodoc: pglog_hardlimit flag recommendations 26206/head
Neha Ojha [Wed, 30 Jan 2019 17:50:21 +0000 (17:50 +0000)]
doc: pglog_hardlimit flag recommendations

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25348 from ifed01/wip-ifed-fix-expand-mimic
Yuri Weinstein [Tue, 5 Feb 2019 21:16:59 +0000 (13:16 -0800)]
Merge pull request #25348 from ifed01/wip-ifed-fix-expand-mimic

mimic: core: os/bluestore_tool: fix bluefs expand

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #25525 from smithfarm/wip-36751-mimic
Yuri Weinstein [Tue, 5 Feb 2019 21:16:20 +0000 (13:16 -0800)]
Merge pull request #25525 from smithfarm/wip-36751-mimic

mimic: cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #25531 from smithfarm/wip-37642-mimic
Yuri Weinstein [Tue, 5 Feb 2019 21:15:16 +0000 (13:15 -0800)]
Merge pull request #25531 from smithfarm/wip-37642-mimic

mimic: ceph-create-keys: fix octal notation for Python 3 without losing compatibility with Python 2

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25857 from ashishkumsingh/wip-37822-mimic
Yuri Weinstein [Tue, 5 Feb 2019 15:22:40 +0000 (07:22 -0800)]
Merge pull request #25857 from ashishkumsingh/wip-37822-mimic

mimic: mds: log evicted clients to clog/dbg

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25885 from pdvian/wip-37818-mimic
Yuri Weinstein [Tue, 5 Feb 2019 15:21:54 +0000 (07:21 -0800)]
Merge pull request #25885 from pdvian/wip-37818-mimic

mimic: mds: remove wrong assertion in Locker::snapflush_nudge

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #26010 from smithfarm/wip-37819-mimic
Yuri Weinstein [Tue, 5 Feb 2019 15:21:03 +0000 (07:21 -0800)]
Merge pull request #26010 from smithfarm/wip-37819-mimic

mimic: mds: create separate config for heartbeat timeout

Reviewed-by:  Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #26055 from smithfarm/wip-37898-mimic
Yuri Weinstein [Tue, 5 Feb 2019 15:20:29 +0000 (07:20 -0800)]
Merge pull request #26055 from smithfarm/wip-37898-mimic

mimic: mds: purge queue recovery hangs during boot if PQ journal is damaged

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #26214 from pdvian/wip-38101-mimic
Yuri Weinstein [Tue, 5 Feb 2019 15:20:02 +0000 (07:20 -0800)]
Merge pull request #26214 from pdvian/wip-38101-mimic

mimic: mds: trim cache after journal flush

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #26009 from sebastian-philipp/dashboard-mirror_mode
Yuri Weinstein [Mon, 4 Feb 2019 20:49:18 +0000 (12:49 -0800)]
Merge pull request #26009 from sebastian-philipp/dashboard-mirror_mode

mimic: mgr/dashboard: Set mirror_mode to None

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by:  Volker Theile <vtheile@suse.com>

6 years agoMerge pull request #26208 from vumrao/wip-vumrao-38107
Yuri Weinstein [Mon, 4 Feb 2019 20:47:00 +0000 (12:47 -0800)]
Merge pull request #26208 from vumrao/wip-vumrao-38107

mimic: mgr/DaemonServer: log pgmap usage to cluster log

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agomds: allow boot on read-only 26055/head
Patrick Donnelly [Sun, 23 Dec 2018 22:22:49 +0000 (14:22 -0800)]
mds: allow boot on read-only

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit c7ce967b778a0b86b335f6801301e484aaf6ebc3)

Conflicts:
src/mds/MDSRank.cc
- no ceph_assert in mimic

6 years agomds: setup readonly mode for PurgeQueue
Patrick Donnelly [Tue, 18 Dec 2018 23:11:02 +0000 (15:11 -0800)]
mds: setup readonly mode for PurgeQueue

If the PQ faces an error, it should go read-only along with the MDS rank.

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

Conflicts:
src/mds/PurgeQueue.cc
- Mutex::Locker instead of std::lock_guard
- no ceph_assert in mimic

6 years agomds: add missing locks for PurgeQueue methods
Patrick Donnelly [Tue, 18 Dec 2018 23:08:11 +0000 (15:08 -0800)]
mds: add missing locks for PurgeQueue methods

These could race with the asynchronous workings of the PQ.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit c7350ac23c73867b52cd9b7bb23b6c618eebe44d)

Conflicts:
src/mds/PurgeQueue.cc
- use Mutex::Locker instead of std::lock_guard
- no "ceph_assert" in mimic

6 years agomds: delete on_error context on des
Patrick Donnelly [Tue, 18 Dec 2018 22:00:29 +0000 (14:00 -0800)]
mds: delete on_error context on des

Otherwise it leaks.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 33279822eabb64380f5968cc645735a8f99a3ac1)

6 years agomds: trim cache after journal flush 26214/head
Patrick Donnelly [Tue, 22 Jan 2019 20:12:55 +0000 (12:12 -0800)]
mds: trim cache after journal flush

Dropping cache should trim the cache only after journal flush otherwise dirty
inodes will remain pinned in cache.

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

6 years agomgr/DaemonServer: log pgmap usage to cluster log 26208/head
Neha Ojha [Thu, 24 Jan 2019 03:25:12 +0000 (19:25 -0800)]
mgr/DaemonServer: log pgmap usage to cluster log

- change default of mon_cluster_log_file_level to debug
- log to clog->debug()

Fixes: https://tracker.ceph.com/issues/37886
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit f64a69e5054fb319e9f717bbcb7ddd8541e01c6f)

 Conflicts:
src/common/options.cc
        dropped master .add_service, .add_see_also

6 years agoMerge pull request #25306 from trociny/wip-37437-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:07:36 +0000 (09:07 -0800)]
Merge pull request #25306 from trociny/wip-37437-mimic

mimic: crushtool: add --reclassify operation to convert legacy crush maps to use device classes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #25313 from pdvian/wip-36639-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:06:04 +0000 (09:06 -0800)]
Merge pull request #25313 from pdvian/wip-36639-mimic

mimic: os/bluestore: rename does not old ref to replacement onode at old name

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge pull request #25526 from smithfarm/wip-36753-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:04:26 +0000 (09:04 -0800)]
Merge pull request #25526 from smithfarm/wip-36753-mimic

mimic: mon: log last command skips latest entry

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25603 from smithfarm/wip-37686-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:03:47 +0000 (09:03 -0800)]
Merge pull request #25603 from smithfarm/wip-37686-mimic

mimic: core: list-inconsistent-obj output truncated, causing osd-scrub-repair.sh failure

Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #25694 from joscollin/wip-37624-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:03:10 +0000 (09:03 -0800)]
Merge pull request #25694 from joscollin/wip-37624-mimic

mimic: pybind/mgr/status: fix ceph fs status in py3 environments.

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25708 from joscollin/wip-37755-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:02:01 +0000 (09:02 -0800)]
Merge pull request #25708 from joscollin/wip-37755-mimic

mimic: osd/PrimaryLogPG: fix the extent length error of the sync read

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25822 from batrick/i36209
Yuri Weinstein [Wed, 30 Jan 2019 17:01:19 +0000 (09:01 -0800)]
Merge pull request #25822 from batrick/i36209

mimic: mds: runs out of file descriptors after several respawns

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25852 from ashishkumsingh/wip-37832-mimic
Yuri Weinstein [Wed, 30 Jan 2019 17:00:26 +0000 (09:00 -0800)]
Merge pull request #25852 from ashishkumsingh/wip-37832-mimic

mimic: objecter: avoid race when reset down osd's session

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #26128 from xiexingguo/wip-mimic-upmap-fixes
Yuri Weinstein [Wed, 30 Jan 2019 16:57:45 +0000 (08:57 -0800)]
Merge pull request #26128 from xiexingguo/wip-mimic-upmap-fixes

mimic: osd: backport recent upmap fixes

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #26147 from ashishkumsingh/wip-38045-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:56:34 +0000 (08:56 -0800)]
Merge pull request #26147 from ashishkumsingh/wip-38045-mimic

mimic: tests: qa/overrides/short_pg_log.yaml: reduce osd_{min,max}_pg_log_entries

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25413 from tombarron/mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:52:27 +0000 (08:52 -0800)]
Merge pull request #25413 from tombarron/mimic

mimic: ceph-volume-client: allow setting mode of CephFS volumes

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25515 from smithfarm/wip-36578-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:52:01 +0000 (08:52 -0800)]
Merge pull request #25515 from smithfarm/wip-36578-mimic

mimic: qa: teuthology may hang on diagnostic commands for fuse mount

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25517 from smithfarm/wip-37424-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:51:35 +0000 (08:51 -0800)]
Merge pull request #25517 from smithfarm/wip-37424-mimic

mimic: qa: wrong setting for msgr failures

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25519 from smithfarm/wip-37603-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:51:07 +0000 (08:51 -0800)]
Merge pull request #25519 from smithfarm/wip-37603-mimic

mimic: mds: severe internal fragment when decoding xattr_map from log event

Reviewed-by:  Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #25521 from smithfarm/wip-37607-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:50:08 +0000 (08:50 -0800)]
Merge pull request #25521 from smithfarm/wip-37607-mimic

mimic: mds: directories pinned keep being replicated back and forth between exporting mds and importing mds

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25523 from smithfarm/wip-37605-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:49:38 +0000 (08:49 -0800)]
Merge pull request #25523 from smithfarm/wip-37605-mimic

mimic: mds: PurgeQueue write error handler does not handle EBLACKLISTED

Reviewed-by:  Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #25557 from smithfarm/wip-37611-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:49:09 +0000 (08:49 -0800)]
Merge pull request #25557 from smithfarm/wip-37611-mimic

mimic: qa: pjd test appears to require more than 3h timeout for some configurations

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25559 from smithfarm/wip-37626-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:48:41 +0000 (08:48 -0800)]
Merge pull request #25559 from smithfarm/wip-37626-mimic

mimic: mds: fix incorrect l_pq_executing_ops statistics when meet an invalid item in purge queue

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25561 from smithfarm/wip-37628-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:47:23 +0000 (08:47 -0800)]
Merge pull request #25561 from smithfarm/wip-37628-mimic

mimic: mds: do not call Journaler::_trim twice

Reviewed-by:  Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #25642 from vshankar/wip-37609
Yuri Weinstein [Wed, 30 Jan 2019 16:46:48 +0000 (08:46 -0800)]
Merge pull request #25642 from vshankar/wip-37609

mimic: mds: disallow dumping huge caches to formatter

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25676 from joscollin/wip-37699-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:46:18 +0000 (08:46 -0800)]
Merge pull request #25676 from joscollin/wip-37699-mimic

mimic: mds: fix bug filelock stuck at LOCK_XSYN leading client can't read data

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25678 from joscollin/wip-37695-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:45:35 +0000 (08:45 -0800)]
Merge pull request #25678 from joscollin/wip-37695-mimic

mimic: client: fix failure in quota size limitation when using samba

Reviewed-by:  Venky Shankar <vshankar@redhat.com>

6 years agoMerge pull request #25680 from joscollin/wip-37634-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:45:09 +0000 (08:45 -0800)]
Merge pull request #25680 from joscollin/wip-37634-mimic

mimic: mds: fix races of updating wanted caps

Reviewed-by:  Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #25681 from joscollin/wip-37632-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:43:22 +0000 (08:43 -0800)]
Merge pull request #25681 from joscollin/wip-37632-mimic

mimic: mds: remove duplicated l_mdc_num_strays perfcounter set

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
6 years agoMerge pull request #25683 from joscollin/wip-37630-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:41:52 +0000 (08:41 -0800)]
Merge pull request #25683 from joscollin/wip-37630-mimic

mimic: client: do not move f->pos untill success write

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #25685 from joscollin/wip-37738-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:41:15 +0000 (08:41 -0800)]
Merge pull request #25685 from joscollin/wip-37738-mimic

mimic: MDSMonitor: allow beacons from stopping MDS that was laggy

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #25803 from ashishkumsingh/wip-37757-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:40:24 +0000 (08:40 -0800)]
Merge pull request #25803 from ashishkumsingh/wip-37757-mimic

mimic: mds: clean up log messages for standby-replay

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #25903 from pdvian/wip-37828-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:39:57 +0000 (08:39 -0800)]
Merge pull request #25903 from pdvian/wip-37828-mimic

mimic: client: fix fuse client hang because its pipe to mds is not ok

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #25980 from pdvian/wip-37907-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:39:32 +0000 (08:39 -0800)]
Merge pull request #25980 from pdvian/wip-37907-mimic

mimic: mds: wait shorter intervals if beacon not sent

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26047 from pdvian/wip-37923-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:39:01 +0000 (08:39 -0800)]
Merge pull request #26047 from pdvian/wip-37923-mimic

mimic: qa: test_damage performs truncate test on same object repeatedly

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26051 from ukernel/mimic-37594
Yuri Weinstein [Wed, 30 Jan 2019 16:37:52 +0000 (08:37 -0800)]
Merge pull request #26051 from ukernel/mimic-37594

mimic: mds: handle state change race

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26066 from pdvian/wip-37986-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:36:51 +0000 (08:36 -0800)]
Merge pull request #26066 from pdvian/wip-37986-mimic

mimic: core: Objecter::calc_op_budget: Fix invalid access to extent union member

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26069 from pdvian/wip-37988-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:36:20 +0000 (08:36 -0800)]
Merge pull request #26069 from pdvian/wip-37988-mimic

mimic: MDSMonitor: missing osdmon writeable check

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26072 from smithfarm/wip-37952-mimic
Yuri Weinstein [Wed, 30 Jan 2019 16:35:52 +0000 (08:35 -0800)]
Merge pull request #26072 from smithfarm/wip-37952-mimic

mimic: qa: test_damage needs to silence MDS_READ_ONLY

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #26180 from pdvian/wip-37894-mimic
Nathan Cutler [Wed, 30 Jan 2019 13:22:39 +0000 (14:22 +0100)]
Merge pull request #26180 from pdvian/wip-37894-mimic

mimic: doc: updated Ceph documentation links

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoqa: downgrade librados2,librbd1 for thrash-old-clients tests 26201/head
Kefu Chai [Mon, 10 Dec 2018 10:35:45 +0000 (18:35 +0800)]
qa: downgrade librados2,librbd1 for thrash-old-clients tests

librados2 and librbd1 are installed as a dependency of qemu-kvm.
qemu-kvm is installed by ceph-cm-ansible, see [1].

in thrash-old-clients, jewel packages are installed, but yum does
not allow downgrade unless it's required explicitly. in this change,
we downgrade librbd1 and librados2 to address this issue.

currently, the ceph packages shipped by CentOS/RHEL 7 are still an old
version of jewel. so this issue only kicks in when we try to install
hammer.

this change should address failures like

Command failed on smithi136 with status 1: '\n sudo yum -y install
rbd-fuse\n '

found in rados/thrash-old-clients tests.

---
[1]
https://github.com/ceph/ceph-cm-ansible/commit/3db1cbdc226ecdea532bcc7cd6e710b5ad2bb0d6#diff-f2b05d775fedff6c5c6689f564b32f1c

Fixes: http://tracker.ceph.com/issues/37618
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1d973c1e900d87824298ec82e8e08a1775dca7b1)

Conflicts:
qa/suites/rados/thrash-old-clients/1-install/hammer.yaml

6 years agoqa/suites/upgrade/luminous-x/stress-split: set flag pglog_hardlimit
Neha Ojha [Mon, 28 Jan 2019 23:13:12 +0000 (23:13 +0000)]
qa/suites/upgrade/luminous-x/stress-split: set flag pglog_hardlimit

We should be able to set this flag after latest luminous is installed.

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25511 from smithfarm/wip-37465-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:57:50 +0000 (08:57 -0800)]
Merge pull request #25511 from smithfarm/wip-37465-mimic

mimic: rgw: master zone deletion without a zonegroup rm would break rgw rados init

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoMerge pull request #25578 from pdvian/wip-37556-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:57:13 +0000 (08:57 -0800)]
Merge pull request #25578 from pdvian/wip-37556-mimic

mimic: multisite: es sync null versioned object failed because of olh info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25624 from pdvian/wip-37560-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:56:40 +0000 (08:56 -0800)]
Merge pull request #25624 from pdvian/wip-37560-mimic

mimic: rgw: rgwgc: process coredump in some special case

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25954 from pdvian/wip-37890-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:56:08 +0000 (08:56 -0800)]
Merge pull request #25954 from pdvian/wip-37890-mimic

mimic: rbd: fix delay time calculation for trash move

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
6 years agoMerge pull request #26049 from pdvian/wip-37920-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:55:31 +0000 (08:55 -0800)]
Merge pull request #26049 from pdvian/wip-37920-mimic

mimic: test/rbd_mirror: wait for release leader lock fully complete

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
6 years agoMerge pull request #26137 from ashishkumsingh/wip-38032-mimic
Yuri Weinstein [Tue, 29 Jan 2019 16:54:37 +0000 (08:54 -0800)]
Merge pull request #26137 from ashishkumsingh/wip-38032-mimic

mimic: librbd: properly filter out trashed non-user images on purge

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoosd/OSD: OSD::mkfs asserts when reusing disk with existing superblock. 25385/head
Igor Fedotov [Tue, 27 Nov 2018 11:39:09 +0000 (14:39 +0300)]
osd/OSD: OSD::mkfs asserts when reusing disk with existing superblock.

Fixes: http://tracker.ceph.com/issues/37404
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 328ab2d9f0a27aa38d153469f8ed11e21a6c3ae8)

6 years agoqa/suites/upgrade/mimic-p2p: restructure parallel and add stress-split
Neha Ojha [Mon, 28 Jan 2019 23:02:47 +0000 (23:02 +0000)]
qa/suites/upgrade/mimic-p2p: restructure parallel and add stress-split

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agodoc: updated Ceph documentation links 26180/head
James McClune [Fri, 4 Jan 2019 21:32:21 +0000 (16:32 -0500)]
doc: updated Ceph documentation links

Fixes include:

- Updating Doxygen link for reference (http://docs.ceph.com/docs/master/dev/documenting/)
- Adding :ref: label for User Management page (http://docs.ceph.com/docs/master/rados/operations/user-management/)
- Update User Management link for reference (http://docs.ceph.com/docs/master/rbd/rbd-snapshot/)

Fixes: https://tracker.ceph.com/issues/37793
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
(cherry picked from commit 7ff2f215a3d051c4ef226bfdc81184d89520e152)

6 years agoqa/suites/upgrade/luminous-x: add pg log settings
Neha Ojha [Fri, 21 Dec 2018 21:43:21 +0000 (13:43 -0800)]
qa/suites/upgrade/luminous-x: add pg log settings

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

6 years agoinclude/rados.h: hide CEPH_OSDMAP_PGLOG_HARDLIMIT from ceph -s
Neha Ojha [Thu, 10 Jan 2019 02:12:17 +0000 (18:12 -0800)]
include/rados.h: hide CEPH_OSDMAP_PGLOG_HARDLIMIT from ceph -s

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

6 years agomon/OSDMonitor.cc: make a note about reusing jewel feature bit
Neha Ojha [Mon, 7 Jan 2019 23:26:27 +0000 (15:26 -0800)]
mon/OSDMonitor.cc: make a note about reusing jewel feature bit

For OSD_PGLOG_HARDLIMIT, we have reused a jewel feature bit that was retired
in luminous. Therefore, we need to check the release version for
>= CEPH_RELEASE_LUMINOUS, before using it.

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

6 years agomon: add and use OSD_PGLOG_HARDLIMIT feature bit
Neha Ojha [Thu, 20 Dec 2018 17:27:34 +0000 (09:27 -0800)]
mon: add and use OSD_PGLOG_HARDLIMIT feature bit

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

6 years agoosd/mon: fix upgrades for pg log hard limit
Neha Ojha [Tue, 18 Dec 2018 00:20:10 +0000 (16:20 -0800)]
osd/mon: fix upgrades for pg log hard limit

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

Conflicts:
src/mon/MonCommands.h: trivial resolution

6 years agoosd: bring back old calc_trim_to and rename new method
Neha Ojha [Fri, 14 Dec 2018 23:59:24 +0000 (15:59 -0800)]
osd: bring back old calc_trim_to and rename new method

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

6 years agoMerge pull request #25699 from xiexingguo/wip-37744
Yuri Weinstein [Fri, 25 Jan 2019 16:14:30 +0000 (08:14 -0800)]
Merge pull request #25699 from xiexingguo/wip-37744

mimic: osd/OSDMap: cancel mapping if target osd is out

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25292 from smithfarm/wip-37417-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:13:30 +0000 (08:13 -0800)]
Merge pull request #25292 from smithfarm/wip-37417-mimic

mimic: mgr: various python3 fixes

Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #25299 from smithfarm/wip-37428-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:12:47 +0000 (08:12 -0800)]
Merge pull request #25299 from smithfarm/wip-37428-mimic

mimic: msg/async: crashes when authenticator provided by verify_authorizer not implemented

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25718 from ashishkumsingh/wip-37552-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:11:54 +0000 (08:11 -0800)]
Merge pull request #25718 from ashishkumsingh/wip-37552-mimic

mimic: osdc/Objecter: update op_target_t::paused in _calc_target

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25759 from pdvian/wip-37599-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:11:14 +0000 (08:11 -0800)]
Merge pull request #25759 from pdvian/wip-37599-mimic

mimic: pybind/mgr: drop unnecessary iterkeys usage to make py-3 compatible

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
6 years agoMerge pull request #25864 from ashishkumsingh/wip-37826-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:10:18 +0000 (08:10 -0800)]
Merge pull request #25864 from ashishkumsingh/wip-37826-mimic

mimic: mgr: fix crash due to multiple sessions from daemons with same name

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25368 from pdvian/wip-37477-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:09:09 +0000 (08:09 -0800)]
Merge pull request #25368 from pdvian/wip-37477-mimic

mimic: mgr: race between daemon state and service map in 'service status'

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25513 from smithfarm/wip-37342-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:08:34 +0000 (08:08 -0800)]
Merge pull request #25513 from smithfarm/wip-37342-mimic

mimic: osd: Prioritize user specified scrubs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #25605 from smithfarm/wip-37698-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:07:54 +0000 (08:07 -0800)]
Merge pull request #25605 from smithfarm/wip-37698-mimic

mimic: osd: failed assert when osd_memory_target options mismatch

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25809 from pdvian/wip-37742-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:06:41 +0000 (08:06 -0800)]
Merge pull request #25809 from pdvian/wip-37742-mimic

mimic: build/ops: rpm: require ceph-base instead of ceph-common

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #25844 from pdvian/wip-37810-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:06:10 +0000 (08:06 -0800)]
Merge pull request #25844 from pdvian/wip-37810-mimic

mimic: mon/OSDMonitor: do not populate void pg_temp into nextmap

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #25846 from pdvian/wip-37812-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:05:34 +0000 (08:05 -0800)]
Merge pull request #25846 from pdvian/wip-37812-mimic

mimic: mon: shutdown messenger early to avoid accessing deleted logger

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25850 from ashishkumsingh/wip-37814-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:04:33 +0000 (08:04 -0800)]
Merge pull request #25850 from ashishkumsingh/wip-37814-mimic

mimic: qa/workunits/rados/test_health_warnings: prevent out osds

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #25854 from ashishkumsingh/wip-37824-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:03:44 +0000 (08:03 -0800)]
Merge pull request #25854 from ashishkumsingh/wip-37824-mimic

mimic: os/bluestore: KernelDevice::read() does the EIO mapping now.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #25958 from xiexingguo/wip-mimic-async-fixes
Yuri Weinstein [Fri, 25 Jan 2019 16:03:07 +0000 (08:03 -0800)]
Merge pull request #25958 from xiexingguo/wip-mimic-async-fixes

mimic: msg/async: backport recent messenger fixes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26118 from ceph/backport-mimic-26084
Alfredo Deza [Fri, 25 Jan 2019 16:01:42 +0000 (11:01 -0500)]
Merge pull request #26118 from ceph/backport-mimic-26084

mimic: ceph-volume: mark a device not available if it belongs to ceph-disk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #25386 from pdvian/wip-37483-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:01:12 +0000 (08:01 -0800)]
Merge pull request #25386 from pdvian/wip-37483-mimic

mimic: rgw: Don't treat colons specially in resource part of ARN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25449 from smithfarm/wip-37518-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:00:43 +0000 (08:00 -0800)]
Merge pull request #25449 from smithfarm/wip-37518-mimic

mimic: rgw: fix max-size in radosgw-admin and REST Admin API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25459 from pdvian/wip-37536-mimic
Yuri Weinstein [Fri, 25 Jan 2019 16:00:10 +0000 (08:00 -0800)]
Merge pull request #25459 from pdvian/wip-37536-mimic

mimic: librbd: reset snaps in rbd_snap_list()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25485 from pdvian/wip-37548-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:59:34 +0000 (07:59 -0800)]
Merge pull request #25485 from pdvian/wip-37548-mimic

mimic: rgw_file: user info never synced since librgw init

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #25505 from smithfarm/wip-37550-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:59:04 +0000 (07:59 -0800)]
Merge pull request #25505 from smithfarm/wip-37550-mimic

mimic: rgw: multisite: sync gets stuck retrying deletes that fail with ERR_PRECONDITION_FAILED

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25643 from pdvian/wip-37562-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:58:35 +0000 (07:58 -0800)]
Merge pull request #25643 from pdvian/wip-37562-mimic

mimic: rgw: fix version bucket stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25740 from pdvian/wip-37649-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:57:49 +0000 (07:57 -0800)]
Merge pull request #25740 from pdvian/wip-37649-mimic

mimic: rgw: feature -- log successful bucket resharding events

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoMerge pull request #25899 from ashishkumsingh/wip-37558-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:56:44 +0000 (07:56 -0800)]
Merge pull request #25899 from ashishkumsingh/wip-37558-mimic

mimic:  rgw: handle S3 version 2 pre-signed urls with meta-data

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #26003 from smithfarm/wip-37948-mimic
Yuri Weinstein [Fri, 25 Jan 2019 15:56:08 +0000 (07:56 -0800)]
Merge pull request #26003 from smithfarm/wip-37948-mimic

mimic: rgw: debug logging for v4 auth does not sanitize encryption keys

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25607 from joscollin/wip-37684-mimic
Nathan Cutler [Fri, 25 Jan 2019 13:34:10 +0000 (14:34 +0100)]
Merge pull request #25607 from joscollin/wip-37684-mimic

mimic: doc/user-management: Remove obsolete reset caps command

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #25501 from joscollin/wip-37601-mimic
Nathan Cutler [Fri, 25 Jan 2019 13:27:09 +0000 (14:27 +0100)]
Merge pull request #25501 from joscollin/wip-37601-mimic

mimic: doc: broken link on troubleshooting-mon page

Reviewed-by: Nathan Cutler <ncutler@suse.com>