Commit Graph

75317 Commits

Author SHA1 Message Date
liuchang0812
b26c9db782 tool/ceph: print timeout tips iff verbose
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-07-09 23:51:20 +08:00
Joao Eduardo Luis
ed1d11ebdb mon/Monitor: recreate mon session if features changed
Fixes: http://tracker.ceph.com/issues/20433

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-07-09 16:51:08 +01:00
Nathan Cutler
b08b485ce8 Merge pull request #16079 from smithfarm/wip-doc-make-check
doc: dev: add notes on PR make check validation test

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-09 13:14:42 +02:00
Joao Eduardo Luis
b414be7dc4 mon/Monitor: list sessions via admin socket
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-07-09 11:36:42 +01:00
Joao Eduardo Luis
28b5baefbc mon/Paxos: fix annoying formatting spacing
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-07-09 11:36:42 +01:00
Joao Eduardo Luis
4347556759 mon/Session: fix some annoying spacing
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-07-09 11:36:42 +01:00
Sage Weil
3876161e09 mon: shorten 'PRIMARY-AFFINITY' -> 'PRI-AFF' column header
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:35:22 -04:00
Sage Weil
2fc348741b mon: include device class in 'osd tree' output
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:35:22 -04:00
Sage Weil
d0a3dd09ed mon: include class in 'osd df [tree]' output
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:35:22 -04:00
Sage Weil
116cf759c8 crush: hide device class shadow roots from tree dumper
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:35:21 -04:00
Sage Weil
8b21c6b6fd Merge pull request #16027 from liewegas/wip-crush-rule-class
mon,crush: create crush rules using device classes for replicated and ec pools via cli

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-08 21:34:13 -05:00
Sage Weil
0c79c4ffac Merge pull request #16228 from smithfarm/wip-rados-upgrade-2
tests: fix rados/upgrade/jewel-x-singleton and make workunit task handle repo URLs not ending in ".git"

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-08 21:32:36 -05:00
Sage Weil
ab9a661eaa mgr: implement 'service dump' and 'service status'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:31:01 -04:00
Sage Weil
97cfc3cb69 mgr: allow/track service registrations
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:28 -04:00
Sage Weil
e084f594ee mon: include services in 'ceph -s'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:28 -04:00
Sage Weil
3f69d083a0 mon: persist ServiceMap
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:28 -04:00
Sage Weil
7fce6382f2 mgr: add ServiceMap
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:27 -04:00
Sage Weil
563e040895 vstart.sh: give rgw daemons letter names
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:27 -04:00
Sage Weil
a22b256bad mgr: index daemon state by string service type
If we use a string we can allow for other service names like
'rgw' and 'rbd-mirror' and 'iscsigw' and so on.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-08 22:30:27 -04:00
Sage Weil
91e5d5bc20 Merge pull request #15973 from majianpeng/bluefs-async-compact-log
os/bluestore/BlueFS: clear current log entrys before dump all fnode,

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-08 21:29:59 -05:00
Jos Collin
8fbe8b8c0e Merge pull request #16214 from liupan1111/wip-fix-mutex
common/Mutex.cc: fixed the error in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-09 01:02:04 +00:00
Nathan Cutler
98eda9a4dc qa: workunit: handle repo ending in "/ceph-ci"
If the repo ends in "/ceph-ci" it's the same as if it ended in "/ceph-ci.git"

Before this change, the following command was broken if the workunit specified,
e.g., "branch: jewel":

teuthology-suite --ceph-repo https://github.com/ceph/ceph --ceph master
--suite-repo https://github.com/ceph/ceph-ci --suite-branch wip-foo . . .

Fixes: http://tracker.ceph.com/issues/20554
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-08 19:03:30 +02:00
Sage Weil
4bc9f566d0 qa/suites/rados/upgrade: upgrade client.0 node too
Fixes: http://tracker.ceph.com/issues/20368
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-08 18:56:09 +02:00
Sage Weil
f3e0847c12 Merge pull request #16017 from liewegas/wip-20454
os/bluestore/BlueFS: clean up log_writer aios from compaction
2017-07-08 11:24:07 -05:00
Sage Weil
a0ba660afc Merge pull request #16025 from liewegas/wip-19964
mon: do crushtool test with fork and timeout, but w/o exec of crushtool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-07-08 09:01:10 -05:00
Sage Weil
d6c649b3c4 Merge pull request #16121 from shashalu/fix-kerneldevice-size
os/bluestore: clear up redundant size assignment in KerenelDevice

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-08 09:00:47 -05:00
Sage Weil
30262cfbd5 Merge pull request #16205 from javacruft/build-ec-isa-as-module
build: build erasure-code isa lib without versions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-08 08:54:34 -05:00
Sage Weil
f17516656e Merge pull request #16212 from dillaman/wip-qa-ceph-task
qa/tasks/ceph: don't hard-code cluster name when copying fsid

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-08 08:54:18 -05:00
Sage Weil
704d13d36f Merge pull request #16213 from liewegas/wip-radosbench-timeout
qa/tasks/radosbench: longer timeout
2017-07-08 08:53:55 -05:00
Kefu Chai
8a870858f0 test/ceph_test_librgw_file_nfsns: always free allocated memory
use unique_ptr to manage allocated memory, so we can free it even if the
test fails. this silences the warnings like:

