Commit Graph

86249 Commits

Author SHA1 Message Date
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
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
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
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
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
Patrick Donnelly
3e30775d19
Merge PR #21715 into master
* refs/pull/21715/head:
	mds: don't report slow request for blocked filelock request

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 07:19:35 -07:00
Patrick Donnelly
046dc7bb0d
Merge PR #21010 into master
* refs/pull/21010/head:
	common: refactor for array size
	common: Use ARRAY_SIZE macro
	common: compress return logic
	common: Remove multiple assignment
	common: Remove unnecessary semicolon
	common: addr_parsing: Cleanup and Refactor Code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 07:10:01 -07:00
Volker Theile
4236bc86a3 mgr/dashboard: Use Bootstrap CSS
Replace custom CSS class by Bootstrap.

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-02 15:51:11 +02:00
Lenz Grimmer
acc94ded43 doc: Update dashboard feature list (RGW management)
Updated feature list in the dashboard documentation to also
mention the RGW user/bucket management capabilities.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-05-02 15:49:51 +02:00
Lenz Grimmer
bcfd227f47
Merge pull request #21351 from votdev/dashboard_rgw_management
mgr/dashboard: Add RGW user and bucket management features

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-02 15:36:04 +02:00
Stephan Müller
98fc5f9b50 mgr/dashboard: Enable object rendering in KV-table
Now it's possible to render objects as values in our key-value table.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-05-02 12:04:10 +02:00
Sebastian Wagner
2d43919346 mgr/dashboard: fix two type errors found by mypy
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-02 11:31:04 +02:00
Stephan Müller
e5626c94b5 mgr/dashboard: Refactored formatter service
Added tests which caused a refactorization of the service.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-05-02 11:21:49 +02:00
Stephan Müller
28cbd865b7 mgr/dashboard: Convert floating values to bytes
Now the 'formatter' service can convert floating values to bytes.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-05-02 10:39:31 +02:00
zhengyin
33e03ad66d pybind: add return note in rbd.pyx
Signed-off-by: Zheng Yin <zhengyin@huayun.com>
2018-05-02 15:16:21 +08:00
Kefu Chai
65a74d40fd
Merge pull request #21756 from liewegas/wip-23949
mon/OSDMonitor: set FLAG_SELFMANAGED_SNAPS on cephfs snap removal

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-02 14:41:55 +08:00
Jianpeng Ma
8e300474fb osd: Remove useless conditon.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-05-02 14:31:17 +08:00
Kefu Chai
9a661747b2
Merge pull request #21757 from liewegas/wip-osdc-warning
osdc/Objecter: fix warning

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-02 12:17:44 +08:00
Patrick Donnelly
d75842f8f1
mds: mark new root inode dirty
Fixes: http://tracker.ceph.com/issues/23960

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-01 20:20:13 -07:00
Kefu Chai
7e4f7c7718
Merge pull request #21696 from jan--f/prometheus-file_sd-consider-defaultport
pybing/mgr/prometheus: return default port if config-key get returns …

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-05-02 10:00:15 +08:00
Kefu Chai
932b93ea16
Merge pull request #21749 from b-ranto/wip-expose-time-perfcount
prometheus: Handle the TIME perf counter type metrics

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-05-02 09:59:12 +08:00
Kefu Chai
a5e815b992
Merge pull request #21627 from jcsp/wip-mgr-dashboard-ssl
mgr/dashboard: add TLS

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-05-02 09:58:28 +08:00
Jason Dillaman
6eeede997d librbd: prevent watcher from unregistering with in-flight actions
Fixes: http://tracker.ceph.com/issues/23955
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-01 21:00:37 -04:00
David Zafman
de7eecd7eb script: Fix ceph-debug-docker.sh script create --tag in correct format
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-01 13:59:04 -07:00
Sage Weil
61398a052c osdc/Objecter: fix warning
Fallout from 891f519242

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-01 13:56:37 -05:00
Sage Weil
a404e7ea91 mon: log SLOW_OPS locally
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-01 13:54:28 -05:00
Sage Weil
a2cfc0bfcd mon/MgrStatMonitor: dump mgr health checks to debug log
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-01 13:54:28 -05:00
Sage Weil
adc480e3b3 mgr: print daemon_health_metrics to debug log
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-01 13:54:28 -05:00
Sage Weil
ce6422af97 osd: print desc for oldest slow op to osd log
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-01 13:54:28 -05:00