Commit Graph

22162 Commits

Author SHA1 Message Date
Dan Mick
e7c02b3a38 doc: Fix per-daemon public/private settings: "network" -> "addr" 2012-11-07 17:17:12 -08:00
Dan Mick
eac614a7c8 doc: Clarify "pool size", copies, and replicas more 2012-11-07 17:16:51 -08:00
Noah Watkins
52bada57de doc: fix Hadoop config option typo
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-07 17:07:55 -08:00
John Wilkins
d3553a588d doc: Made changes to the CSS to make admonitions more prominent.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:11:56 -08:00
John Wilkins
067953f981 doc: Added lines between title and body. Pre IA cleanup.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:11:29 -08:00
John Wilkins
282ac92ae1 doc: Updated syntax for consistent usage prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:10:40 -08:00
John Wilkins
d1404c3435 doc: Updated index for removal of legacy openstack install.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:57 -08:00
John Wilkins
9127ebd413 doc: Minor edit to admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:30 -08:00
John Wilkins
04f661fe29 doc: Updated syntax prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:12 -08:00
John Wilkins
d38df17e7d doc: Updated syntax usage prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:08:45 -08:00
John Wilkins
ee07b224df doc: Added new info per Ross's request.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:55 -08:00
John Wilkins
a1b2f584eb doc: Fix and minor edit for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:28 -08:00
John Wilkins
e1195fdf7f doc: Minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:05 -08:00
John Wilkins
6731b55e12 doc: Edits from Peter Reiher's feedback, and minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:06:40 -08:00
John Wilkins
2260e15279 doc: Minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:06:00 -08:00
John Wilkins
07f60d4505 doc: Added topic for adding OSDs and adjusting CRUSH weights.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:05:15 -08:00
John Wilkins
764ec3650f Merge branch 'master' of https://github.com/ceph/ceph 2012-11-07 14:03:34 -08:00
John Wilkins
0a939d0427 doc: Removed legacy OpenStack installation.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:02:51 -08:00
John Wilkins
5ef58d3e74 doc: Added topic for adding an OSD and adjusting CRUSH weights.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:01:00 -08:00
Gary Lowell
c357474dbf ceph.spec.in: Remove ceph version requirement from ceph-fuse package.
The ceph-fuse rpm package now only requires ceph as a pre-req, not a specific
version.
2012-11-07 12:41:10 -08:00
tamil
cca606f423 Update log file when rgw is not running
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-07 11:49:54 -08:00
Samuel Just
13486857cf osd/: add pool min_size parameter for min acting set size
Otherwise, a pg might go active with a single osd in the
acting set.  If that osd subsequently dies, we potentially
loose client writes.  Note: it's still possible for the
acting set to exceed min_size but fail to obey the spirit
of the user's crush settings (e.g., min_size is 2, but both
osds happen to be no the sam node).

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil: <sage@inktank.com>
2012-11-07 11:37:42 -08:00
Samuel Just
3faefdd242 Merge remote-tracking branch 'upstream/wip_lost_unfound_event'
Reviewed-by: Sage Weil <sage@inktank.com>
2012-11-07 11:35:04 -08:00
Samuel Just
3b26a4d909 Merge remote-tracking branch 'upstream/wip-xattr'
Reviewed-by: Samuel Just <sam.just@inktank.com>
2012-11-07 09:52:54 -08:00
Sage Weil
456c90b08d Makefile: add missing rgw_resolve.h to dist tarball
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-07 04:46:21 -08:00
Sage Weil
02527d4091 qa: disable xfstest 45 until mount issue is resolved on precise
Meh

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-07 04:14:12 -08:00
Dan Mick
0c989794bd Merge branch 'next' 2012-11-06 15:52:38 -08:00
Dan Mick
0baa9275ea cls_rbd: send proper format of key to "last_read" for dir_list
rbd ls of format-2 images was looping on the first 64 (when more than 64
were present).  The key name passed to the omap layer needs to always
contain the prefix, and the "inside-the-loop next-chunk" statement
was missing the "add the prefix" call.

