]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc/releases/mimic: edit/clean up upgrade notes 22006/head
Sage Weil [Tue, 15 May 2018 17:56:34 +0000 (12:56 -0500)]
doc/releases/mimic: edit/clean up upgrade notes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/releases/schedule: add mimic column
Sage Weil [Tue, 15 May 2018 13:46:56 +0000 (08:46 -0500)]
doc/releases/schedule: add mimic column

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #21924 into master
Patrick Donnelly [Tue, 15 May 2018 17:10:03 +0000 (10:10 -0700)]
Merge PR #21924 into master

* refs/pull/21924/head:
align lspools output in file-layouts and manual-freebsd-deployment
Fixed configuration setting standby_replay
Fixed the order of configuration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #22016 from LenzGr/dashboard-mimic-reasenotes
Sage Weil [Tue, 15 May 2018 16:25:09 +0000 (11:25 -0500)]
Merge pull request #22016 from LenzGr/dashboard-mimic-reasenotes

doc/releases/mimic: Updated dashboard description

7 years agodoc/releases/mimic: Updated dashboard description 22016/head
Lenz Grimmer [Tue, 15 May 2018 16:14:47 +0000 (18:14 +0200)]
doc/releases/mimic: Updated dashboard description

Fixed typo and slightly reworked the description of the mgr
dashboard in the "Major changes" section. Updated the
description in the "Notable changes" section as well by adding
a note about creating an SSL certificate.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge PR #21842 into master
Patrick Donnelly [Tue, 15 May 2018 13:43:00 +0000 (06:43 -0700)]
Merge PR #21842 into master

* refs/pull/21842/head:
MDSMonitor: clean up use of pending fsmap in uncommitted ops
MDSMonitor: refactor last_beacons to use mono_clock
mds: refactor MDSMap init
mds: refactor FSMap init
mds: refactor Filesystem init
mds: move compat set methods to MDSMap

Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agoMerge pull request #21986 from cbodley/wip-24124
Casey Bodley [Tue, 15 May 2018 13:40:44 +0000 (09:40 -0400)]
Merge pull request #21986 from cbodley/wip-24124

Revert "common: add an async SharedMutex"

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #21987 from liewegas/wip-mimic-upgrade
Sage Weil [Tue, 15 May 2018 13:32:10 +0000 (08:32 -0500)]
Merge pull request #21987 from liewegas/wip-mimic-upgrade

doc/releases/mimic: upgrade steps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc/releases/mimic: upgrade steps 21987/head
Sage Weil [Mon, 14 May 2018 20:16:14 +0000 (15:16 -0500)]
doc/releases/mimic: upgrade steps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21809 from tchaikov/wip-22420
Kefu Chai [Tue, 15 May 2018 12:47:15 +0000 (20:47 +0800)]
Merge pull request #21809 from tchaikov/wip-22420

mon,osd: dump "compression_algorithms" in "mon metadata"

Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21933 from tspmelo/fix-unittest-warnings
Lenz Grimmer [Tue, 15 May 2018 09:19:55 +0000 (11:19 +0200)]
Merge pull request #21933 from tspmelo/fix-unittest-warnings

mgr/dashboard: Fix unit tests cli warnings

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21967 from votdev/bug_24097
Lenz Grimmer [Tue, 15 May 2018 09:19:18 +0000 (11:19 +0200)]
Merge pull request #21967 from votdev/bug_24097

mgr/dashboard: Navbar dropdown button does not respond for mobile browsers

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21971 from tspmelo/remove-husky
Lenz Grimmer [Tue, 15 May 2018 09:17:47 +0000 (11:17 +0200)]
Merge pull request #21971 from tspmelo/remove-husky

Mgr/dashboard: Remove husky package

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21895 from yuriw/wip-yuriw-add-dollar1
Josh Durgin [Mon, 14 May 2018 23:18:45 +0000 (16:18 -0700)]
Merge pull request #21895 from yuriw/wip-yuriw-add-dollar1

