Commit Graph

86280 Commits

Author SHA1 Message Date
Sage Weil
02f882dd03 Merge remote-tracking branch 'gh/mimic' 2018-05-04 08:44:36 -05:00
Brad Hubbard
303e71fe07 mgr: Include daemon details in SLOW_OPS output
Currently there is no way to see which daemons were involved in a slow
op after the op has cleared. This change allows us to record which
daemons were implicated in the logs.

Partially fixes: http://tracker.ceph.com/issues/23205

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit b5263176de)
2018-05-04 08:43:08 -05:00
Sage Weil
6e64a4e4d9
Merge pull request #21750 from badone/wip-summarise-osds-when-issuing-slow-request-warning-post-luminous
mgr: Include daemon details in SLOW_OPS output

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-04 08:36:02 -05:00
John Spray
5865b0cbec
Merge pull request #21520 from jan--f/doc-fix-pg-state-names
doc/rados/operations/pg-states: fix PG state names

Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-04 10:57:47 +01:00
John Spray
4f98ff5e06
Merge pull request #21557 from jan--f/mgr-prometheus-fix-metadata-labels
mgr: prometheus fix metadata labels

Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-04 10:56:24 +01:00
Kefu Chai
dc9df4d93a
Merge pull request #21797 from tomkukral/remove-cz-mirror
doc: remove CZ mirror

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-04 16:54:32 +08:00
Tomáš Kukrál
71bd43babf
doc: remove CZ mirror
CZ mirror is no longer running because company sponsoring this mirror
isn't able to provide it anymore.

I'm removing this mirror from list of official mirrors.

