Commit Graph

86798 Commits

Author SHA1 Message Date
Jason Dillaman
bce5328a32 rbd-mirror: instantly remove instances without associated images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
06e1244ee5 rbd-mirror: instance replayer now respects manual stop command
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Jason Dillaman
53b87b9d22 rbd-mirror: support optionally enabling active/active mirroring
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:16:34 -04:00
Sage Weil
3d388cea04
Merge pull request #22011 from dillaman/wip-rbd-release-notes
doc/releases/mimic: tweak RBD major features
2018-05-15 14:42:24 -05:00
Sage Weil
0c94aee42d doc/releases/schedule: add mimic column
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-15 12:57:59 -05:00
Patrick Donnelly
40be7a9dbd
Merge PR #22017 into master
* refs/pull/22017/head:
	ptl-tool: skip empty comment body

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 10:47:21 -07:00
Patrick Donnelly
3d6f5e6d3a
ptl-tool: skip empty comment body
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 10:45:20 -07:00
Patrick Donnelly
982ced1a29
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>
2018-05-15 10:10:03 -07:00
Sage Weil
5f1ac3075c
Merge pull request #22016 from LenzGr/dashboard-mimic-reasenotes
doc/releases/mimic: Updated dashboard description
2018-05-15 11:25:09 -05:00
Lenz Grimmer
1f57ad8e18 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>
2018-05-15 18:14:47 +02:00
Casey Bodley
7688100840 buffer: add noexcept to move, swap, clear
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-16 00:04:38 +08:00
Jason Dillaman
d6f6c20a0e doc/releases/mimic: tweak RBD major features
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 10:50:53 -04:00
Jason Dillaman
ee2197ace3 qa/suites/rbd: randomly select a supported distro
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 10:09:59 -04:00
Patrick Donnelly
979544c8ec
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>
2018-05-15 06:43:00 -07:00
Casey Bodley
8a758adc77
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>
2018-05-15 09:40:44 -04:00
Sage Weil
bfee0b94f6
Merge pull request #21987 from liewegas/wip-mimic-upgrade
doc/releases/mimic: upgrade steps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-15 08:32:10 -05:00
Sage Weil
bdba978992 doc/releases/mimic: upgrade steps
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-15 08:31:43 -05:00
Volker Theile
0473b02872 mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'
If a deletion fails and the 'Cancel' button is pressed to close the dialog, then the deletion process is triggered again.

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-15 15:29:13 +02:00
Jianpeng Ma
c0c74ea409 os/bluefs/BlueFS: cleanup code.
In constructor of FileWriter, it already filled nullptr.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-05-15 21:15:05 +08:00
Kefu Chai
0497fdc8c8
Merge pull request #21809 from tchaikov/wip-22420
mon,osd: dump "compression_algorithms" in "mon metadata"

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-05-15 20:47:15 +08:00
Volker Theile
b2fa819fdf mgr/dashboard: Handle errors during deletion
- Take care that the deletion dialog gets notified about errors to stop the progress spinner and enable the delete button again.
- Prettify JS code.

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-15 14:25:30 +02:00
Yan, Zheng
9fb61cd658 mds: properly setup client_need_snapflush for snap inode
MDCache::cow_inode() checks "cap->issued() & CEPH_CAP_ANY_WR" to decide
if it needs to setup client_need_snapflush for the new snap inode. If
cap message flushes dirty caps and releases the same caps, cap->issued()
may have no WR caps when MDCache::cow_inode() gets called. The solution
is temporarily setting NEEDSNAPFLUSH on Capability::state.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-15 18:00:17 +08:00
Ricardo Marques
ae75f15ded mgr/dashboard: Remove useless observable unsubscriptions
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-05-15 10:50:48 +01:00
Lenz Grimmer
f3cfb9407c
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>
2018-05-15 11:19:55 +02:00
Lenz Grimmer
5f48046914
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>
2018-05-15 11:19:18 +02:00
Lenz Grimmer
6dcb6df507
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>
2018-05-15 11:17:47 +02:00
Yan, Zheng
4b13d3ffe2 Revert "mds: properly setup need_snapflush for snapped inode"
commit de3f3d88b3 make Locker::_do_cap_update() get called before
adjusting wanted caps. This is wrong because Locker::_do_cap_update()
need uptodate wanted caps to calculate max size.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24111
2018-05-15 09:05:59 +08:00
Josh Durgin
e8f5038f2b
Merge pull request #21895 from yuriw/wip-yuriw-add-dollar1
tests/qa: trying $ distro mix

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-14 16:18:45 -07:00
Yuri Weinstein
45a3b54005
Merge pull request #21949 from yuriw/wip-yuriw-crontab
qa/tests: added --filter-out="ubuntu_14.04"
2018-05-14 16:14:42 -07:00
Patrick Donnelly
8937f5f41a
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>
2018-05-14 13:29:29 -07:00
Sage Weil
0695c4edd1
Merge pull request #20975 from theanalyst/doc/releases/mimic-dev-2
doc: mimic rc1 release notes
2018-05-14 15:03:54 -05:00
Patrick Donnelly
b9c3751e9e
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>
2018-05-14 12:53:07 -07:00
Patrick Donnelly
fbc25b4486
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>
2018-05-14 12:52:50 -07:00
Casey Bodley
6b2234346c Revert "common: add an async SharedMutex"
This reverts commit 67fe5d25a7.