tests/qa: trying $ distro mix

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21949 from yuriw/wip-yuriw-crontab
Yuri Weinstein [Mon, 14 May 2018 23:14:42 +0000 (16:14 -0700)]
Merge pull request #21949 from yuriw/wip-yuriw-crontab

qa/tests: added --filter-out="ubuntu_14.04"

7 years agoMerge PR #21966 into master
Patrick Donnelly [Mon, 14 May 2018 20:28:49 +0000 (13:28 -0700)]
Merge PR #21966 into master

* refs/pull/21966/head:
mds: handle imported session race
mds: check for session import race

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #20975 from theanalyst/doc/releases/mimic-dev-2
Sage Weil [Mon, 14 May 2018 20:03:54 +0000 (15:03 -0500)]
Merge pull request #20975 from theanalyst/doc/releases/mimic-dev-2

doc: mimic rc1 release notes

7 years agomds: handle imported session race 21966/head
Patrick Donnelly [Mon, 14 May 2018 04:27:51 +0000 (21:27 -0700)]
mds: handle imported session race

Thanks to Yan Zheng for identifying and reviewing the fix.

Fixes: http://tracker.ceph.com/issues/24087
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomds: check for session import race
Patrick Donnelly [Mon, 14 May 2018 02:58:17 +0000 (19:58 -0700)]
mds: check for session import race