Signed-off-by: Tomáš Kukrál <tom@6shore.net>
2018-05-04 10:46:14 +02:00
Jan Fajerski
7f8b40fc46 doc/rados/operations/pg-states: fix PG state names
Change pg state names according to osd/osd_types.cc as this is what
ceph -s and the prometheus exporter will present to users.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-05-04 08:47:12 +02:00
Kefu Chai
7eb94d4909
Merge pull request #21461 from yaozongyou/calculate-stddev-on-the-fly
common: calculate stddev on the fly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-04 12:06:10 +08:00
Patrick Donnelly
5eb2a2b10a
Merge PR #21805 into master
* refs/pull/21805/head:
	qa: move snap-hierarchy out of snaps workunits
	qa: try snap format upgrade with multimds cluster
	qa: add mds deactivation procedure for upgrades

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 19:05:50 -07:00
Kefu Chai
46fc58a120
Merge pull request #21807 from smithfarm/wip-python-encoding
script: build-integration-branch: avoid Unicode error

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-04 09:33:45 +08:00
Kefu Chai
50a052d79e
Merge pull request #19714 from qwren/qatzip-compressor
compressor: add QAT support

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-04 09:17:17 +08:00
Kefu Chai
d2441ea27c
Merge pull request #21242 from majianpeng/objecter-calc-budget
osdc: Change 'bool budgeted' to 'int budget' to avoid recalculating.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-04 09:16:14 +08:00
Kefu Chai
d59c7d942b
Merge pull request #21487 from yanghonggang/kstore-statistic
os/kstore: support db statistic

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-04 09:14:24 +08:00
Kefu Chai
de6b7ac5f6
Merge pull request #21299 from yanghonggang/pool-create
librados: Reject the invalid pool create request at client side, rath…

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-05-04 09:13:17 +08:00
Patrick Donnelly
5dc626cec7
Merge PR #21759 into master
* refs/pull/21759/head:
	script: Fix ceph-debug-docker.sh script create --tag in correct format

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 17:54:39 -07:00
Patrick Donnelly
4d37b0ee8d
qa: move snap-hierarchy out of snaps workunits
The snapshot hierarchy it leaves behind can't be cleaned up by `rm -rf` which
breaks workunit cleanup. So, don't run this as part of normal snaps test.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:52:34 -07:00
Patrick Donnelly
0b466cb2e6
qa: try snap format upgrade with multimds cluster
Fixes: http://tracker.ceph.com/issues/24002

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:52:13 -07:00
Patrick Donnelly
6a788bf203
qa: add mds deactivation procedure for upgrades
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:51:43 -07:00
Sage Weil
fb6b4ec76b
Merge pull request #21553 from dragonylffly/wip-improve-rados-ls
tools/rados: improve the ls command usage

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-03 17:34:13 -05:00
Sage Weil
489c60915d
Merge pull request #21795 from wido/influx-string-split
mgr/influx: Only split string on first occurence of dot (.)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-03 17:32:29 -05:00
Sage Weil
44355fae4e
Merge pull request #21798 from liewegas/wip-23980
osd/PG: fix uninit read in Incomplete::react(AdvMap&)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-03 17:29:53 -05:00
Nathan Cutler
6dd31fdbec 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>
2018-05-04 00:13:23 +02:00
Yuri Weinstein
486dcd7a44
Merge pull request #21766 from majianpeng/osd-remove-useless-conditon
osd: Remove useless conditon.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: huangjun <hjwsm1989@gmail.com>
2018-05-03 13:31:35 -07:00
Yuri Weinstein
64448b6f8e
Merge pull request #21771 from majianpeng/osd-remove-pgslot
osd: fix bug which cause can't erase OSDShardPGSlot.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-03 13:28:40 -07:00
Josh Durgin
f3bdc242f3
Merge pull request #21546 from dzafman/wip-22881
osd: process _scan_snaps() with all snapshots with head

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-03 10:07:57 -07:00
Patrick Donnelly
c44adca121
Merge PR #21374 into master
* refs/pull/21374/head:
	qa: add test for snap format upgrade
	mds: initialize SnapServer::snaprealm_v2_since after journal replay
	mds: properly distinguish cap update from snap flush
	mds: update dev document of cephfs snapshot
	doc: add release notes for cephfs snapshot
	mds: allow snapshot by default for new filesystem
	mds: close past parents after snaprealm format gets converted
	mds: automaticly allow multi-active MDS after scrubbing all inodes
	mds: don't mark primary dentry damaged if inode has been repaired
	mds: upgrade snaprealm format during scrub
	mds: allow scrubbing mdsdir
	mds: cleanup scrub code
	mds: show health warning if multimds with old format snapshots
	mds: automaticly allow multi-active MDS after removing all old snapshots
	mds: disallow multi-active MDS if snapshot was ever created by pre-mimic mds
	mds: validate SnapInfo::long_name before using it
	mds: don't bump snaptable last_snap when renaming snapshot
	mds: properly save snaptable after upgrading version

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 09:45:04 -07:00
Patrick Donnelly
91942df5a6
qa: add test for snap format upgrade
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 09:09:03 -07:00
Lenz Grimmer
fc3f8942f4
Merge pull request #21677 from Devp00l/wip-convert-floating-values
mgr/dashboard: Convert floating values to bytes

Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-03 16:18:51 +02:00
Lenz Grimmer
fe39775832
Merge pull request #21780 from votdev/use_bootstrap_css
mgr/dashboard: Use Bootstrap CSS

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-03 16:01:37 +02:00
Wido den Hollander
bd7d0fc16a
mgr/influx: Only split string on first occurence of dot (.)
Service names are not always osd.X or mon.X, they might be
rgw.radosgw.rgw1

This would lead to:

  Unhandled exception from module 'influx' while running on mgr.mon01: too many values to unpack

Only split on the first dot as the rest is the service name

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

Signed-off-by: Wido den Hollander <wido@42on.com>
2018-05-03 15:53:46 +02:00
Sage Weil
3187b036d8 osd/PG: fix uninit read in Incomplete::react(AdvMap&)
If a PG is incomplete when the pool is deleted we'll dereference invalid
iterators here.

