Commit Graph

25849 Commits

Author SHA1 Message Date
John Wilkins
452fb529fa doc: Fixed typo.
fixes: #4422

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 16:11:29 -07:00
John Wilkins
a0cb5e5e33 doc: Removed "and" as suggested.
fixes: #3686

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 16:08:11 -07:00
John Wilkins
ad75582cdd doc: Fixed hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 13:48:55 -07:00
John Wilkins
87160c4db2 doc: Fixed path typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 13:43:32 -07:00
John Wilkins
2d6e4d2b00 doc: Updated OS support for Cuttlefish.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 11:49:30 -07:00
John Wilkins
67b60b9647 doc: Minor tweak to the definition list style.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 10:09:15 -07:00
John Wilkins
c20751690c doc: Added glossary to TOC.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:58:04 -07:00
John Wilkins
473aae9616 doc: Added glossary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:57:40 -07:00
John Wilkins
4e99dca970 doc: Fixed usage typo.
fixes: #4923

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-07 07:57:16 -07:00
Sage Weil
78518f6247 Merge pull request #262 from gollub/typos
fixed common typo in error messages
2013-05-07 07:30:44 -07:00
Daniel Gollub
27d86bd15b fixed common typo in error messages
Signed-off-by: Daniel Gollub <d.gollub@telekom.de>
2013-05-07 11:55:46 +02:00
Sage Weil
2bd2731240 doc/install/{debian,rpm}: update for cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:16:23 -07:00
Sage Weil
7c3a0e8b37 doc/start/get-involved: fix links
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:33: Unknown target name: "tracker".
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:43: Unknown target name: "support".

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:11:29 -07:00
Sage Weil
b107081f06 doc/release-notes: I missed rgw rest api in the release notes
Mostly from here dd19d693e6

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 20:07:53 -07:00
Gary Lowell
e5b25bd36b Merge branch 'next' 2013-05-06 19:51:47 -07:00
Sage Weil
9d85d67e77 os/ObjectStore: add missing break in dump()
CID 751331 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: This case (value 35) is not terminated by a 'break' statement.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 17:15:14 -07:00
John Wilkins
298ebdb0f5 doc: Deleted redundant "so that" phrase.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:41:08 -07:00
John Wilkins
277f2de93d doc: Corrected typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:38:41 -07:00
John Wilkins
359bd6df07 doc: Corrected typo. 2013-05-06 16:38:21 -07:00
John Wilkins
2d4b5bd872 Removed comment out of header, and added "coming soon." 2013-05-06 16:37:50 -07:00
John Wilkins
1cfc6e3bd5 doc: Updated usage for push | pull.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 16:37:12 -07:00
Sage Weil
bd36e78f72 osd: make class load errors louder
Fixes: #4639
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 14:34:37 -07:00
Gary Lowell
237f3f1e8d v0.61 2013-05-06 13:18:56 -07:00
Samuel Just
eb69c7df19 os/: default to dio for non-block journals
Workaround: #4910
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-06 13:05:01 -07:00
Sage Weil
60603d01e5 ceph-disk: use separate lock files for prepare, activate
Use a separate lock file for prepare and activate to avoid deadlock.  This
didn't seem to trigger on all machines, but in many cases, the prepare
process would take the file lock and later trigger a udev event and the
activate would then block on the same lock, either when we explicitly call
'udevadm settle --timeout=10' or when partprobe does it on our behalf
(without a timeout!).   Avoid this by using separate locks for prepare
and activate.  We only care if multiple activates race; it is
okay for a prepare to be in progress and for an activate to be kicked
off.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 12:12:04 -07:00
Danny Al-Gaaf
e662b6140b ceph-test.install: add ceph-monstore-tool and ceph-osdomap-tool
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:37 -07:00
Danny Al-Gaaf
eae02fd34c ceph.spec.in: remove twice listed ceph-coverage
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:18 -07:00
Danny Al-Gaaf
71cef0867b ceph.spec: add some files to ceph
Add installed, but not packaged files to ceph-test (ceph-monstore-tool,
ceph-osdomap-tool) rpm file section.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 11:30:02 -07:00
John Wilkins
c5d4302489 doc: Update the usage to reflect optional directory name.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 11:19:33 -07:00
John Wilkins
35acb152ef doc: Rearranged to show zapping multiple disks and creating multiple OSDs.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 11:19:09 -07:00
John Wilkins
8add78cade doc: Moved install to the second step, from the first step.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 10:50:24 -07:00
Gary Lowell
c3ba53d255 Merge pull request #256 from dalgaaf/wip-da-spec-update
Fix ceph.spec.in
2013-05-06 10:28:22 -07:00
Gary Lowell
0200c90352 Merge pull request #257 from dalgaaf/wip-da-fix-debian
ceph-test.install: add ceph-monstore-tool and ceph-osdomap-tool
2013-05-06 10:28:04 -07:00
John Wilkins
6abbe68010 doc: Autonumbering syntax correction.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 10:08:38 -07:00
John Wilkins
efa460c337 doc: Added troubleshooting PGs to the index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 10:04:29 -07:00
John Wilkins
cddf3b53b8 doc: Commented out osd list for now.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 09:44:31 -07:00
John Wilkins
0c0fc03ec6 doc: Commented out remove a mds for now.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 09:44:13 -07:00
John Wilkins
41eecf4f81 doc: Forwarding link. FAQ migrated to new Ceph wiki.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-06 09:43:41 -07:00
Danny Al-Gaaf
3540d90587 ceph-test.install: add ceph-monstore-tool and ceph-osdomap-tool
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 15:42:57 +02:00
Danny Al-Gaaf
6f33885111 ceph.spec.in: remove twice listed ceph-coverage
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 15:21:56 +02:00
Danny Al-Gaaf
acb60e58e4 ceph.spec: add some files to ceph
Add installed, but not packaged files to ceph-test (ceph-monstore-tool,
ceph-osdomap-tool) rpm file section.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-06 15:09:32 +02:00
Sage Weil
1a67f7b3ac mon: fix init sequence when not daemonizing
We made the common_init_finish and chdir conditional on daemonize in commit
2e0dd5ae6c, breaking init (asok at least)
when -f is specified (as with upstart).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-03 16:20:26 -07:00
Sage Weil
3f0b8ec2d4 mon: avoid null deref in Monitor::_mon_status()
mikedawson reports:

