summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* init-radosgw.sysv: New radosgw init file for rpm based systemswip-init-radosgwGary Lowell2013-04-113-4/+96
| | | | | | | | | | | | Added init-radosgw.sys file for rpm based systems, added it to the tarball list in the makefile, and updated the specfile to install it. Also added the a dependency in ceph since it uses utility routes from that package (On debian systems these are packaged in ceph-common). Incorporated review comments from Alex. (Bug #4571) Signed-off-by: Gary Lowell <gary.lowell@inktank.com> Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
* doc: Added additional note on first step of adding OSD.John Wilkins2013-04-111-5/+6
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Added info on OSD naming, and example.John Wilkins2013-04-111-1/+24
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Moved ceph osd create to first step.John Wilkins2013-04-111-5/+9
| | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* doc: Changed libvirt example to use virtio.John Wilkins2013-04-111-2/+5
| | | | fixes: #4469
* rgw_admin: Create keys for a new user by default.caleb miles2013-04-101-2/+3
| | | | | | Create a new key pair for new users or when --gen-access-key is specified. Signed-off-by: caleb miles <caleb.miles@inktank.com>
* Merge branch 'next'Josh Durgin2013-04-1022-86/+199
|\
| * test: update rbd formatted-output for progress changesJosh Durgin2013-04-101-8/+8
| | | | | | | | | | | | Progress output now goes to stderr instead of stdout. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
| * Merge branch 'wip-journaler-4618' into nextGreg Farnum2013-04-092-9/+13
| |\ | | | | | | | | | Reviewed-by: Sam Lang <sam.lang@inktank.com>
| | * journaler: remove the unused prefetch_from member variableGreg Farnum2013-04-082-4/+1
| | | | | | | | | | | | Signed-off-by: Greg Farnum <greg@inktank.com>
| | * mds: fix journaler to set temp_fetch_len appropriately and read the ↵Greg Farnum2013-04-081-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requested amount The _prefetch() function which intereprets temp_fetch_len interprets it as the amount of data we need from read_pos, which is the beginning of read_buf. So by setting it to the amount *more* we needed, we were getting stuck forever if we actually hit this condition. Fix it by setting temp_fetch_len based on the amount of data we need in aggregate. Furthermore, we were previously rounding *down* the requested amount in order to read only full log segments. Round up instead! Fixes #4618 Signed-off-by: Greg Farnum <greg@inktank.com>
| * | config: fix osd_client_message_cap commentGreg Farnum2013-04-091-1/+1
| | | | | | | | | | | | Signed-off-by: Greg Farnum <greg@inktank.com>
| * | Merge remote-tracking branch 'origin/wip-osd-throttle2' into nextGreg Farnum2013-04-098-48/+92
| |\ \ | | | | | | | | | | | | Reviewed-by: Greg Farnum <greg@inktank.com>
| | * | osd: throttle client messages by count, not just by bytesSage Weil2013-04-062-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us put a cap on outstanding client IOs. This is particularly important for clients issuing lots of small IOs. Fixes: #4579 Signed-off-by: Sage Weil <sage@inktank.com>
| | * | msgr: add second per-message throttler to message policySage Weil2013-04-067-46/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a throttler that lets of limit the amount of memory consumed by messages from a given source. Currently this is based only on the size of the message payload. Add a second throttler that limits the number of messages so that we can effectively throttle small requests as well. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | FileJournal: clarify meaning of start_seq and fix initializationSamuel Just2013-04-092-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Second guessing the first sequence number from the FileStore was silly and broke tests which had the temerity to start at 1 instead of 2... Fixes: #4687 Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
| * | | Revert "global: call config observers on global_init (and start logging!)"Greg Farnum2013-04-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a30917746614275baeb718e902133f06ef44fba6. This commit includes calls that involve Mutexes, Lockers, and lockdep -- which isn't yet set up, so things break horribly. A more subtle approach is required. Signed-off-by: Greg Farnum <greg@inktank.com>
| * | | mon: Use _daemon version of argparse functionsDan Mick2013-04-085-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow argparse functions to fail if no argument given by using special versions that avoid the default CLI behavior of "cerr/exit" Fixes: #4678 Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * | | ceph_argparse: add _daemon versions of argparse callsDan Mick2013-04-082-7/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mon needs to call argparse for a couple of -- options, and the argparse_witharg routines were attempting to cerr/exit on missing arguments. This is appropriate for the CLI usage, but not the daemon usage. Add a 'cli' flag that can be set false for the daemon usage (and cause the parsing routine to return false instead of exit). The daemon's parsing code due for a rewrite soon. Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * | | Pipe: call discard_requeued_up_to under pipe_lockSamuel Just2013-04-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #4627 Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
| * | | Merge pull request #202 from ceph/wip-log-bootGregory Farnum2013-04-081-0/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Fixes #4676. Reviewed-by: Greg Farnum <greg@inktank.com>
| | * | | global: call config observers on global_init (and start logging!)Sage Weil2013-04-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we don't start logging on daemon startup unless the log_file parameter was adjusted by ceph.conf. Instead, we should call all config observers so that the logging subsystem is fully configured and we log even prior to the daemonize and common_init_finish (when we call observers again). This fixes logging for the initial period before we daemonize. For some of the daemons (osd, mon), this includes significant work. It also fixes the problem where users don't see the 'ceph version ...' banner on daemon start. Backport: bobtail Signed-off-by: Sage Weil <sage@inktank.com>
| | * | | global: flush log before stopping/starting on daemonizeSage Weil2013-04-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that we push log data out before we restart logging. This may not be strictly necessary, but it avoids a whole class of possible pitfalls. Signed-off-by: Sage Weil <sage@inktank.com>
| * | | | Merge pull request #206 from ceph/wip-4660Gregory Farnum2013-04-081-1/+2
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | mds: Keep LogSegment ref for openc backtrace Reviewed-by: Greg Farnum <greg@inktank.com>
| | * | | mds: Keep LogSegment ref for openc backtraceSam Lang2013-04-081-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MDRequest is destroyed once the client reply is sent, but we need the reference to the LogSegment for updating the backtrace, so store a temporary ref to the LogSegment for later. Fixes #4660. Signed-off-by: Sam Lang <sam.lang@inktank.com>
* | | | Merge pull request #211 from ceph/wip-doc-4697scuttlemonkey2013-04-101-1/+1
|\ \ \ \ | | | | | | | | | | pool should be root in osd set syntax for bobtail
| * | | | pool should be root in osd set syntax for bobtailscuttlemonkey2013-04-101-1/+1
|/ / / /
* | | | Merge pull request #203 from dalgaaf/wip-da-pybind-pylint-v2Josh Durgin2013-04-083-35/+598
|\ \ \ \ | |/ / / |/| | | Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
| * | | rados.py: add docstrings for Ioctx::__aio_*_cb()Danny Al-Gaaf2013-04-081-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rados.py: add more docstringsDanny Al-Gaaf2013-04-071-1/+389
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rados.py: add docstrings for *Error classes and othersDanny Al-Gaaf2013-04-071-0/+61
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | cephfs.py: add docstring for shutdown() and version()Danny Al-Gaaf2013-04-071-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rados.py: fix create_pool()Danny Al-Gaaf2013-04-071-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call rados_pool_create_with_all() only if auid and crush_rule are set properly. In case only crush_rule is set call rados_pool_create_with_crush_rule() on librados, not the other way around. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rados.py: add some docstringsDanny Al-Gaaf2013-04-071-1/+80
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rados.py: chmod -xDanny Al-Gaaf2013-04-071-0/+0
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | pybind: unify make_ex() code in cephfs.py and rados.pyDanny Al-Gaaf2013-04-072-24/+20
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | pybind: add docstrings for make_ex()Danny Al-Gaaf2013-04-072-2/+25
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | rbd.py: remove unnecessary semicolonsDanny Al-Gaaf2013-04-071-2/+2
|/ / / | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | | mon: make 'osd crush move ...' idempotentSage Weil2013-04-061-1/+2
| | | | | | | | | | | | | | | | | | If we don't need to move the item, return success. Signed-off-by: Sage Weil <sage@inktank.com>
* | | librbd: fix DiffIterateStress againSage Weil2013-04-061-4/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | - fix seed - the array indices are points in time; no need to subtract one from i! - pick a random seed and print it to stdout I ran this with several different seeds without failure, so I am confident we are in good shape. And if we ever get a future failure, we'll have the seed to reproduce. Signed-off-by: Sage Weil <sage@inktank.com>
* | librbd: fix DiffIterateStress testSage Weil2013-04-051-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we write to an interval that didn't previously exist and then discard it so that it again doesn't exist, all during the same interval, then we should not include it in the 'written' set (or exists set, obviously). Similarly, when we got to look at a merged diff, we can ignore extents that were written (and possibly zeroed) if they neither existed before nor after. Bump up the iteration count to get more confidence that this is actually correct. Signed-off-by: Sage Weil <sage@inktank.com>
* | rgw: translate object marker to raw formatYehuda Sadeh2013-04-051-12/+5
| | | | | | | | | | | | | | | | Fixes: #4600 Object marker should be treated as an object, so that name is formatted correctly when getting the raw oid. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | Allow creation of buckets starting with underscore in RGWcaleb miles2013-04-053-7/+15
| | | | | | | | Signed-off-by caleb miles <caleb.miles@inktank.com>
* | Merge pull request #198 from dalgaaf/wip-da-specGary Lowell2013-04-054-55/+52
|\ \ | | | | | | | | | | | | Fix some install and rpm SPEC issues Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
| * | debian/ceph-test.install: add installed but not packaged filesDanny Al-Gaaf2013-04-041-0/+2
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: add installed but not packaged files to ceph-testDanny Al-Gaaf2013-04-041-0/+2
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: remove some twice created directoriesDanny Al-Gaaf2013-04-041-4/+1
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: fix udev rules.d files handlingDanny Al-Gaaf2013-04-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Move 50-rbd.rules into the ceph base package since the related ceph-rbdnamer binary is part of this package. Use correct install pattern. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: use macros for standard directoriesDanny Al-Gaaf2013-04-041-8/+8
| | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | ceph.spec.in: reorder and fix ceph file listDanny Al-Gaaf2013-04-041-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | Reorder file list of ceph package. Fix handling of placeholder directories, make use of directories marcros like %{_localstatedir} for /var. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>