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
a763569e3f
ceph: add 'osd crush rule ...' to usage
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 16:08:45 -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
a96869223e
mon: generate useful error msgs for 'osd crush rule create-simple ...'
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 15:54:19 -07:00
Sage Weil
8894c5041d
crush: return -1 on error from get_type_id
...
So we can distinguish between a bad type name and type 0.
Fix both callers, too.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-03 15:53:40 -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
John Wilkins
72fc6eb233
doc: Fixed typos.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-05-02 15:32:16 -07:00
Sage Weil
bae62bf313
Merge branch 'next'
2013-05-02 13:33:54 -07:00
Sage Weil
5cdd731784
Revert "mon: fix Monitor::pick_random_mon()"
...
This reverts commit 741f468523
.
This is fixed in next; revert this to avoid a conflict.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 13:33:36 -07:00
Sage Weil
4f49565b40
Merge remote-tracking branch 'gh/wip-mon-rank' into next
...
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-02 13:32:41 -07:00
Sage Weil
b4e73cc6cc
doc/install/upgrading...: note that argonaut->bobtail->cuttlefish must be v0.56.5
...
Which will be released shortly.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 13:19:30 -07:00
Samuel Just
039a3a97ce
tools/: add paranoid option to ceph-osdomap-tool
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-02 12:54:28 -07:00
Sage Weil
26105280d0
osd: default 'osd leveldb paranoid = false'
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 12:47:24 -07:00
Sage Weil
444660ed77
librados,client: bump mount timeout to 5 min
...
30 seconds is pretty short.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-02 12:32:06 -07:00
Sage Weil
debbc79e27
Merge pull request #251 from bkerensa/patch-1
...
Improve verbiage
Signed-off-by: Benjamin Kerensa <bkerensa@ubuntu.com>
2013-05-02 12:30:41 -07:00
Samuel Just
6a61268768
OSD: also walk maps individually for start_split in consume_map()
...
We need to go map-by-map to get the parents right in consume_map()
just as we must in load_pgs().
Fixes: 4884
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-02 12:21:18 -07:00
Sage Weil
c659dd764e
rgw: increase startup timeout to 5 min
...
30s is too short.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 11:06:22 -07:00
Sage Weil
65d61f7a83
Merge branch 'wip-paranoid' into next
2013-05-02 10:18:39 -07:00
Sage Weil
45c9e24f0e
doc/install/upgrading...: note about transitioning to ceph-deploy
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 07:30:55 -07:00
Sage Weil
a8d4647336
doc/release-notes: note about ceph-deploy
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 07:30:36 -07:00
Benjamin Kerensa
f95a053bd6
Update debian.rst
...
"complete list of distributions" should be complete list of releases since we already know what distributions are supported and the list specifies releases. (Wheezy, Precise etc.)
2013-05-02 02:26:47 -07:00
Sage Weil
6a91ecb18e
Merge branch 'next'
2013-05-01 21:46:50 -07:00
Sage Weil
17c14b251d
Merge remote-tracking branch 'gh/wip-doc-cuttlefish' into next
2013-05-01 17:24:40 -07:00
Samuel Just
c194151a85
Merge remote-tracking branch 'upstream/wip_4884' into next
...
Fixes : #4884
Reviewed-by: Greg Farnum <greg@inktank.com>
2013-05-01 16:11:47 -07:00
Samuel Just
615b84b1fd
Makefile,gitignore: ceph-monstore-tool, not ceph_monstore_tool
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 15:43:22 -07:00
Samuel Just
628e232060
Makefile: put ceph_monstore_tool in bin_DEBUGPROGRAMS
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 15:43:22 -07:00
Samuel Just
d0d93a743e
tools: ceph-osdomap-tool.cc
...
Add tool for dumping info from osd omap.
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 15:43:22 -07:00
Samuel Just
f4982268f7
OSD: load_pgs() should fill in start_split honestly
...
In load_pgs(), we previously called assigned children starting
at the loaded pg created between its stored epoch and the current
osdmap to have that pg as their parent. This is not correct, some
of the children may have been split in subsequent epochs from children
split in earlier epochs. Instead, do each map individually.
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 14:59:08 -07:00
Samuel Just
3e0ca62b0f
OSD: cancel_pending_splits needs to cancel all descendants
...
expand_pg_num() and load_pgs() may result in a pg with children
in pending_splits which also have children in pending_splits (etc).
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 14:56:25 -07:00
Sage Weil
d944180899
osd: add --osd-leveldb-paranoid flag
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-01 14:40:48 -07:00
Sage Weil
7cc0a35222
mon: add --mon-leveldb-paranoid flag
...
This is sort of equivalent to an fsck.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-01 14:40:47 -07:00
Greg Farnum
dfacd1bd80
dumper: fix Objecter locking
...
Locking expectations changed at some point, and the Dumper wasn't
updated to comply:
1) We need to take the lock for Objecter, as it
doesn't do so on its own any more.
2) We need to drop the lock in several places so that Objecter
can take delivery of messages
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-01 14:10:31 -07:00
Sage Weil
fdbab85ff3
Merge remote-tracking branch 'gh/next'
2013-05-01 14:03:31 -07:00