Fixes: http://tracker.ceph.com/issues/24124

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-14 14:59:12 -04:00
Mykola Golub
e1682de4d3 common: partially revert 95fc248 to make get_process_name work
"acconfig.h" is needed for HAVE_SYS_PRCTL_H and <string.h> for memset.

Fixes: http://tracker.ceph.com/issues/24123
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-14 21:52:02 +03:00
David Zafman
818b59fa95 osd: Don't evict even when preemption has restarted with smaller chunk
Fixes: https://tracker.ceph.com/issues/24045

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-14 11:30:03 -07:00
Sage Weil
02a9236017 mon/MonClient: set configs via finisher
The config observers may want to take locks that are ordered relative
to monc_lock.

We could simply drop monc_lock for this call, but that would implicitly
rely on a single-threaded dispatch to avoid having two incoming MConfig
messages get reordered.  Explicitly putting it on a finisher is safer.
Note that we adjust the get_monmap_and_config() to start, drain, and stop
the finisher to ensure we have incoming config processed and applied
before returning.

Fixes: http://tracker.ceph.com/issues/24118
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-14 13:10:18 -05:00
Igor Fedotov
328ea72a84 os/bluestore: add release(PExtentVector) helper to Allocator class to
free PExtentVector explicitly.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-14 20:59:19 +03:00
Igor Fedotov
88bea46242 os/bluestore: get rid off allocator's reserve method
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-14 20:59:13 +03:00
Wido den Hollander
394b10049e mgr/telemetry: Add Ceph Telemetry module to send reports back to project
This Manager Module will send statistics and version information from
a Ceph cluster back to telemetry.ceph.com if the user has opted-in on sending
this information.

Additionally a user can tell that the information is allowed to be made
public which then allows other users to see this information.

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 8f6137d162)
2018-05-14 23:34:25 +08:00
Wido den Hollander
cf97b5c13f brag: Remove ceph-brag
To be replaced by Telemetry module in Ceph Mgr

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit dce630dc1b)
2018-05-14 23:33:48 +08:00
Tiago Melo
8c36085cb0 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>
2018-05-14 15:25:27 +01:00
Lenz Grimmer
7dbba9e542
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>
2018-05-14 14:20:54 +02:00
Kefu Chai
0212979296 pybind/ceph_argparse.py: show usage on fully matched cmd
before this change,

ceph config show
no valid command found; 2 closest matches:
config show {}
config show-with-defaults
Error EINVAL: invalid command

after this change

ceph config show
Invalid command: missing required parameter who(<string>)
config show <who> {<key>} :  Show running configuration
Error EINVAL: invalid command

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-14 20:04:26 +08:00
Yan, Zheng
e095b08da7
Merge pull request #21975 from ukernel/wip-revert-23837
Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would le…
2018-05-14 19:55:51 +08:00
Yan, Zheng
20e02a542f Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail"
This reverts commit 07e3bceea7.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-14 19:53:56 +08:00
Volker Theile
83441af93c mgr/dashboard: Display useful info if RGW is not configured
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Volker Theile
f49e192dd5 mgr/dashboard: Add ModuleStatusGuardService route guard
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Volker Theile
d1b179d757 mgr/dashboard: Add info panel component
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-14 12:58:29 +02:00
Kefu Chai
1f0c2924be
Merge pull request #20118 from b-ranto/wip-selinux-ldconfig
selinux: Allow ceph to execute ldconfig

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-14 18:48:18 +08:00