*** Caught signal (Segmentation fault) **
 in thread 7f40ce270700

 ceph version 0.60-801-g7ec0151 (7ec0151397)
 1: /usr/bin/ceph-mon() [0x59d550]
 2: (()+0xfbd0) [0x7f40d3e38bd0]
 3: (operator<<(std::ostream&, entity_name_t const&)+0x16) [0x4d7c46]
 4: (operator<<(std::ostream&, entity_inst_t const&)+0x1b) [0x4d837b]
 5: (Monitor::_mon_status(std::ostream&)+0x2ce) [0x4d284e]
 6: (Monitor::do_admin_command(std::string, std::string, std::ostream&)+0x4f) [0x4d652f]
 7: (AdminHook::call(std::string, std::string, ceph::buffer::list&)+0x68) [0x4efa38]
 8: (AdminSocket::do_accept()+0x451) [0x64ab81]
 9: (AdminSocket::entry()+0x398) [0x64c528]
 10: (()+0x7f8e) [0x7f40d3e30f8e]
 11: (clone()+0x6d) [0x7f40d237ae1d]

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-03 16:04:31 -07:00
Sage Weil
b2501e91bb ceph.spec: require xfsprogs
This is needed when creating new OSDs (via ceph-disk).  At least for most
people.  Eventually we'll want to include btrfs here.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 13:28:24 -07:00
Sage Weil
378eb32801 Merge branch 'next' 2013-05-03 11:36:42 -07:00
Sage Weil
a0988be62f doc/release-notes: warn about sysvinit crush map update
See c189d855e6.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 11:36:37 -07:00
Sage Weil
c189d855e6 init-ceph: update osd crush map position on start
This is what the upstart ceph-osd.conf does; we need to do the same so that
new OSDs (e.g., that ceph-deploy creates) get added to the crush map.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 11:33:20 -07:00
Sage Weil
2e0dd5ae6c mon: fork early to avoid leveldb static env state
leveldb has static state that prevents it from recreating its worker thread
after our fork(), even when we close and reopen the database (tsk tsk!).
Avoid this by forking early, before we touch leveldb.

Hide the details in a Preforker class.  This is modeled after what
ceph-fuse already does; we should convert it later.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-03 11:29:24 -07:00
Sage Weil
6f8c1e9cf4 doc/release-notes: add/link complete changelogs
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 11:04:35 -07:00
Sage Weil
4fa2c497fe doc/release-notes: v0.56.5
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 11:04:05 -07:00