Commit Graph

29282 Commits

Author SHA1 Message Date
John Wilkins
b88267b839 doc: Added guide for getting packages. Still needs work.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:26:30 -07:00
John Wilkins
90487e31bd doc: Added new guide for adding repositories.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:26:08 -07:00
John Wilkins
dcbaec5e22 doc: Created new stepwise manual install section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:25:46 -07:00
John Wilkins
4e6a9a5b9e doc: Modified cloning source to include git steps. Consolidation.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:25:13 -07:00
John Wilkins
314fd2c80c doc: Updated OS recommendations with an Emperor entry.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:24:38 -07:00
John Wilkins
6369d96c29 doc: Updated Quick Block Device for kernel versions, and linked OS Recommendations. 2013-10-22 13:24:11 -07:00
John Wilkins
df9315cddc doc: Removed RGW from quick start, since it is not ceph-deploy enabled.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:23:07 -07:00
John Wilkins
8a36503879 doc: Moved CPU Profiler docs to dev.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:22:17 -07:00
John Wilkins
06ec0f6707 doc: Removed Calxeda reference since it is now the same as normal install.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:21:25 -07:00
John Wilkins
b422d4a1d5 doc: Removed old files. Consolidated contents into new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-22 13:20:59 -07:00
Josh Durgin
81c8ce2cee Merge pull request #724 from ceph/wip-4047
cls_rbd: do not make noise in osd log on rbd removal

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-16 09:56:35 -07:00
Sage Weil
72ce2efab9 cls_rbd: do not make noise in osd log on rbd removal
ubuntu@burnupi06:~$ tail -f /var/log/ceph/ceph-osd.1.log
2013-02-07 17:00:30.565749 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sds': -2
2013-02-07 17:00:30.566301 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2
2013-02-07 17:03:54.085700 7fdb0a66c700 0 <cls> cls/rbd/cls_rbd.cc:1615: error reading id for name 'sdfsd': -2
2013-02-07 17:03:54.086143 7fdb09e6b700 0 <cls> cls/rbd/cls_rbd.cc:1521: error reading name to id mapping: -2

Fixes: #4047
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 17:55:32 -07:00
athanatos
a49d66895d Merge pull request #728 from ceph/wip-6059
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
2013-10-15 17:15:16 -07:00
Sage Weil
e550e3db5e test_ceph_argparse: fix typo
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 16:50:05 -07:00
Sage Weil
dbd6d979cf test_ceph_argparse: fix mds {add,remove}_data_pool tests
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 16:48:53 -07:00
Sage Weil
5838c0901a common: fix non-daemon init
In commit 4f403c26dc we broke the general
non-daemon case.

Also make a note in the release notes.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-15 16:32:32 -07:00
Sage Weil
92ea0d19bb test/librados/cmd: fix compile error
From commit f0805cb61f.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 15:32:07 -07:00
Samuel Just
c69e76cbdd ReplicatedPG: remove the other backfill related flushes
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-10-15 15:19:10 -07:00
Samuel Just
3469dd896f RadosModel: send racing read on write
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-10-15 15:19:09 -07:00
Samuel Just
0246d47f56 ReplicatedPG: block reads on an object until the write is committed
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-10-15 15:19:05 -07:00
Samuel Just
c658258d9e OSD: ping tphandle during pg removal
Fixes: #6528
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-10-15 15:16:56 -07:00
Sage Weil
0d508156ca Merge pull request #687 from ceph/wip-pool
mon: make 'mon {add,remove}_data_pool ...' take pool name or id

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-10-15 15:09:09 -07:00
Sage Weil
53ff63c2f8 Merge pull request #723 from ceph/wip-6334
common: don't do special things for unprivileged daemons

Reviewed-by: Greg Farnum <greg@inktank.com>
2013-10-15 15:03:50 -07:00
Sage Weil
4f403c26dc common: don't do special things for unprivileged daemons
We generally do want an admin socket and log, and people usually run these
as root.  This is more confusing than useful.

Fixes: #6334
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 14:35:20 -07:00
Sage Weil
5aa237e8a8 mon, osd: send leveldb log to /dev/null by default
Fixes: #5175
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 14:23:43 -07:00
Sage Weil
ee480d8685 Merge pull request #542 from ceph/wip-6122
test/librados/cmd.cc: tolerate thrashing on pg_command tests
2013-10-15 13:46:25 -07:00
John Wilkins
ab8f9b17d6 doc: Update from user feedback. Needed to enable S3/Keystone.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-15 13:38:48 -07:00
Alan Somers
bd7a7dd689 os/FileStore: fix fiemap double-free(s)
If GenericFileStoreBackend::do_fiemap returns anything other than 0, then
fiemap will not be allocated. However,
GenericFileStoreBackend::detect_features will free fiemap regardless,
triggering an assertion in tcmalloc. The attached patch will fix the bug
by only freeing fiemap when necessary.

In my case, do_fiemap returns -ENOSYS because fiemap is not implemented
on FreeBSD. However, this bug could also happen on Linux when do_fiemap
returns -ENOMEM.

Fixes: #6504
Signed-off-by: Alan Somers <asomers@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-10-15 13:26:15 -07:00
Alan Somers
26228ed701 ceph-dencoder: select_generated() should properly validate its input
If m_list.size() == 0, then calling select_generated(0) will result in
uninitialized data being assigned to m_object, which will cause a segfault
down the road. This patch fixes that.

