Commit Graph

84998 Commits

Author SHA1 Message Date
David Zafman
273f6213ea osd rados command: Change "oi_attr" to "info" in scrub handling errors
oi_attr_missing -> info_missing
oi_attr_corrupted -> info_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
bec67e3d40 osd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapset_corrupted
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
d713c7dad0 osd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)
Fixes: http://tracker.ceph.com/issues/23364

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
0d4acc55ff osd: Don't crash in get_hash_info() with a corrupt HashInfo
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
be815f9b2b test: Remove check that masks differences (let diff fail)
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
Lenz Grimmer
116aa62d3d
Merge pull request #21126 from tspmelo/wip-services
mgr/dashboard: Add Api module

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-04-10 16:47:03 +02:00
Kefu Chai
18571821b5
Merge pull request #21319 from majianpeng/doc-remove-osd-op-threads
doc: remove unused config: "osd op threads"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-10 20:12:08 +08:00
Kefu Chai
df9cd23605
Merge pull request #21112 from guzhongyan/fix-vlog
src: fix various log messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-10 18:51:12 +08:00
Kefu Chai
fa8a435e88
Merge pull request #21028 from rzarzynski/wip-osd-get_rw_locks-norefcnt
osd: avoid unnecessary ref-counting across PrimaryLogPG::get_rw_locks.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-10 18:49:01 +08:00
Kefu Chai
2c3cbc170e
Merge pull request #21235 from xiexingguo/wip-fix-obj-start
osd/osd_types: fix ideal lower bound object-id of pg

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-10 18:47:58 +08:00
Josh Durgin
ee03866b9f
Merge pull request #21313 from ceph/wip-pg-clean-timeout
qa/tasks: Add default timeout for wait for pg clean task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-09 22:27:16 -07:00
Kefu Chai
3abe420365
Merge pull request #21284 from tchaikov/wip-cmake-libstdcxx
cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-10 13:21:31 +08:00
Kefu Chai
7fdfa3c465
Merge pull request #21290 from rjfd/wip-dashboard-fix-rest-controller
mgr/dashboard: restcontroller: fix detection of id args in element requests

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-10 13:19:08 +08:00
Patrick Donnelly
359f5cccd6
Merge PR #21039 into master
* refs/pull/21039/head:
	qa/workunits/fs: test for cephfs rstats
	mds: make rstat.rctime follow inodes' ctime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:33:15 -07:00
Patrick Donnelly
098c6d370f
Merge PR #21040 into master
* refs/pull/21040/head:
	mds: mark damaged if sessions' preallocated inos don't match inotable

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:33:10 -07:00
Patrick Donnelly
acc6f2eddb
Merge PR #21132 into master
* refs/pull/21132/head:
	client: remove getgroups_cb
	client: remove _getgrouplist
	client: have init_gids just set alloced_gids to true
	client: remove init_groups
	fuse: handle errors appropriately when getting group list

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-09 21:33:06 -07:00
Patrick Donnelly
a3718d5978
Merge PR #21144 into master
* refs/pull/21144/head:
	mds: fix unhealth heartbeat during rejoin

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:33:00 -07:00
Patrick Donnelly
dfca9664d4
Merge PR #21167 into master
* refs/pull/21167/head:
	mds: make stopping mds export strays and subtree at the same time
	mds: handle client requests while mds is stopping
	mds: check projected linkage before migrating stray dentry

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:32:56 -07:00
Patrick Donnelly
f818599836
Merge PR #21191 into master
* refs/pull/21191/head:
	client: fix request send_to_auth was never really used

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:32:51 -07:00
Patrick Donnelly
ed657dee8c
Merge PR #21255 into master
* refs/pull/21255/head:
	mds: automatically create snaprealm for old format quota
	client: check if mds create snaprealm when setting quota
	mds: remove unused MDCache::snaprealm_create()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-09 21:32:47 -07:00