Fixes: http://tracker.ceph.com/issues/23980
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-03 08:45:09 -05:00
Sage Weil
db5ec08f5a
Merge pull request #21684 from liewegas/wip-23769
mon: fix slow op warning on mon, improve slow op warnings

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-03 08:40:25 -05:00
Lenz Grimmer
1a385a390e
Merge pull request #21694 from sebastian-philipp/dashboard-review-pylint
mgr/dashboard: Clean up Pylint warnings

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-03 12:50:05 +02:00
Lenz Grimmer
8b447a75a4
Merge pull request #21774 from sebastian-philipp/dashboard-mypy-fixes
mgr/dashboard: fix two type errors found by mypy

Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-03 12:04:15 +02:00
Lenz Grimmer
d4165ce170
Merge pull request #21787 from tspmelo/fix-checkbox-fork-awesome
mgr/dashboard: Change font-family of checkbox

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-03 12:02:30 +02:00
Brad Hubbard
b5263176de mgr: Include daemon details in SLOW_OPS output
Currently there is no way to see which daemons were involved in a slow
op after the op has cleared. This change allows us to record which
daemons were implicated in the logs.

Partially fixes: http://tracker.ceph.com/issues/23205

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-05-03 14:52:39 +10:00
Patrick Donnelly
135fe40dee
Merge PR #21789 into master
* refs/pull/21789/head:
	qa: fix blacklisted check for test_lifecycle

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 15:56:54 -07:00
Patrick Donnelly
36b51db0e6
qa: fix blacklisted check for test_lifecycle
Caused by: 36f89c5acf

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 15:13:39 -07:00
Matt Benjamin
21b99b6d52
Merge pull request #21791 from cbodley/wip-23974
rgw: raise log level on coroutine shutdown errors
2018-05-02 16:40:49 -04:00
Casey Bodley
ee984b9ffc rgw: raise log level on coroutine shutdown errors
Fixes: http://tracker.ceph.com/issues/23974

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-02 16:11:31 -04:00
Sage Weil
b462b59065 mon/MDSMonitor: no_reply on MMDSLoadTargets
If we don't note that we don't reply then we don't close out the routed
mon request and the op will appear as slow on the forwarding mon.

Fixes: http://tracker.ceph.com/issues/23769
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-02 14:48:31 -05:00
Tiago Melo
f1b000b14e mgr/dashboard: Change font-family of checkbox
awesome-bootstrap-checkbox was still trying to use Font Awesome,
this will force it to use Fork Awesome.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-02 18:38:06 +01:00
Mykola Golub
fc410f3557
Merge pull request #21763 from dillaman/wip-23955
librbd: prevent watcher from unregistering with in-flight actions

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-02 20:04:37 +03:00
Patrick Donnelly
36f89c5acf
Merge PR #21065 into master
* refs/pull/21065/head:
	qa/cephfs: test if evicted client unmounts without hanging
	qa/tasks: allow custom timeout for umount_wait()
	client: don't hang when MDS sessions are evicted

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 09:07:31 -07:00
Jason Dillaman
9936fcb7ff
Merge pull request #21768 from zy751713126/pybind-note
pybind: add return note in rbd.pyx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-02 12:05:35 -04:00
Lenz Grimmer
c608185e1e
Merge pull request #21701 from Devp00l/wip-kv-table-render-object
mgr/dashboard: Enable object rendering in KV-table

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-02 17:40:06 +02:00
Ricardo Dias
08ea6a2a1a
Merge pull request #21781 from LenzGr/mgr-dashboard-documentation
doc: Update dashboard feature list (added RGW management)

Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-02 16:28:22 +01:00
Patrick Donnelly
7810dde42c
Merge PR #21762 into master
* refs/pull/21762/head:
	mds: mark new root inode dirty

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-02 07:21:23 -07:00
Patrick Donnelly
40a8d1ca18
Merge PR #21652 into master
* refs/pull/21652/head:
	client: use common interp of st_nlink for dirs

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-02 07:19:40 -07:00