Vicente Cheng
f064622103
ceph-disk: add destroy feature
...
Implement destroy option on ceph-disk.
- remove OSD from CRUSH map
- remove OSD cephx key
- deallocate OSD ID
- destroy data (with --zap option)
Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
3fcdf411d4
ceph-disk: add deactivate feature
...
Implement deactivate option on ceph-disk.
- stop ceph-osd service if needed (If osd still in osd map, make it out first)
- remove 'ready', 'active', and INIT-specific files
- remove gpt partition type and change partition name (prevent triggered by udev)
- create deactive flag
- umount device and remove mount point
Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:42 +08:00
Josh Durgin
6bf5c8755d
Merge pull request #6607 from dillaman/wip-13784
...
rbd: support negative boolean command-line optionals
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-16 11:21:38 -08:00
Josh Durgin
b66af10f8b
Merge pull request #6606 from dillaman/wip-13806
...
rbd: add missing command aliases to refactored CLI
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-16 11:20:58 -08:00
Jason Dillaman
5aa840af0a
rbd: support negative boolean command-line optionals
...
Fixes : #13784
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-16 13:31:34 -05:00
Jason Dillaman
f58ffdc040
tests: new rbd CLI command aliases
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-16 12:57:29 -05:00
Jason Dillaman
1ff6889054
rbd: add missing command aliases to refactored CLI
...
Fixes : #13806
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-16 12:55:11 -05:00
Jason Dillaman
8f9841d617
Merge pull request #6590 from ceph/wip-rbd-user-option
...
rbd: accept --user, refuse -i command-line optionals
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-16 09:07:39 -05:00
Jason Dillaman
9fd0df50a5
Merge pull request #6593 from trociny/fixup-rbd-refactor
...
rbd: stripe unit/count set incorrectly from config
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-16 09:05:36 -05:00
Loic Dachary
28f884e3ee
Merge pull request #6594 from chenji-kael/patch-2
...
Update .mailmap
2015-11-16 07:33:08 +01:00
chenji-kael
7fc87e3469
Update .mailmap
2015-11-16 09:25:41 +08:00
Mykola Golub
08fd09a856
rbd: stripe unit/count set incorrectly from config
...
(after rbd-refactor fixup)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-15 21:37:44 +02:00
Josh Durgin
6ad1013a59
Merge pull request #6549 from kylinstorage/global_flags
...
fix: use right init_flags to finish CephContext
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-15 10:45:04 -08:00
Sage Weil
d5bf38e6d5
Merge pull request #6575 from ceph/update-infernalis-releasenotes
...
doc: update infernalis release notes
2015-11-14 21:45:03 -05:00
Sage Weil
16f23abb8d
Merge pull request #6484 from XinzeChi/wip-journal-optimization
...
os: write file journal optimization
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-11-14 21:44:18 -05:00
Sage Weil
6becf839a9
Merge pull request #6371 from liewegas/wip-osd-less-crush
...
osd: avoid calculating crush mapping for most ops
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-14 21:42:17 -05:00
Sage Weil
3a5e0a3db8
Merge pull request #6416 from rohanmars/wip-solaris-port
...
librados: Solaris port
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 21:41:31 -05:00
Sage Weil
b9251b4b6f
Merge pull request #6439 from XinzeChi/wip-merge-tnx
...
osd: merge local_t and op_t txn to single one
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 21:40:42 -05:00
Sage Weil
8dd801d86d
Merge pull request #6547 from xiaoxichen/fix1
...
osd: check do_shutdown before do_restart
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-14 21:39:46 -05:00
Sage Weil
ef2fec7844
Merge pull request #6566 from kylinstorage/wip-fix-wrong-use-parenthesis
...
osd: fix wrong use of right parenthesis in localized read logic
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 21:38:50 -05:00
Ilya Dryomov
481bb2ce1b
rbd: accept --user, refuse -i
...
--user is the equivalent of --id (mentioned in docs and ceph -h) and
used by at least a couple of qa scripts and teuthology. Add it to the
list of valid rbd options - it's handled inside global_init() before
Shell:execute() is called.
OTOH allowing -i is bogus - global_init() wouldn't process it for
clients (CEPH_ENTITY_TYPE_CLIENT), which rbd tool is one of. Drop it.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 22:35:19 +01:00
Sage Weil
02acff3954
Merge pull request #6584 from dachary/wip-test
...
tests: ignore test-suite.log
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 12:50:16 -05:00
Sage Weil
118fc22207
Merge pull request #6583 from ceph/wip-krbd-map-args
...
rbd: unbreak rbd map + cephx_sign_messages option
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 12:27:43 -05:00
Loic Dachary
8629b61b63
tests: ignore test-suite.log
...
Now that the tests at the top level directory are run via TESTS and not
check-local:, the test-suite.log file is created and must bit
gitignored.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-14 17:57:23 +01:00
Ilya Dryomov
f2432e01f2
rbd: recognize cephx_sign_messages option
...
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 16:39:35 +01:00
Ilya Dryomov
34b2b8f48a
rbd: unbreak rbd map CLI
...
Previously, if snapname wasn't specified we would pass NULL to
krbd_map(), which was a cue for it to use "-" as a snapshot name. With
the new rbd CLI, "" is passed in; same goes for map options.
Change krbd_map() accordingly and update its other user.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 16:38:53 +01:00
Xinze Chi
c6a2ec2733
tests: fix test case using new api
...
Signed-off-by: Xinze Chi <xinze@xsky.com>
2015-11-14 17:45:15 +08:00
Sage Weil
492720e85d
Merge pull request #6574 from yuyuyu101/fix-broken-kinects
...
kv/KineticStore: fix broken split_key
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 21:14:56 -05:00
Sage Weil
6015bfb2eb
Merge pull request #6571 from dachary/wip-test-run-cli
...
tests: restore run-cli-tests
2015-11-13 19:27:45 -05:00
Loic Dachary
7d926ce7e0
Merge pull request #6578 from dachary/wip-13785-debian-rbd-replay
...
build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-11-13 22:04:56 +01:00
Sage Weil
8d3082df78
Merge pull request #4737 from kylinstorage/wip-temp-based-object-eviction
...
osd: improve temperature calculation for cache tier agent
Reviewed-by: Sage Weil
2015-11-13 15:39:54 -05:00
Sage Weil
a8f2e23781
Merge pull request #6422 from xiexingguo/xxg-wip13639
...
librados: fix potential null pointer access when do pool_snap_list
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-13 15:22:08 -05:00
Sage Weil
bc450675c8
Merge pull request #6486 from XinzeChi/wip-multiple-finisher
...
osd: FileStore: support multiple ondisk finish and apply finishers
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-13 15:20:48 -05:00
Sage Weil
954ddc83bc
Merge pull request #6518 from kylinstorage/wip-trivial-optimization
...
osd: optimize scrub subset_last_update calculation
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 15:20:13 -05:00
Loic Dachary
a0204dc47a
build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg
...
http://tracker.ceph.com/issues/13785 Fixes : #13785
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 19:11:48 +01:00
Loic Dachary
fe012a2200
tests: avoid bashism
...
The shell used by the cli tests is not always bash. Not using the
here-word is also more readable in this specific case.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 18:47:31 +01:00
Jason Dillaman
5281bdde58
rbd: hardcode application name into help
...
Avoid dynamically detecting the application name and instead hardcode
the rbd CLI name into the help output.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-13 18:33:21 +01:00
Haomai Wang
c549a8cc0b
kv/KineticStore: Fix broken split_key
...
Introduced by PR #6312
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-11-14 01:04:11 +08:00
vasukulkarni
2b8c30d4b6
Update infernalis release notes
...
Update infernalis release notes
Signed-off-by: Vasu Kulkarni vasu@redhat.com
2015-11-13 09:02:20 -08:00
Loic Dachary
d0e9c40177
tests: restore run-cli-tests
...
e4ca468
moved src/test/run-cli-tests from check-local to check_SCRIPTS
but did not add it to the TESTS variable.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 17:44:15 +01:00
Rohan Mars
131deb3976
SIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL
...
Signed-off-by: Rohan Mars <code@rohanmars.com>
2015-11-13 08:18:35 -08:00
Sage Weil
c73e96a39a
radosgw-admin: fix cli tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 10:06:18 -05:00
Sage Weil
4ff0368d55
osdmaptool: fix cli tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 10:05:53 -05:00
Sage Weil
a5b04650ae
crushtool: fix cli tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 09:53:37 -05:00
Sage Weil
b7bb21671a
crushtool: fix cli test help
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 09:27:28 -05:00
Loic Dachary
1d03924a11
Merge pull request #6532 from dachary/wip-mailmap
...
mailmap: Ubuntu Kylin name changed to Kylin Cloud
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-13 15:14:11 +01:00
Sage Weil
f622301fd1
Merge pull request #5848 from storage-zuiwanyuan/wip-nonblock-connect
...
msg/async: support of non-block connect in async messenger
Reviewed-by: Haomai Wang <haomai@xsky.com>
2015-11-13 09:04:47 -05:00
Sage Weil
0fa88ea981
Merge pull request #6478 from yuyuyu101/wip-13666
...
msg/async: let receiver ack message ASAP
Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 09:03:35 -05:00
Jie Wang
0533cf9d0c
osd: fix wrong use of right parenthesis
...
Signed-off-by: Jie Wang <jie.wang@kylin-cloud.com>
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-13 21:58:26 +08:00
Jianhui Yuan
0fd8de3f21
msg/async: support of non-block connect in async messenger
...
Fixes : #12802
Signed-off-by: Jianhui Yuan <zuiwanyuan@gmail.com>
2015-11-13 15:36:36 +08:00