Potential leak of memory pointed to by 'buf2'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-08 20:38:59 +08:00
Kefu Chai
b56c26e7ba test/libradosstriper: always free allocated memory
use unique_ptr to manage allocated memory, so we can free it even if the
test fails. this silences the warnings like:

Potential leak of memory pointed to by 'buf2'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-08 20:38:59 +08:00
Kefu Chai
c6fdebb4bb os/bluestore: do not assign to never-read variable
this silences the clang analyzer warnings like:

Value stored to 'p' is never read

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-08 20:20:05 +08:00
Kefu Chai
6f7bcfbfd7 mgr/PyState: fix leak if type is unknown
this silences a clang analyzer warning:

Potential leak of memory pointed to by 'c'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-08 20:18:20 +08:00
Pan Liu
e4e8806dca common/Mutex.cc: fixed the error in comment
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-07-08 13:49:28 +08:00
Sage Weil
cd086098d3 pybind/mgr/dashboard: bind to :: by default
This is all available v4 and v6 addrs on the host.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-07 22:41:19 -04:00
Sage Weil
5d71220838 Merge pull request #16198 from tchaikov/wip-doc-fixes
doc: kill sphinx warnings
2017-07-07 21:39:19 -05:00
Sage Weil
cac588de1d test/cli/crushtool: fix rules.t
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-07 22:34:58 -04:00
Kefu Chai
fc4d51d603 Merge pull request #16225 from liewegas/wip-mon-auth-caps
qa/suites/rados/singleton/all/mon-auth-caps: more osds so we can go clean

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-08 09:58:21 +08:00
vasukulkarni
018e9f1139 Merge pull request #16216 from ceph/wip-mgr-cd-updates
[qa/ceph-deploy]:  run create mgr nodes as well
2017-07-07 15:45:01 -07:00
Josh Durgin
5cc892166f Merge pull request #15689 from jdurgin/wip-filestore-rand-split
os/filestore/HashIndex: randomize split threshold by a configurable amount

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-07 15:18:49 -07:00
Yuri Weinstein
795eccfe21 Merge pull request #16078 from xiexingguo/wip-misc
mon, osd: misc fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-07 15:15:58 -07:00
Sage Weil
67aa4e8137 Merge pull request #16218 from javacruft/ubuntu-fix-systemd-enable
build: execute dh_systemd_{enable,start} after dh_install

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-07 16:48:14 -05:00
Sage Weil
0ec108983f Merge pull request #15944 from xiexingguo/wip-bluestore-20170627
os/bluestore: reduce some overhead for _do_clone_range() and _do_remove()

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-07 16:47:38 -05:00
Sage Weil
9c85b49e15 Merge pull request #16052 from dzafman/wip-20471
osd: Check for and automatically repair object info soid during scrub

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-07 16:43:47 -05:00
Douglas Fuller
73532825f5 ceph-create-keys: add an argument to override default 10-minute timeout
ceph-create-keys waits 10 minutes for mon quorum by default. Add an
option, -t, to override the timeout with a custom value in seconds.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-07-07 17:43:37 -04:00
Sage Weil
91038d44a8 Merge pull request #16147 from Yan-waller/wip-waller-0703radostool
tools/rados: some cleanups

Reviewed-by: David Zafman <dzafman@redhat.com>
2017-07-07 16:43:26 -05:00
Sage Weil
492d44eb3a Merge pull request #16217 from liewegas/wip-class-luminous
mon/OSDMonitor: guard 'osd crush set-device-class'
2017-07-07 16:43:08 -05:00
Sage Weil
e30b32bca4 qa/suites/rados/singleton/all/mon-auth-caps: more osds so we can go clean
and scrub

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-07 17:39:22 -04:00
David Zafman
22f4d0cc01 osd: Check for and automatically repair object info soid during scrub
Fixes: http://tracker.ceph.com/issues/20471

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-07-07 14:18:10 -07:00
Sage Weil
0e5d7b8821 doc/index: minor cleanup
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-07 15:31:55 -04:00