]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agocls/rbd: fixed last read key for interrupted mirror_image_map_list 21915/head
Jason Dillaman [Wed, 16 May 2018 20:14:36 +0000 (16:14 -0400)]
cls/rbd: fixed last read key for interrupted mirror_image_map_list

Previously, the image map would only return a maximum of 64 mappings.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/suites/rbd: reduce runtime of rbd-mirror fsx test case
Jason Dillaman [Mon, 14 May 2018 18:58:40 +0000 (14:58 -0400)]
qa/suites/rbd: reduce runtime of rbd-mirror fsx test case

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/suites/rbd: added active/active rbd-mirror tests
Jason Dillaman [Thu, 3 May 2018 16:49:51 +0000 (12:49 -0400)]
qa/suites/rbd: added active/active rbd-mirror tests

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: fixed rbd-mirror snapshot comparison loop
Jason Dillaman [Tue, 15 May 2018 20:13:16 +0000 (16:13 -0400)]
qa/workunits/rbd: fixed rbd-mirror snapshot comparison loop

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: fixed missing error code on trap handler
Jason Dillaman [Mon, 14 May 2018 15:11:08 +0000 (11:11 -0400)]
qa/workunits/rbd: fixed missing error code on trap handler

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons
Jason Dillaman [Mon, 14 May 2018 12:35:57 +0000 (08:35 -0400)]
qa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: rbd-mirror admin socket commands should retry
Jason Dillaman [Wed, 9 May 2018 17:31:39 +0000 (13:31 -0400)]
qa/workunits/rbd: rbd-mirror admin socket commands should retry

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: don't override rbd-mirror logs if running under teuthology
Jason Dillaman [Mon, 7 May 2018 16:00:02 +0000 (12:00 -0400)]
qa/workunits/rbd: don't override rbd-mirror logs if running under teuthology

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/workunits/rbd: append rbd-mirror instance number for all-daemon asok command
Jason Dillaman [Thu, 3 May 2018 16:04:55 +0000 (12:04 -0400)]
qa/workunits/rbd: append rbd-mirror instance number for all-daemon asok command

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/rbd: fsx should utilize the default image features
Jason Dillaman [Mon, 14 May 2018 18:57:23 +0000 (14:57 -0400)]
test/rbd: fsx should utilize the default image features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/rbd_mirror: fix race condition with image map timer callbacks
Jason Dillaman [Thu, 10 May 2018 16:43:00 +0000 (12:43 -0400)]
test/rbd_mirror: fix race condition with image map timer callbacks

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: deep-copy should remove parent metadata if overlap updated
Jason Dillaman [Tue, 15 May 2018 19:07:21 +0000 (15:07 -0400)]
librbd: deep-copy should remove parent metadata if overlap updated

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd/deep_copy: adjust in-memory overlap if set_size updated it on disk
Mykola Golub [Thu, 10 May 2018 18:25:17 +0000 (21:25 +0300)]
librbd/deep_copy: adjust in-memory overlap if set_size updated it on disk

so set_parent won't be called when overlap is changed due to image
size change.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: journal replay should no-op out-of-bounds IO
Jason Dillaman [Tue, 15 May 2018 19:55:04 +0000 (15:55 -0400)]
librbd: journal replay should no-op out-of-bounds IO

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: don't assert if parent pool doesn't exist
Jason Dillaman [Thu, 10 May 2018 12:54:41 +0000 (08:54 -0400)]
librbd: don't assert if parent pool doesn't exist

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: image create should lookup local parent snapshot id
Jason Dillaman [Tue, 15 May 2018 18:07:35 +0000 (14:07 -0400)]
rbd-mirror: image create should lookup local parent snapshot id

A recent code change associated with a librbd cleanup incorrectly started
using the remote parent image's snapshot id.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: do not propagate image map instance updates when shutting down
Jason Dillaman [Mon, 14 May 2018 14:34:28 +0000 (10:34 -0400)]
rbd-mirror: do not propagate image map instance updates when shutting down

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: propagate image delete if leader was offline
Jason Dillaman [Wed, 9 May 2018 14:33:03 +0000 (10:33 -0400)]
rbd-mirror: propagate image delete if leader was offline

In an active/active scenario, if the leader was offline while mirroring for
a remote image was disabled, the assigned replayer instance may not detect
the image removal.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: avoid sending duplicate re-acquire messages upon leader startup
Jason Dillaman [Wed, 9 May 2018 14:25:22 +0000 (10:25 -0400)]
rbd-mirror: avoid sending duplicate re-acquire messages upon leader startup

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: reduce unnecessary logging for periodic start image replayer
Jason Dillaman [Wed, 9 May 2018 14:00:12 +0000 (10:00 -0400)]
rbd-mirror: reduce unnecessary logging for periodic start image replayer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: cancel image replayer status timer task at shut down
Jason Dillaman [Tue, 8 May 2018 21:09:58 +0000 (17:09 -0400)]
rbd-mirror: cancel image replayer status timer task at shut down

Also avoid attempting to send status using an invalid librados::IoCtx
handle due to a deleted pool.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: policy map shouldn't default to first instance if dead
Jason Dillaman [Tue, 8 May 2018 20:25:42 +0000 (16:25 -0400)]
rbd-mirror: policy map shouldn't default to first instance if dead

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: prevent blacklisting of local instance after failover/back
Jason Dillaman [Mon, 7 May 2018 21:43:13 +0000 (14:43 -0700)]
rbd-mirror: prevent blacklisting of local instance after failover/back

If the leader role is manually released, upon failback the instance
will have removed its local instance object, preventing RPC
messaging.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: instantly remove instances without associated images
Jason Dillaman [Fri, 4 May 2018 17:49:10 +0000 (13:49 -0400)]
rbd-mirror: instantly remove instances without associated images

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: instance replayer now respects manual stop command
Jason Dillaman [Thu, 3 May 2018 16:03:01 +0000 (12:03 -0400)]
rbd-mirror: instance replayer now respects manual stop command

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: support optionally enabling active/active mirroring
Jason Dillaman [Thu, 3 May 2018 13:56:14 +0000 (09:56 -0400)]
rbd-mirror: support optionally enabling active/active mirroring

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22011 from dillaman/wip-rbd-release-notes
Sage Weil [Tue, 15 May 2018 19:42:24 +0000 (14:42 -0500)]
Merge pull request #22011 from dillaman/wip-rbd-release-notes

doc/releases/mimic: tweak RBD major features

7 years agoMerge PR #22017 into master
Patrick Donnelly [Tue, 15 May 2018 17:47:21 +0000 (10:47 -0700)]
Merge PR #22017 into master

* refs/pull/22017/head:
ptl-tool: skip empty comment body

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoptl-tool: skip empty comment body 22017/head
Patrick Donnelly [Tue, 15 May 2018 17:45:20 +0000 (10:45 -0700)]
ptl-tool: skip empty comment body

Signed-off-by: Patrick Donnelly <pdonnell@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 agodoc/releases/mimic: tweak RBD major features 22011/head
Jason Dillaman [Tue, 15 May 2018 14:49:30 +0000 (10:49 -0400)]
doc/releases/mimic: tweak RBD major features

Signed-off-by: Jason Dillaman <dillaman@redhat.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>