summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #761 from ceph/wip-6620nextSage Weil2013-10-231-1/+1
|\ | | | | | | | | mds: MDSMap: adjust buffer size for uint64 values with more than 5 chars Backport: dumpling, cuttlefish
| * mds: MDSMap: adjust buffer size for uint64 values with more than 5 charswip-6620Joao Eduardo Luis2013-10-241-1/+1
|/ | | | | | Fixes: #6620 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
* Merge pull request #730 from ceph/wip-monc-pingJoão Eduardo Luís2013-10-2210-15/+307
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mon: MonClient: ping monitors without authenticating * add support on the monitor to reply to MPing messages with the contents of 'mon_status' and 'health', regardless of a client having authenticated beforehand. * add support on the MonClient to send a MPing message to a randomly picked monitor (it was easier this way, '-m ip:port' allows for targeted ping) and block waiting for a reply. * add support on librados, pybind/rados.py and the 'ceph' tool to send pings to monitors. Resolves: #5984 Reviewed-by: Greg Farnum <greg@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
| * cli: ceph: add support to ping monitorsJoao Eduardo Luis2013-10-231-0/+20
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * pybind: rados: ping a monitor via libradosJoao Eduardo Luis2013-10-231-0/+31
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * pybind: rados: support ETIMEDOUT on make_ex()Joao Eduardo Luis2013-10-231-1/+6
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * librados: support pinging a monitor without auth via RadosClientJoao Eduardo Luis2013-10-234-0/+54
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * mon: MonClient: allow pinging a monitor without authenticating firstJoao Eduardo Luis2013-10-232-0/+137
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * mon: MonClient: adjust whitespacesJoao Eduardo Luis2013-10-231-10/+9
| | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * mon: Monitor: reply to ping messages, letting them know we're aliveJoao Eduardo Luis2013-10-232-0/+40
| | | | | | | | | | | | Fixes: #5984 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * mon: Monitor: do not flush formatter at end of _mon_status()Joao Eduardo Luis2013-10-231-4/+10
|/ | | | | | | Delegate that to the caller so that we can combine the result of _mon_status() with the result of other functions. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
* Merge remote-tracking branch 'gh/wip-6242-b' into nextSage Weil2013-10-222-18/+49
|\ | | | | | | | | Reviewed-by: Greg Farnum <greg@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com>
| * pybind/rados: create InterruptedOrTimeoutError exceptionSage Weil2013-10-221-1/+6
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: move timeoutSage Weil2013-10-221-1/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: catch exceptions thrown during the rados handle initSage Weil2013-10-221-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In my case, making ceph.conf unreadable triggers an exception here: Traceback (most recent call last): File "./ceph", line 802, in <module> sys.exit(main()) File "./ceph", line 575, in main conf_defaults=conf_defaults, conffile=conffile) File "/home/sage/src/ceph/src/pybind/rados.py", line 221, in __init__ self.conf_read_file(conffile) File "/home/sage/src/ceph/src/pybind/rados.py", line 272, in conf_read_file raise make_ex(ret, "error calling conf_read_file") rados.Error: error calling conf_read_file: errno EACCES Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: show basic help before initializing cluster connectionSage Weil2013-10-221-7/+8
| | | | | | | | | | | | That way we still get help if there is an error. Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: default 5 second timeout for -hSage Weil2013-10-221-0/+4
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: add --connect-timeout optionSage Weil2013-10-221-1/+10
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: print basic options before connectingSage Weil2013-10-221-11/+15
| | | | | | | | | | | | This will let you control-c if the mon is unresponsive. Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph: fixup do_help() function connection checkGreg Farnum2013-10-221-1/+1
| | | | | | | | | | | | | | | | We might have cluster_handle defined, but not have successfully connected. Instead, check if it's in the connected state. Signed-off-by: Greg Farnum <greg@inktank.com>
| * ceph.in: add emacs modelineSage Weil2013-10-221-1/+3
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | Merge branch 'wip-6606' into nextYehuda Sadeh2013-10-229-72/+72
|\ \ | |/ |/| | | Reviewed-by: Sage Weil <sage@inktank.com>
| * rgw: don't bother to call c_str() on strings passed to dump_string()Yehuda Sadeh2013-10-221-7/+7
| | | | | | | | | | | | dump_string() also accepts const string reference. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * rgw: init src_bucket_name, src_object in the S3 handlerwip-6606Yehuda Sadeh2013-10-212-16/+13
| | | | | | | | | | | | Be consistent and initialize these fields also in the S3 case. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * rgw: get rid of req_state.bucket_nameYehuda Sadeh2013-10-218-31/+22
| | | | | | | | | | | | | | | | No need for this field, as we already have req_state.bucket_name_str. This saves us some memory allocation / freeing through every request processing. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * rgw: turn swift COPY into PUTYehuda Sadeh2013-10-215-31/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6606 The swift COPY operation is unique in a sense that it's a write operation that has its destination not set by the URI target, but by a different HTTP header. This is problematic as there are some hidden assumptions in the code that the specified bucket/object in the URI is the operation target. E.g., certain initialization functions, quota, etc. Instead of creating a specialized code everywhere for this case just turn it into a regular copy operation, that is, a PUT with a specified copy source. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | Merge pull request #754 from ceph/wip-test-librbdJosh Durgin2013-10-222-4/+19
|\ \ | | | | | | | | | fix ceph_test_lirbd crash Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| * | ceph_test_librbd: fix heap overrunSage Weil2013-10-221-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We are storing rbd_snap_info_t structs, not pointers to them. But we can also avoid the heap entirely. This crashed pretty reliably on arm. Signed-off-by: Sage Weil <sage@inktank.com>
| * | librbd: parse args to ceph_test_librbdSage Weil2013-10-212-1/+18
|/ / | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | librbd: fix build errorSage Weil2013-10-211-1/+1
| | | | | | | | | | | | From a10703008f7f4eb57a62658f2b9a015eb81509d0. Signed-off-by: Sage Weil <sage@inktank.com>
* | ceph-mon: add debug to ip selectionSage Weil2013-10-211-0/+2
| | | | | | | | | | | | This will hopefully help us track down #5804. Signed-off-by: Sage Weil <sage@inktank.com>
* | Merge pull request #753 from ceph/wip-5668-bJosh Durgin2013-10-211-1/+3
|\ \ | |/ |/| | | librbd: wire up flush counter Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| * librbd: wire up flush counterSage Weil2013-10-211-1/+3
| | | | | | | | | | Fixes: #5668 Signed-off-by: Sage Weil <sage@inktank.com>
* | Merge pull request #751 from ceph/wip-6603Loic Dachary2013-10-212-0/+3
|\ \ | |/ |/| a couple trivial leaks
| * common/BackTrace: fix memory leakwip-6603Sage Weil2013-10-211-0/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * common/cmdparse: fix memory leakSage Weil2013-10-211-0/+2
|/ | | | | | demangle is allocating with malloc() in this case. Signed-off-by: Sage Weil <sage@inktank.com>
* Merge pull request #746 from ceph/wip-6582Sage Weil2013-10-184-11/+25
|\ | | | | | | | | Wip 6582 Reviewed-by: Sage Weil <sage@inktank.com>
| * ReplicatedPG: copy: conditionally requeue copy ops when cancelledwip-6582Greg Farnum2013-10-182-11/+19
| | | | | | | | | | | | | | | | | | | | | | We may need to requeue copy ops which are cancelled as part of an acting set change but don't change the primary. To support this, add a "requeue" flag to cancel_copy_ops() and copy_ops(), as well as to CopyResults. The CopyCallback is then responsible for requeuing (the higher layers can't do so as they can't know which request actually triggered the copy). Signed-off-by: Greg Farnum <greg@inktank.com>
| * PG: add a requeue_op() function to complement requeue_ops().Greg Farnum2013-10-182-0/+6
|/ | | | Signed-off-by: Greg Farnum <greg@inktank.com>
* Merge branch 'next'Gary Lowell2013-10-182-1/+7
|\
| * v0.71v0.71lastGary Lowell2013-10-172-1/+7
| |
* | Merge pull request #737 from xarses/6127Josh Durgin2013-10-171-0/+2
|\ \ | | | | | | | | | Add Redhat init script option Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| * | Add Redhat init script optionAndrew Woodward2013-10-171-0/+2
| | | | | | | | | | | | | | | Resolves: 6127 Signed-off-by: Andrew Woodward <awoodward@mirantis.com>
* | | Merge pull request #738 from ceph/wip-cache-crcSage Weil2013-10-171-12/+17
|\ \ \ | |/ / |/| | | | | | | | fix cached crc, bug #6583 Reviewed-by: Samuel Just <sam.just@inktank.com>
| * | common/buffer: invalidate crc on zero, copy_inSage Weil2013-10-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not capture users who - calc a crc - use c_str() to modify the buffer content - (re)calc a crc Signed-off-by: Sage Weil <sage@inktank.com>
| * | common/buffer: fix crc_map typesSage Weil2013-10-171-8/+8
| | | | | | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * | common/buffer: drop unused fieldsSage Weil2013-10-171-4/+2
|/ / | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | qa/workunits/rest/test.py: fix mds {add,remove}_data_pool testSage Weil2013-10-171-2/+2
| | | | | | | | | | | | Arg name changed from poolid to pool in e2602c54. Signed-off-by: Sage Weil <sage@inktank.com>
* | doc/release-notes: link ot the changelogSage Weil2013-10-171-0/+2
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | doc/release-notes: v0.61.9Sage Weil2013-10-172-0/+604
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>