Josh Durgin
447a107d5f
Merge pull request #21295 from badone/wip-large-omap-scrub-big-random-loser-2
qa/suites/rados: Disable scrub backoff

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-09 17:44:33 -07:00
Vasu Kulkarni
7881a19d92 qa/tasks: wait_for_clean is called after ceph task as well after osd's are up,
the default timeout is none in that case, there are cases where it can hang  forever
due to error cases, since this dumps quite a lot of info the logs grow in GB's, with
default timeout of 1200 we can avoid such huge logs and fail sooner. Any tests needing
higher timeout can pass the required value.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-04-09 17:24:42 -07:00
Jianpeng Ma
59f69643c7 doc: remove unused config: "osd op threads"
This option already removed.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-04-10 05:39:59 +08:00
Yuri Weinstein
94c162a62a
Merge pull request #21309 from ceph/wip-yuriw-crontab
qa/tests - minor clean ups and made perf-suite run 3 times, so we can…

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-04-09 12:37:57 -07:00
Sage Weil
bfff8ec839
Merge pull request #21282 from liewegas/wip-pgpool-enc
osd/osd_types: fix pg_pool_t encoding for hammer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Drymov <idryomov@redhat.com>
2018-04-09 14:16:49 -05:00
Yuri Weinstein
9a2005d664 qa/tests - minor clean ups and made perf-suite run 3 times, so we can have more data points
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-09 09:17:10 -07:00
Patrick Donnelly
3ab655b55d
Merge PR #21263 into master
* refs/pull/21263/head:
	doc: outline upgrade procedure for mds cluster

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-04-09 08:59:11 -07:00
Tiago Melo
6420e7aedb mgr/dashboard: Move services provision to service module
Few services were being declared in the shared module.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-04-09 16:52:40 +01:00
Tiago Melo
76ec342d78 mgr/dashboard: Add Api module
Moved all the api related services into the new module.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-04-09 16:52:40 +01:00
Lenz Grimmer
2bf2013b01
Merge pull request #20807 from Devp00l/improve-table-search
mgr/dashboard: Improve table search

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-09 17:43:46 +02:00
Lenz Grimmer
3ddff17b13
Merge pull request #20943 from tspmelo/fix-e2e
mgr/dashboard: fix frontend e2e tests

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-04-09 17:32:00 +02:00
Alfredo Deza
9808407737
Merge pull request #20758 from ceph/wip-cv-doc-typos
ceph-volume doc updates

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-09 09:58:56 -04:00
Mykola Golub
2791d15455
Merge pull request #21249 from dillaman/wip-18844
rbd: improve 'import-diff' corrupt input error messages

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-09 16:22:03 +03:00
Sage Weil
8f6e2a1009 osd/OSDMap: propagate POOL_SNAPS|SELFMANAGED_SNAPS to tiers
We set this when we add selfmanaged snaps to the base tier.  When those
propagate to the cache tier, propagate the flags, too!

Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-09 06:51:39 -05:00
Alfredo Deza
d451a75c49
Merge pull request #21196 from jeffrey4l/fix_typo
ceph-volume: fix typo in ceph-volume lvm prepare help

Reviewed-by: Wido den Hollander <wido@42on.com> 
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 07:02:50 -04:00
Lenz Grimmer
0d700d014f
Merge pull request #21270 from Devp00l/ceph-table-action-fix
mgr/dashboard: Fix the data table action selector

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-09 12:34:25 +02:00
Ricardo Dias
3e7d75b579
mgr/dashboard: restcontroller: fix detection of id args in element requests
Fixes: https://tracker.ceph.com/issues/23593

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-09 10:52:10 +01:00
Boris Ranto
f29f45e135
Merge pull request #21269 from b-ranto/wip-mgr-expose-rgw
mgr: Expose rgw perf counters

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-09 10:40:42 +02:00
Brad Hubbard
eeeed6497b qa/suites/rados: Disable scrub backoff
A long run of lost coin flips can lead to a timeout in
test_large_omap_detection.py.

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

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-04-09 17:21:01 +10:00
Gu Zhongyan
d3b5c4cd4d misc: fix various log messages
add space between __func__ and following messages

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-04-09 10:45:41 +08:00
Mykola Golub
46df695b05
Merge pull request #21248 from dillaman/wip-23548
librbd: potential race between discard and writeback

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-08 23:22:38 +03:00
Nathan Cutler
fa5e8f9376
Merge pull request #17531 from smithfarm/wip-calamari-tests
tests: cleanup: drop calamari tasks

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
2018-04-08 08:54:27 +02:00
Xie Xingguo
1cdc9161ff
Merge pull request #21245 from ifed01/wip-ifed-shard-bug-logging
os/bluestore: be more verbose when hitting unloaded shard in extent map

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-04-08 13:37:00 +08:00
Kefu Chai
7d1679f1d3 cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-08 09:57:36 +08:00
Sage Weil
37c22b2739 osd/osd_types: fix pg_pool_t encoding for hammer
If we are missing the hammer feature, we will also be missing the
luminous feature, but we should still encode like hammer.

Analogous fix to e28e0c617a

Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-07 13:36:32 -05:00
Kefu Chai
8d87f1c055
Merge pull request #20866 from jan--f/mgr-fix-metadata-return
mon/MonCommands: mgr metadata - improve parameter naming consistency

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-07 17:31:04 +08:00
Kefu Chai
4cfc09d1b5
Merge pull request #21217 from tchaikov/wip-cmp-hobject
common/hobject: preserve the order of hobject

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-07 17:29:57 +08:00
Kefu Chai
8c7f8bd433
Merge pull request #21211 from tchaikov/wip-clang-without-map-merge
cmake,mds: detect std::map::merge() before using it.

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-07 17:29:15 +08:00
Kefu Chai
9bfb1f6246
Merge pull request #21161 from cbodley/wip-mon-config-obs
config: notify config observers on set_mon_vals()

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-07 17:27:15 +08:00
Kefu Chai
9fda4d2b5e
Merge pull request #21151 from xiexingguo/wip-prune-olr
osd/PGBackend: drop input "snapid_t" from objects_list_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-07 17:25:48 +08:00