Credit to Yan Zheng for identifying the race condition [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1572555#c7

Test-for: http://tracker.ceph.com/issues/24072

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoRevert "common: add an async SharedMutex" 21986/head
Casey Bodley [Mon, 14 May 2018 18:58:03 +0000 (14:58 -0400)]
Revert "common: add an async SharedMutex"

This reverts commit 67fe5d25a7bd57841d5d1a2636c4e46ae97ac3e7.

Fixes: http://tracker.ceph.com/issues/24124
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMgr/dashboard: Remove husky package 21971/head
Tiago Melo [Mon, 14 May 2018 08:41:56 +0000 (09:41 +0100)]
Mgr/dashboard: Remove husky package

It seems pretty-quick is not restricted to the root of the dashboard frontend
and this could bring undesired changes to some files.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21785 from votdev/info_no_rgw
Lenz Grimmer [Mon, 14 May 2018 12:20:54 +0000 (14:20 +0200)]
Merge pull request #21785 from votdev/info_no_rgw

mgr/dashboard: Display notification if RGW is not configured

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #21975 from ukernel/wip-revert-23837
Yan, Zheng [Mon, 14 May 2018 11:55:51 +0000 (19:55 +0800)]
Merge pull request #21975 from ukernel/wip-revert-23837

Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would le…

7 years agoRevert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert... 21975/head
Yan, Zheng [Mon, 14 May 2018 11:50:19 +0000 (19:50 +0800)]
Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail"

This reverts commit 07e3bceea78dc8ecd76abb1cafca5c9d1fde521e.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomgr/dashboard: Display useful info if RGW is not configured 21785/head
Volker Theile [Mon, 7 May 2018 14:50:14 +0000 (16:50 +0200)]
mgr/dashboard: Display useful info if RGW is not configured

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add ModuleStatusGuardService route guard
Volker Theile [Mon, 7 May 2018 14:49:55 +0000 (16:49 +0200)]
mgr/dashboard: Add ModuleStatusGuardService route guard

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add info panel component
Volker Theile [Mon, 7 May 2018 12:45:34 +0000 (14:45 +0200)]
mgr/dashboard: Add info panel component

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20118 from b-ranto/wip-selinux-ldconfig
Kefu Chai [Mon, 14 May 2018 10:48:18 +0000 (18:48 +0800)]
Merge pull request #20118 from b-ranto/wip-selinux-ldconfig

selinux: Allow ceph to execute ldconfig

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21943 from tchaikov/wip-24077
Kefu Chai [Mon, 14 May 2018 10:41:18 +0000 (18:41 +0800)]
Merge pull request #21943 from tchaikov/wip-24077

qa/tasks/mgr: fix test_pool.py

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoselinux: Allow ceph to block suspend 20118/head
Boris Ranto [Wed, 11 Apr 2018 13:25:59 +0000 (15:25 +0200)]
selinux: Allow ceph to block suspend

Ceph is now trying to block suspend in certain cases, we need to update
the policy accordingly.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoselinux: Allow ceph to execute ldconfig
Boris Ranto [Thu, 25 Jan 2018 15:31:30 +0000 (16:31 +0100)]
selinux: Allow ceph to execute ldconfig

The ceph-volume testing showed that the ceph daemons can run ldconfig in
a corner case when they are forbidden access to some files. This patch
allows ceph to execute ldconfig in Enforcing mode.

Fixes: https://tracker.ceph.com/issues/22302
Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr/dashboard: Navbar dropdown button does not respond for mobile-like browsers 21967/head
Volker Theile [Mon, 14 May 2018 06:13:18 +0000 (08:13 +0200)]
mgr/dashboard: Navbar dropdown button does not respond for mobile-like browsers

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20731 from yuyuyu101/wip-opti-ac
Kefu Chai [Mon, 14 May 2018 06:35:02 +0000 (14:35 +0800)]
Merge pull request #20731 from yuyuyu101/wip-opti-ac

msg/async: avoid put message within write_lock

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21946 from dillaman/wip-24092
Mykola Golub [Sun, 13 May 2018 14:21:08 +0000 (17:21 +0300)]
Merge pull request #21946 from dillaman/wip-24092

rbd: disable cache for actions that open multiple images

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/tests: added --filter-out="ubuntu_14.04" 21949/head
Yuri Weinstein [Fri, 11 May 2018 19:45:55 +0000 (12:45 -0700)]
qa/tests: added --filter-out="ubuntu_14.04"

This is needed for all "client-upgrade-*" suites running on mimic

Fixes https://tracker.ceph.com/issues/2402

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21804 from dillaman/wip-24000
Kefu Chai [Sat, 12 May 2018 11:20:24 +0000 (19:20 +0800)]
Merge pull request #21804 from dillaman/wip-24000

osdc: self-managed snapshot helper should catch decode exception

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21929 from majianpeng/fio-ceph-objectstore
Kefu Chai [Sat, 12 May 2018 11:18:50 +0000 (19:18 +0800)]
Merge pull request #21929 from majianpeng/fio-ceph-objectstore

test/fio: add option single_pool_mode in ceph-bluestore.fio

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #21905 from jcsp/wip-24022
Kefu Chai [Sat, 12 May 2018 11:15:57 +0000 (19:15 +0800)]
Merge pull request #21905 from jcsp/wip-24022

osd: write "bench" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21950 from liewegas/wip-23899
Kefu Chai [Sat, 12 May 2018 11:10:56 +0000 (19:10 +0800)]
Merge pull request #21950 from liewegas/wip-23899

osd: clean up smart probe

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21940 from dmick/wip-remove-cephd
Kefu Chai [Sat, 12 May 2018 11:08:14 +0000 (19:08 +0800)]
Merge pull request #21940 from dmick/wip-remove-cephd

cmake: Remove embedded 'cephd' code

Reviewed-by: Bassam Tabbara <Bassam.Tabbara@Quantum.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks/mgr: fix test_pool.py 21943/head
Kefu Chai [Fri, 11 May 2018 14:12:43 +0000 (22:12 +0800)]
qa/tasks/mgr: fix test_pool.py

* per command desc of "osd pool set", "val" parameter should be a "string"
  not a number. so update the test_pool.py accordingly.
* also as a follow-up of 65925511bc, we need to update the test
  accordingly to reflect the change in the error's str representation.

Fixes: http://tracker.ceph.com/issues/24077
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #21615 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:54 +0000 (14:57 -0700)]
Merge PR #21615 into master

* refs/pull/21615/head:
ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21769 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:48 +0000 (14:57 -0700)]
Merge PR #21769 into master