To Reproduce:
$ ceph-dencoder type MWatchNotify select_test 0 encode decode
Segmentation fault (core dumped)

After the patch:
$ ./ceph-dencoder type MWatchNotify select_test 0 encode decode
error: invalid id for generated object
$ echo $?
1

Fixes: #6510
Signed-off-by: Alan Somers <asomers@gmail.com>
2013-10-15 13:06:54 -07:00
Sage Weil
8b43d72453 vstart.sh: create dev/ automatically
Otherwise you have to explicitly create it on a new checkout.

Also mkdir -p for consistency, tho it's not needed if dev/ is already
there.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 12:53:05 -07:00
Sage Weil
7f7f760890 Merge pull request #706 from ceph/wip-6059
Wip 6059

Partly-reviewed-by: Greg Farnum <greg@inktank.com>
Partly-reviewed-by: Sage Weil <sage@inktank.com>
2013-10-15 10:27:56 -07:00
Sage Weil
0ad33423f0 Merge pull request #717 from dachary/master
mon: osd pool set syntax relaxed, modify unit tests

Reviewed-by: Sage Weil <sage@inktank.com>
2013-10-15 10:12:07 -07:00
Loic Dachary
08327fed82 mon: osd pool set syntax relaxed, modify unit tests
The argument is no longer restricted to a numerical value. Another
variable was added ( hashpspool ) check that it is a valid variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
2013-10-15 19:03:25 +02:00
Sage Weil
a3368cfc5f Merge remote-tracking branch 'gh/next' 2013-10-14 17:06:13 -07:00
huangjun
02b5eb281a ceph.spec.in: do not list ceph-rest-api twice; add missing cls_hello files
Reported-by: hjwsm1989@gmail.com
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-14 17:05:49 -07:00
Sage Weil
7a3e13de0d Merge pull request #712 from ceph/wip-mon-pool-set
rework ceph osd pool set <pool> <field> <val>

Reviewed-by: Sage Weil <sage@inktank.com>
2013-10-14 16:56:41 -07:00
Sage Weil
dd33c9802f osd/osd_types: generalize pg_pool_t::get_flags_string()
This way the method doesn't have to be modified when new flags are added.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-14 16:54:07 -07:00
Sage Weil
b0994e7011 Merge pull request #694 from grosskur/fix-rpm-junit4
ceph.spec.in: Always depend on junit4 (fixes bug #6216)

Reviewed-by: Loic Dachary <loic@dachary.org>
2013-10-14 16:48:17 -07:00
Sage Weil
e2602c549f mon: make 'mon {add,remove}_data_pool ...' take pool name or id
Take either a pool name or an id.  Fix up the tests accordingly.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-14 16:46:58 -07:00
Yehuda Sadeh
7f0d644cb4 Merge branch 'wip-rgw-quota'
Conflicts:
	src/test/cli/radosgw-admin/help.t

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-10-14 14:14:17 -07:00
Yehuda Sadeh
f2645e1c6d rgw: swift update obj metadata also add generic attrs
Fixes: #6462
We were missing the generic attributes when we updated the object
metadata (operation that only exists in the swift api).

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-10-14 11:26:39 -07:00
Gregory Farnum
097d61d104 Merge pull request #711 from ceph/wip-objecter-errors
These two patches fix several completion Contexts which are inappropriately setting the Op rval to zero.

Reviewed-by: Greg Farnum <greg@inktank.com>
2013-10-14 11:22:53 -07:00
Alan Somers
6641273b19 SignalHandler: fix infinite loop on BSD systems
SignalHandler::entry shouldn't poll for POLLOUT, because it never actually
writes to the pipes in question. Polling for POLLOUT causes poll(2) to
immediately return, so the function spins the CPU and never blocks. Remove
the POLLOUT flag, unnecessarily introduced in commit
8e4a78f169 when switching from select() to poll().

This fixes the problem on FreeBSD and doesn't break anything (AFAICT) on
Linux. Tested on FreeBSD 9.1 amd64 and Ubuntu Server 13.04 amd64.

Fixes: #6492

Signed-off-by: Alan Somers <asomers@gmail.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-10-14 11:14:44 -07:00
John Wilkins
2cc5805a14 doc: Removed underscore for consistency.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-10-14 10:31:51 -07:00
John Wilkins
516fe8ceb1 Merge pull request #713 from dachary/master
doc: disable cephx requires auth_supported = none
2013-10-14 10:27:52 -07:00
Yehuda Sadeh
4b8eb4ffdd radosgw-admin: add --quota-scope param to usage
and also look at it when setting quota on a bucket.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-10-14 10:26:49 -07:00
Gregory Farnum
fe23a281fa Merge pull request #708 from ceph/wip-truncate2
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-10-14 09:32:53 -07:00
Gregory Farnum
1572136489 Merge pull request #715 from ceph/wip-5025
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-10-14 09:28:52 -07:00
Yan, Zheng
f5685013a4 mds: flock: fix F_GETLK
fixes #5025
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2013-10-14 16:39:48 +08:00
Samuel Just
b0f49e0fba ReplicatedPG.h: while there cannot be a read in progress, there may be a read blocked
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-10-13 09:47:58 -07:00