Also, add a test for listing 100 images, format 1 and 2.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-06 15:51:44 -08:00
Yehuda Sadeh
fe9a441037 rgw: document cname configurable
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-06 15:49:18 -08:00
Yehuda Sadeh
c89d85c77d Merge remote-tracking branch 'origin/master' into wip-3206 2012-11-06 15:20:07 -08:00
Yehuda Sadeh
951c6be42a rgw: resolve hostname dns cname record
Implements #3206
This allows using vanity domains. A CNAME record can now
be set for the domain that would point at the rgw instance,
with or without a bucket set as a subdomain.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-06 15:19:47 -08:00
Noah Watkins
6aa9cff219 java: use accessors for mode flag tests
Add isDir(), isFile(), and isSymlink() for read-only tests corresponding
to the S_ISREG test and friends.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Reviewed-by: Joe Buck <jbbuck@gmail.com>
2012-11-06 13:50:38 -08:00
Yehuda Sadeh
84299e16f3 rgw: fix multipart overwrite
Fixes: #3400
Removed a few lines of code that prematurely created the head
part of the final object (before creating the manifest).

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-06 10:17:14 -08:00
Yehuda Sadeh
be6d563653 rgw: don't reset multipart parts when updating their metadata
Fixes: #3401
The problem was that put_obj_meta() was assuming object is going
to be reset, so it was resetting the object anyway. This is not
true when dealing with the immutable multipart upload parts.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-06 10:16:59 -08:00
Yehuda Sadeh
488b019adf rgw: break out of read loop if we got zero bytes
If the part that we're reading is corrupted and we end up
reading zero bytes, we need to exit, otherwise we'd just
loop forever.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-06 10:16:17 -08:00
John Wilkins
9a1ee028d6 Merge branch 'master' of https://github.com/ceph/ceph 2012-11-06 09:14:11 -08:00
John Wilkins
138262f683 doc: fixed some inccorrect syntax.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-06 09:13:54 -08:00
Dan Mick
241569c595 rbd: allow removal of image even if rbd_children deletion fails
Users have been seeing failures where rbd rm is half-done; could be
because of outstanding watches on the rbd_header object.  The state
is that rbd_children no longer contains the child, but other pieces
remain; remove considers this a failure.

Fix: test for ENOENT from remove_child, and treat that as an ignorable
error and drive on.  Simulate this in copy.sh by removing the
rbd_children object altogether, which also results in ENOENT return
from remove_child.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-05 21:41:34 -08:00
Dan Mick
4b4e0fa609 rbd: allow removal of image even if rbd_children deletion fails
Users have been seeing failures where rbd rm is half-done; could be
because of outstanding watches on the rbd_header object.  The state
is that rbd_children no longer contains the child, but other pieces
remain; remove considers this a failure.

Fix: test for ENOENT from remove_child, and treat that as an ignorable
error and drive on.  Simulate this in copy.sh by removing the
rbd_children object altogether, which also results in ENOENT return
from remove_child.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-05 20:15:41 -08:00
John Wilkins
15b3d98fc4 doc: Minor edits and added reference to Cephx intro.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-05 11:02:55 -08:00
Samuel Just
85cd694846 osd/: encode LOST_REVERT reverting_to in prior_version pos
This will allow older osds to interpret the LOST_REVERT event
correctly.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-11-05 11:02:32 -08:00
Samuel Just
bad0114503 PG: use remove_object_with_snap_hardlinks for divergent objects
Otherwise, we end up leaving snap hardlinks in the snapshot
index directories.  This eventually results in an EEXIST error
when we attempt to re-link the clone into place during
recovery.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-11-05 10:48:16 -08:00
Sage Weil
699e54dfeb rbd: stripe count is not measured in bytes
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 09:57:39 -08:00
Sage Weil
0db11c79c2 chain_xattr: use sys_* methods
The sys_* wrappers return -errno on error; use those!

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:14:20 -08:00
Sage Weil
8c3481d94a os/FileStore: chain_*() methods return error codes; don't check errno
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:13:54 -08:00
Yehuda Sadeh
9cf0be71a8 chain_xattr: comment about how xattrs are named
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-05 00:13:54 -08:00
Sage Weil
2bf6a2bfef os/chain_xattr: whitespace, constify *end
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:13:54 -08:00
Sage Weil
be438dc834 os/chain_xattr: do not double memory buffer (again)
This appears to be a typo; there is no need to double (again) the size of
the buffer we allocate.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:13:54 -08:00
Sage Weil
b7f89cb7b0 os/chain_xattr: fix listxattr buffer size
Intenrally allocate 2x the raw listxattr result; tell the user the same.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:13:53 -08:00
Sage Weil
54966006bc os/FileStore: introduce lfn_close()
Match every lfn_open() with lfn_close() (instead of close(2)).

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 00:13:53 -08:00