* refs/pull/21769/head:
mds: properly reconnect client caps after loading inodes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21883 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:42 +0000 (14:57 -0700)]
Merge PR #21883 into master

* refs/pull/21883/head:
mds: tighten conditions of calling rejoin_gather_finish()
mds: avoid calling rejoin_gather_finish() two times successively

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21923 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:36 +0000 (14:57 -0700)]
Merge PR #21923 into master

* refs/pull/21923/head:
mds: set could_consume to false when no purge queue item actually executed

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agotests/qa: adding rados/.. dirs 21895/head
Yuri Weinstein [Tue, 8 May 2018 21:31:56 +0000 (14:31 -0700)]
tests/qa: adding rados/.. dirs

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoosd: clean up smart probe code a bit 21950/head
Sage Weil [Fri, 11 May 2018 20:21:46 +0000 (15:21 -0500)]
osd: clean up smart probe code a bit

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoRemove embedded 'cephd' code 21940/head
Dan Mick [Wed, 9 May 2018 02:24:17 +0000 (19:24 -0700)]
Remove embedded 'cephd' code

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #21942 from tchaikov/wip-qa-ceph-disk-no-mon-config
Sage Weil [Fri, 11 May 2018 18:01:38 +0000 (13:01 -0500)]
Merge pull request #21942 from tchaikov/wip-qa-ceph-disk-no-mon-config

qa/workunits/ceph-disk: --no-mon-config

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21945 from tchaikov/wip-dashboard-errno
Kefu Chai [Fri, 11 May 2018 17:46:50 +0000 (01:46 +0800)]
Merge pull request #21945 from tchaikov/wip-dashboard-errno

mgr/dashboard: set errno via the parent class

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21947 from yuriw/wip-yuriw-crontab
David Galloway [Fri, 11 May 2018 17:31:37 +0000 (13:31 -0400)]
Merge pull request #21947 from yuriw/wip-yuriw-crontab

qa/tests: added client-upgrade-luminous suit

7 years agoqa/tests: added client-upgrade-luminous suit 21947/head
Yuri Weinstein [Fri, 11 May 2018 17:18:27 +0000 (10:18 -0700)]
qa/tests: added client-upgrade-luminous suit

Fixes https://tracker.ceph.com/issues/24021
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agorbd: disable cache for actions that open multiple images 21946/head
Jason Dillaman [Fri, 11 May 2018 17:11:36 +0000 (13:11 -0400)]
rbd: disable cache for actions that open multiple images

Fixes: http://tracker.ceph.com/issues/24092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/dashboard: set errno via the parent class 21945/head
Kefu Chai [Fri, 11 May 2018 16:42:46 +0000 (00:42 +0800)]
mgr/dashboard: set errno via the parent class

update the test accordingly. see also rados.Error.__str__()

Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21524 from dillaman/wip-23517
Jason Dillaman [Fri, 11 May 2018 15:23:02 +0000 (11:23 -0400)]
Merge pull request #21524 from dillaman/wip-23517

test/librados_test_stub: deterministically load cls shared libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21415 from ErwanAliasr1/evelu-cephdisk
Kefu Chai [Fri, 11 May 2018 14:32:22 +0000 (22:32 +0800)]
Merge pull request #21415 from ErwanAliasr1/evelu-cephdisk

