Commit Graph

37035 Commits

Author SHA1 Message Date
John Wilkins
bec99559f3 Merge pull request #2389 from ceph/wip-doc-documenting-ceph
doc: Update documenting ceph to include CentOS/RHEL

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-11-14 10:13:12 -08:00
John Wilkins
175d6e03ba doc: Removed separate build file for rpm.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-11-14 10:11:35 -08:00
Yehuda Sadeh
ad431b284d Merge pull request #2801 from CzBiX/permanent-location
rgw: add location when data in another region.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-11-14 09:03:42 -08:00
Loic Dachary
069785e631 Merge pull request #2932 from nilamdyuti/wip-doc-documenting-ceph
doc: Adds build-doc guidelines for Fedora and CentOS/RHEL.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-14 17:18:12 +01:00
Haomai Wang
d957fbdb74 Merge pull request #2930 from dachary/wip-warning
tests: fix cast compilation warning
2014-11-15 00:12:05 +08:00
Nilamdyuti Goswami
a5a0d5c83f doc: Adds build-doc guidelines for Fedora and CentOS/RHEL.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-11-14 21:06:15 +05:30
Loic Dachary
f0de7c5a0b Merge pull request #2923 from ktdreyer/doc-install-giant
doc: update packages page for Giant

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-14 16:17:54 +01:00
Ken Dreyer
4cdc9c7936 doc: update release descriptions on packages page
Firefly was listed as the "latest release" of Ceph. Add Giant and label
it as the latest release instead.

Releases A-C and E are no longer supported. D will receive updates for
some time longer, and F is a "long term stable" release.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-11-14 07:49:39 -07:00
Loic Dachary
3b28fd0a8d tests: fix cast compilation warning
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-14 15:01:34 +01:00
Loic Dachary
2ad6ff1565 Merge pull request #2928 from leseb/improve-exceptions
Improve readability of the exception

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-14 11:05:02 +01:00
Sébastien Han
088230efe8 Improve readability of the exception
The error messages were not really clear from a non-programmer
perspective. In the context of OpenStack all the drivers are falling
back to the exceptions provided by the rados library. Having clearer
error messages will help debugging misconfigured environment.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-14 11:00:00 +01:00
VRan Liu
3c4b782bcb rgw: add location when data in another region.
When the bucket of requested is in another region, Add location header
in response, so client can follow that to get data.

Signed-off-by: VRan Liu <gliuwr@gmail.com>
2014-11-14 17:11:21 +08:00
Loic Dachary
caa97db964 Merge pull request #2925 from yuyuyu101/update-mailmap
Mailmap: add Rongze organization

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-14 08:42:35 +01:00
Haomai Wang
a04bb135a4 Mailmap: add Rongze organization
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-14 11:42:41 +08:00
Sage Weil
ef2565ecf1 vstart.sh: complain less about fullish mon disks
Lots of people develop on file systems  > 70% full.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 16:41:34 -08:00
Sage Weil
c15391b132 Merge remote-tracking branch 'gh/next' 2014-11-13 13:26:04 -08:00
Yan, Zheng
20f99ca526 mds: don't overwrite reply's snapbl
set_trace_dist() updates reply's snapbl, don't overwrite it. For MKSNAP
request, just need to set mdr->tracei, set_trace_dist() will set reply's
snapbl.

Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-11-13 13:25:39 -08:00
Loic Dachary
4509674d79 Merge pull request #2772 from ceph/wip-init-radosgw
init-radosgw.sysv: set ulimit -n before starting daemon

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 21:58:45 +01:00
Samuel Just
4d8e90be3a Merge pull request #2920 from ceph/wip-10095
crush: fix detach_bucket

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-13 11:08:23 -08:00
Sage Weil
6f8b96a9fe crush/CrushWrapper: fix detach_bucket
In commit 9850227d2f we changed the call that
changed the weight of all instances of item to one that explicitly
changes it in the parent bucket, but parent_id may not be valid at the
call site.  Move this into the conditional block to fix.

Fixes: #10095
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:59:58 -08:00
Sage Weil
a46fb02381 Makefile: include 'ceph' in base target
This makes 'make base' enough to vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:49:33 -08:00
Sage Weil
a820bf6f08 Merge pull request #2906 from ceph/wip-9835
osd: fix misdirected ec ops stuck in optracker (9835)

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-11-13 10:35:04 -08:00
Sage Weil
585b9065ec msg/Makefile: add new header to tarball
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:05:53 -08:00
Sage Weil
b61d834032 Merge pull request #2909 from yuyuyu101/wip-10079
AsyncMessenger: Add select support and tests for async drivers
2014-11-13 09:12:26 -08:00
Jason Dillaman
ff01842e2f Merge pull request #2912 from dachary/wip-warning
tests: fix compilation warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2014-11-13 09:26:02 -05:00
Loic Dachary
7da691af28 Merge pull request #2911 from keichwa/wip-doc-rados
Wip doc rados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 13:45:02 +01:00
Loic Dachary
d6be062be4 tests: fix compilation warning
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 13:03:22 +01:00
Karl Eichwalder
0ee6437856 doc: remove superfluous white spaces (for testing)
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:42:09 +01:00
Karl Eichwalder
ee45f48e3f doc: Fix 2 syntax errors.
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:17:01 +01:00
Haomai Wang
571c8577a9 AsyncMessenger: Fix select driver for add_event
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:36:05 +08:00
Haomai Wang
17ce4ec36e AsyncMessenger: Add tests for async drivers
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:35:58 +08:00
Haomai Wang
ebc8875a92 AsyncMessenger: Support select for other OS such as Windows
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:35:47 +08:00
Sage Weil
9e05ba086a osd/OSD: use OSDMap helper to determine if we are correct op target
Use the new helper.  This fixes our behavior for EC pools where targetting
a different shard is not correct, while for replicated pools it may be. In
the EC case, it leaves the op hanging indefinitely in the OpTracker because
the pgid exists but as a different shard.

