Commit Graph

85108 Commits

Author SHA1 Message Date
Ricardo Marques
ccace858de mgr/dashboard: Loading indicator only if fechData provided
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-11 09:50:11 +01:00
Ricardo Marques
b4188367f4 mgr/dashboard: Hide refresh button if no fetchData provided
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-11 09:42:20 +01:00
Patrick Donnelly
aaac83abb5
Merge PR #19220 into master
* refs/pull/19220/head:
	mds: limit run time of load balancer
	mds: add list to track recently used sub-directories
	mds: calculate other mds' last_epoch_under locally
	mds: cleanup mds_load map access/update
	mds: check export pin when choosing dirfrags for exporting
	mds: optimize MDBalancer::find_exports()
	mds: avoid creating unnecessary subtrees during load balance
	mds: mds: optimize MDBalancer::try_rebalance()
	mds: don't try exporting subdir if dirfrag is already being exported
	mds: don't try exporting dirfrags under mds's own mdsdir
	mds: cleanup MDBalancer::try_rebalance()
	mds: always pass current time to MDBalancer::{hit_inode,hit_dir}
	mds: remove unused MDBalancer::export_empties()
	mds: don't decay load counters when printing load
	mds: adjust pop_nested when importing subtree
	mds: adjust subtree popularity when import fails
	mds: adjust subtree popularity after rename
	mds: fix request rate calculation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-10 22:13:29 -07:00
Kefu Chai
723b92d9cc
Merge pull request #21310 from tchaikov/wip-23610
osd: resend osd_pgtemp if it's not acked

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-11 13:00:01 +08:00
David Zafman
80137ca39f
Merge pull request #20947 from dzafman/wip-23364
Special scrub handling of hinfo_key errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-10 16:32:09 -07:00
David Zafman
da0f5887a4 doc: Add release notes for the output format changes
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:52:10 -07:00
David Zafman
9c5ef19f93 test: Be smarter about when jsonschema can be used
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:52:10 -07:00
David Zafman
60ae2b8eb3 osd rados command: Show snapset in list-inconsistent-snapset
Add SnapSet bufferlist to inconsistent_snapset_t

Partial fix for http://tracker.ceph.com/issues/23428

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:51:48 -07:00
David Zafman
866a52e567 osd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
1b1d45bf51 test: Add getjson variable to save output
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
007cb45fe5 osd rados command: Change error name snapset_mismatch to snapset_error
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
0c7ac9db3b test: Clean-up test and use local values for number of objects and osds
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
0a8ed0b94b osd: Without snapdir we don't have a head mismatch error anymore
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
982509514c osd rados command: list-inconsistent-obj attribute improvements
System attributes shown as "object_info", "snapset" and "hashinfo"
Only output user attributes as "attrs"
	Drop leading undescore "_" for user attribute keys
Improve logic as to when to show user attributes or specific system attributes

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
01687b052f osd rados command: Change "oi" to "info" in scrub handling errors
data_digest_mismatch_oi -> data_digest_mismatch_info
omap_digest_mismatch_oi -> omap_digest_mismatch_info
size_mismatch_oi -> size_mismatch_info
obj_size_oi_mismatch -> obj_size_info_mismatch

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
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
Patrick Donnelly
bd0c68e085
Merge PR #21321 into master
* refs/pull/21321/head:
	tools/cephfs: instantiate MDSUtility after global_init()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-10 11:33:21 -07:00
Andrew Schoen
f71784ed4d
Merge pull request #21130 from ceph/wip-rm23067
ceph-volume  Implement an 'activate all' to help with dense servers or migrating OSDs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-10 20:31:56 +02:00
Mykola Golub
21e26035d0
Merge pull request #21304 from rjfd/wip-rbd-pybind-fixes
rbd: python bindings fixes and improvements

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-10 20:45:42 +03:00
Casey Bodley
e8ca5f01cc
Merge pull request #21272 from cbodley/wip-rgw-beast-experiment
rgw: beast frontend no longer experimental

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-10 13:32:50 -04:00
Yehuda Sadeh
776e547956
Merge pull request #21120 from oritwas/wip-rgw-21619
rgw: reshard cancel command should clear bucket resharding flag

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-10 10:21:52 -07:00
Casey Bodley
f1e826ad7f rgw: beast frontend no longer experimental
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-10 12:26:37 -04:00
Sage Weil
2f00b8f990 Merge PR #21302 into wip-sage-testing-20180410.153118
* refs/pull/21302/head:
	qa/suites/rados/singleton/all/random-eio: whitelist eio error message

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-04-10 10:31:26 -05:00
Sage Weil
dbdbbbfc89 Merge PR #21315 into wip-sage-testing-20180410.153007
* refs/pull/21315/head:
	qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-04-10 10:30:48 -05:00
Sage Weil
f53190a64f githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-10 10:30:47 -05:00
Josh Durgin
d84f723c57
Merge pull request #21324 from tchaikov/wip-23495
qa/suites: whitelist SLOW_OPS

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-10 08:21:11 -07:00
Yehuda Sadeh
63221d9a81
Merge pull request #19283 from yehudasa/wip-rgw-mfa
rgw: mfa support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-10 07:59:10 -07:00
Ricardo Dias
b0d00e18d7
Merge pull request #21327 from LenzGr/dashboard-fork-awesome
mgr/dashboard: Replace font-awesome with fork-awesome

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
2018-04-10 15:58:26 +01:00
Patrick Donnelly
3c728553cf
Merge PR #21080 into master
* refs/pull/21080/head:
	src: Added const references to various function parameters

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-10 07:54:14 -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
Lenz Grimmer
2bc9c7351d mgr/dashboard: Replace font-awesome with fork-awesome
Replaces the dependency on Font Awesome with Fork Awesome
(https://forkawesome.github.io/), which is a plug-in replacement
for font-awesome 4.7.0 and adds a few more icons (see
https://forkawesome.github.io/Fork-Awesome/whats-new/ for
background information about this fork).

It is licensed under the following licenses - see
https://forkawesome.github.io/Fork-Awesome/license/ for details:

Fonts: SIL OFL 1.1
Code: MIT License
Documentation: CC BY 3.0

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-10 14:59:46 +02:00
Kefu Chai
6623fc26db osd,mds: use map::merge() whenever appropriate
and use explicit std::move() when map::merge() is not available.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-10 20:27:40 +08:00
Kefu Chai
9c5cb4ea62 osd: resend osd_pgtemp if it's not acked
if the osd_pgtemp message is dropped before monitor receives it, we need
to resend it. otherwise a pg could be stuck in activating state if the
pg creation was withheld by the max-pg-per-osd on the replica, and then
the replica osd removes some existing pg.

Fixes: http://tracker.ceph.com/issues/23610
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-10 20:27:40 +08: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
acc08559ce qa/suites: whitelist SLOW_OPS
Fixes: http://tracker.ceph.com/issues/23495
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-10 19:25:47 +08:00
Orit Wasserman
f4dae60d4c rgw: warn user about on going resharding when canceling it
Fixes: http://tracker.ceph.com/issues/21619
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2018-04-10 13:57:58 +03:00
Orit Wasserman
2a68224aa4 rgw: no need to RGWReshard::get before remove
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2018-04-10 13:57:17 +03: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
Yan, Zheng
a7db43b5f7 tools/cephfs: instantiate MDSUtility after global_init()
cephfs-foo-tool from current master crashes immediately it starts.

Introduced by commit 6972273d53 "global: output usage on -h, --help,
or no args before contacting mons"

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23624
2018-04-10 16:15:16 +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