ceph-disk: get_partition_dev() should fail until get_dev_path(partnam…

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/workunits/ceph-disk: --no-mon-config 21942/head
Kefu Chai [Fri, 11 May 2018 13:06:51 +0000 (21:06 +0800)]
qa/workunits/ceph-disk: --no-mon-config

port a095ec8b to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: add release notes for v13.1.0 mimic 20975/head
Abhishek Lekshmanan [Fri, 11 May 2018 08:34:10 +0000 (10:34 +0200)]
doc: add release notes for v13.1.0 mimic

Adding mimic.rst and dropping related changes from PendingReleaseNotes. Also
added a few ref. labels from the major changes section

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoalign lspools output in file-layouts and manual-freebsd-deployment 21924/head
Jos Collin [Fri, 11 May 2018 05:54:22 +0000 (11:24 +0530)]
align lspools output in file-layouts and manual-freebsd-deployment

align as per https://github.com/ceph/ceph/commit/50dc08cffd99fd3540d708f6774646806e839553

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoosd: fix osd smart data collection segment fault issue. 21691/head
Gu Zhongyan [Fri, 27 Apr 2018 10:20:02 +0000 (18:20 +0800)]
osd: fix osd smart data collection segment fault issue.
output.read_fd() could return zero length. it needs to
be handled gracefully.

always call invoke join() if spawn() is successfully returned.
otherwise there will be assert failure in ~SubProcess().

Fixes: http://tracker.ceph.com/issues/23899
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21292 from zy751713126/snapshot_count
Jason Dillaman [Thu, 10 May 2018 18:55:38 +0000 (14:55 -0400)]
Merge pull request #21292 from zy751713126/snapshot_count

rbd: add snapshot count in rbd info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd/info: add snapshot count in rbd info
zhengyin [Mon, 9 Apr 2018 02:50:38 +0000 (10:50 +0800)]
rbd/info: add snapshot count in rbd info

Signed-off-by: Zheng Yin <zhengyin@huayun.com>
7 years agotest/fio: add option single_pool_mode in ceph-bluestore.fio 21929/head
Jianpeng Ma [Thu, 10 May 2018 15:56:04 +0000 (23:56 +0800)]
test/fio: add option single_pool_mode in ceph-bluestore.fio

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoceph_release: nautilus
Sage Weil [Thu, 10 May 2018 17:19:22 +0000 (12:19 -0500)]
ceph_release: nautilus

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge remote-tracking branch 'gh/mimic'
Sage Weil [Thu, 10 May 2018 17:18:29 +0000 (12:18 -0500)]
Merge remote-tracking branch 'gh/mimic'

7 years agoceph_release: we are an rc now
Sage Weil [Thu, 10 May 2018 17:16:44 +0000 (12:16 -0500)]
ceph_release: we are an rc now

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Fix unit tests cli warnings 21933/head
Tiago Melo [Thu, 10 May 2018 15:17:39 +0000 (16:17 +0100)]
mgr/dashboard: Fix unit tests cli warnings

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21930 from dillaman/wip-rbd-backports-mimic
Jason Dillaman [Thu, 10 May 2018 15:27:43 +0000 (11:27 -0400)]
Merge pull request #21930 from dillaman/wip-rbd-backports-mimic

rbd: backport of mimic bug fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21893 from cbodley/wip-rgw-req-state-time
Casey Bodley [Thu, 10 May 2018 14:51:47 +0000 (10:51 -0400)]
Merge pull request #21893 from cbodley/wip-rgw-req-state-time

rgw: use coarse_real_clock for req_state::time

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #21931 from yuriw/wip-yuriw-fix-mimic-subset
Kefu Chai [Thu, 10 May 2018 14:45:26 +0000 (22:45 +0800)]
Merge pull request #21931 from yuriw/wip-yuriw-fix-mimic-subset

tests/qa - fix mimic subset for nightlies

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotests/qa - fix mimic subset for nightlies 21931/head
Yuri Weinstein [Thu, 10 May 2018 14:39:51 +0000 (07:39 -0700)]
tests/qa - fix mimic subset for nightlies

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21680 from cbodley/wip-rm-replica-log
Casey Bodley [Thu, 10 May 2018 14:26:55 +0000 (10:26 -0400)]
Merge pull request #21680 from cbodley/wip-rm-replica-log

rgw: remove all traces of cls replica_log

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoRevert "stop.sh: use --no-mon-config when trying to unmap rbd devices" 21930/head
Jason Dillaman [Wed, 9 May 2018 19:01:18 +0000 (15:01 -0400)]
Revert "stop.sh: use --no-mon-config when trying to unmap rbd devices"

This reverts commit 6c722cd5f3f829ccf14280e7e36387bafd819c7a.

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

7 years agorbd: don't load config overrides from monitor initially
Jason Dillaman [Wed, 9 May 2018 16:37:22 +0000 (12:37 -0400)]
rbd: don't load config overrides from monitor initially

The overrides will be loaded when we connect to the cluster via librados
and the current approach prevents running 'rbd help' without a running
cluster.

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

7 years agorbd-mirror: ensure remote demotion is replayed locally
Jason Dillaman [Fri, 4 May 2018 15:14:34 +0000 (11:14 -0400)]
rbd-mirror: ensure remote demotion is replayed locally

The bootstrap process cannot immediately quit if it notices the remote
image is not primary. Instead, it needs to continue if the local image is
still chained to the remote.

Fixes: http://tracker.ceph.com/issues/24009
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d35bc94319c6fa267e973e533f4591568289ee96)