Fixes: #9835
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 17:11:10 -08:00
Sage Weil
89c0263791 osd/OSDMap: add osd_is_valid_op_target()
Helper to check whether an osd is a given op target for a pg.  This
assumes that for EC we always send ops to the primary, while for
replicated we may target any replica.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 17:04:35 -08:00
David Zafman
5ce09198bf ceph_objectstore_tool: Fixes to make import work again
The is_pg() call is now true even for pgs pending removal, fix broken
    finish_remove_pgs() by removing is_pg() check.
Need to add create_collection() to the initial transaction on import

Fixes: #10090

Signed-off-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 16:00:14 -08:00
Sage Weil
21fc9b5ff1 Merge pull request #2903 from ceph/wip-crush-tree
crush: fix tree bucket functions

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 13:58:14 -08:00
Sage Weil
a69b8450f6 vstart.sh: warn less
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 13:35:43 -08:00
Josh Durgin
7695a61e89 Merge pull request #2892 from leseb/doc-juno-client-socket
doc: enable RBD cache and socket on OpenStack deployments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-12 21:57:06 +01:00
Sage Weil
292be9799e Merge pull request #2902 from dachary/wip-10083-noisy-osd
qa: handle CEPH_CLI_TEST_DUP_COMMAND on ceph osd create

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 11:27:08 -08:00
Josh Durgin
94a10196b5 Merge remote-tracking branch 'origin/next' 2014-11-12 11:18:52 -08:00
Loic Dachary
6c80525551 qa: handle CEPH_CLI_TEST_DUP_COMMAND on ceph osd create
If CEPH_CLI_TEST_DUP_COMMAND is set when ceph osd create is called, it
will create two osd. They must be cleaned up afterwards instead of
assuming only one is going to be created.

http://tracker.ceph.com/issues/10083 Fixes: #10083

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-12 19:33:46 +01:00
Sage Weil
22b6c1a531 Merge pull request #2124 from ceph/wip-objectstore
simplify ObjectStore interface

sage-2014-11-11_08:26:01-rados-wip-sage-testing-distro-basic-multi

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-12 10:02:52 -08:00
Sage Weil
1eed56bf5d Merge pull request #2722 from ceph/wip-9598
msgr: make mark_down not block on fast dispatch

sage-2014-11-11_08:26:01-rados-wip-sage-testing-distro-basic-multi

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-11-12 10:01:50 -08:00
John Wilkins
636316a15a Merge pull request #2901 from ktdreyer/doc-spelling-grammar
doc: spelling & grammar fixes

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-11-12 09:18:42 -08:00
Ken Dreyer
0cff9148ff doc: correct grammar in RGW SSL cert installation
The SSL certificate generation instruction was missing a preposition.
Add it.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-11-12 09:55:55 -07:00
Ken Dreyer
731ea68bfb doc: correct spelling of "fqdn"
The "fqdn" (fully-qualified domain name) was misspelled in a couple
places as fgdn". Use the correct spelling.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-11-12 09:53:43 -07:00
Jason Dillaman
d76bfc2e8e Merge pull request #2899 from jdurgin/wip-import-export-next
qa: allow small allocation diffs for exported rbds

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2014-11-12 09:26:45 -05:00
Sébastien Han
40994c918a doc: enable RBD cache and socket on OpenStack deployments
Enabling the RBD cache improves sequential IOs and the socket helps a
lot while troubleshooting. These 2 items are considered as best
practice for OpenStack deployments with Ceph.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-12 10:19:44 +01:00
Josh Durgin
e94d3c11ed qa: allow small allocation diffs for exported rbds
The local filesytem may behave slightly differently. This isn't
foolproof, but seems to be reliable enough on rhel7 rootfs, where
exact comparison was failing.

Fixes: #10002
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2014-11-11 18:16:04 -08:00
Josh Durgin
e5e92c7cb1 Merge pull request #2898 from ceph/wip-rbd-python-tests
librbd: Python unit tests now use unique pools and images

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-12 03:13:04 +01:00