7 years agorbd-mirror: fix potential race between image sync and shut down
Jason Dillaman [Fri, 4 May 2018 13:24:43 +0000 (09:24 -0400)]
rbd-mirror: fix potential race between image sync and shut down

Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f2dbcefc5e3547926b8d34135a808266bd059b8)

7 years agorbd-mirror: ensure instance replayer is stoped before destructing
Jason Dillaman [Fri, 4 May 2018 13:23:27 +0000 (09:23 -0400)]
rbd-mirror: ensure instance replayer is stoped before destructing

Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9ba94f303072374b5c7c9265c3a493fddce2f8ca)

7 years agoMerge pull request #21831 from tchaikov/wip-23966
Kefu Chai [Thu, 10 May 2018 10:55:42 +0000 (18:55 +0800)]
Merge pull request #21831 from tchaikov/wip-23966

osdc: invoke notify finish context on linger commit failure

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21898 from adamemerson/wip-fedora28
Kefu Chai [Thu, 10 May 2018 10:54:38 +0000 (18:54 +0800)]
Merge pull request #21898 from adamemerson/wip-fedora28

src: Eliminate new warnings in Fedora 28

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21861 from adamemerson/wip-clangtasm
Kefu Chai [Thu, 10 May 2018 10:52:12 +0000 (18:52 +0800)]
Merge pull request #21861 from adamemerson/wip-clangtasm

osd,mon,pybind: Make able to compile with Clang

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21912 from dillaman/wip-24064
Mykola Golub [Thu, 10 May 2018 10:46:33 +0000 (13:46 +0300)]
Merge pull request #21912 from dillaman/wip-24064

rbd: disk-usage can now optionally compute exact on-disk usage

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21910 from dillaman/wip-rbd-help
Mykola Golub [Thu, 10 May 2018 10:45:35 +0000 (13:45 +0300)]
Merge pull request #21910 from dillaman/wip-rbd-help

rbd: don't load config overrides from monitor initially

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21823 from dillaman/wip-24009
Mykola Golub [Thu, 10 May 2018 10:44:55 +0000 (13:44 +0300)]
Merge pull request #21823 from dillaman/wip-24009

rbd-mirror: ensure remote demotion is replayed locally

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21817 from dillaman/wip-24008
Mykola Golub [Thu, 10 May 2018 10:44:24 +0000 (13:44 +0300)]
Merge pull request #21817 from dillaman/wip-24008

rbd-mirror: fixed potential crashes during shut down

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21853 from rishabh-d-dave/volclient-keyargs-for-all-exceptions
Kefu Chai [Thu, 10 May 2018 09:30:22 +0000 (17:30 +0800)]
Merge pull request #21853 from rishabh-d-dave/volclient-keyargs-for-all-exceptions

rados.pyx: make all exceptions accept keyword arguments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21886 from jcsp/wip-no-install-hello
Kefu Chai [Thu, 10 May 2018 09:25:33 +0000 (17:25 +0800)]
Merge pull request #21886 from jcsp/wip-no-install-hello

cmake: do not install `hello` demo module

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21782 from wido/mgr-telegraf
Kefu Chai [Thu, 10 May 2018 09:24:46 +0000 (17:24 +0800)]
Merge pull request #21782 from wido/mgr-telegraf

mgr/telegraf: Telegraf module for Ceph Mgr

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomds: set could_consume to false when no purge queue item actually executed 21923/head
Xuehan Xu [Thu, 10 May 2018 04:22:24 +0000 (12:22 +0800)]
mds: set could_consume to false when no purge queue item actually executed

Fixes: http://tracker.ceph.com/issues/24073
Signed-off-by: Xuehan Xu <xuxuehan@360.cn>
7 years agoMerge pull request #21918 from smithfarm/wip-24003-mimic
Nathan Cutler [Thu, 10 May 2018 05:15:34 +0000 (07:15 +0200)]
Merge pull request #21918 from smithfarm/wip-24003-mimic

script: build-integration-branch: avoid Unicode error

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoFixed configuration setting standby_replay
Jos Collin [Thu, 10 May 2018 04:26:23 +0000 (09:56 +0530)]
Fixed configuration setting standby_replay

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoFixed the order of configuration
Jos Collin [Thu, 10 May 2018 04:24:44 +0000 (09:54 +0530)]
Fixed the order of configuration

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #21891 from cbodley/wip-cmake-crypto-plugins
Kefu Chai [Thu, 10 May 2018 03:01:55 +0000 (11:01 +0800)]
Merge pull request #21891 from cbodley/wip-cmake-crypto-plugins

cmake: move crypto_plugins target

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoRevert "stop.sh: use --no-mon-config when trying to unmap rbd devices" 21910/head
Jason Dillaman [Wed, 9 May 2018 19:01:18 +0000 (15:01 -0400)]
Revert "stop.sh: use --no-mon-config when trying to unmap rbd devices"

This reverts commit 6c722cd5f3f829ccf14280e7e36387bafd819c7a.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21770 from zy751713126/remove-redundant-code
Jason Dillaman [Thu, 10 May 2018 01:24:55 +0000 (18:24 -0700)]
Merge pull request #21770 from zy751713126/remove-redundant-code

rbd: add the judgment of resizing the image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21914 from cbodley/wip-common-async
Casey Bodley [Wed, 9 May 2018 20:32:24 +0000 (16:32 -0400)]
Merge pull request #21914 from cbodley/wip-common-async

common: add a generic async Completion for use with boost::asio

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoscript: build-integration-branch: avoid Unicode error 21918/head
Nathan Cutler [Thu, 3 May 2018 20:42:04 +0000 (22:42 +0200)]
script: build-integration-branch: avoid Unicode error

When run on PRs that have non-ASCII characters in their titles, the script
fails like this when run in a non UTF-8 environment:

UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2026' in
position 651: ordinal not in range(256)

Since failing like that is not useful, avoid the error by forcing ASCII
encoding and filtering out any non-ASCII characters.

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

7 years agoMerge pull request #21909 from neha-ojha/wip-fix-powercycle
Josh Durgin [Wed, 9 May 2018 18:37:32 +0000 (11:37 -0700)]
Merge pull request #21909 from neha-ojha/wip-fix-powercycle

qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agorgw: Silence sign comparison warnings 21898/head
Adam C. Emerson [Wed, 9 May 2018 18:19:50 +0000 (14:19 -0400)]
rgw: Silence sign comparison warnings

Since we're iterating with a size_t, we may as well compare against one.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocommon: add an async SharedMutex 21914/head
Casey Bodley [Fri, 30 Mar 2018 03:53:40 +0000 (23:53 -0400)]
common: add an async SharedMutex

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon: forward_handler() for handlers with move-only args
Casey Bodley [Tue, 10 Apr 2018 22:27:50 +0000 (18:27 -0400)]
common: forward_handler() for handlers with move-only args

executors will always call the handler's lvalue overload of operator(),
so forward_handler() is required to wrap calls to bind_handler() with
move-only argument types. Completion uses this to forward all of its
CompletionHandlers

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