Commit Graph

1656 Commits

Author SHA1 Message Date
Danny Al-Gaaf
ae123a6dd5 corpus.rst: fix typo
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-08 23:22:38 +01:00
Danny Al-Gaaf
cf9f017d4e config.rst: fix typo
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-08 23:16:24 +01:00
Danny Al-Gaaf
5aaecc7210 cephx_protocol.rst: fix typo
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-08 23:11:25 +01:00
Danny Al-Gaaf
2cbb0a402b architecture.rst: fix typos
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-08 11:27:15 +01:00
Danny Al-Gaaf
a4cbb192ab rados/operations/control.rst: fix typo
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-08 11:13:52 +01:00
James Ryan Cresawn
c9eaa6510d Changed Availability section of ceph-mds.rst to reference ceph-mds, not ceph-mon.
Signed-off-by: James Ryan Cresawn <jrcresawn@gmail.com>
2014-03-06 22:05:15 -07:00
Wido den Hollander
a7057e1069 doc: Improve CloudStack RBD documentation 2014-03-04 22:24:36 +01:00
Loic Dachary
724ad02584 doc: update the operator create pool reference
Include erasure code information. A choice is made to display properties
that should be documented as part of the erasure code plugin
interface (erasure-code-k for instance). However, there only is one
plugin at the moment. Furthermore, erasure-code-k and erasure-code-m are
the two properties that the system administrator will want to tweak when
playing with erasure coded pools for the first time. It is probably
better to document them in a very visible place for this reason.

http://tracker.ceph.com/issues/7548 refs #7548

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-04 12:23:52 +01:00
Loic Dachary
74614106c8 doc: erasure coded pool developer documentation
With a structure similar to doc/dev/cache-pool.rst

http://tracker.ceph.com/issues/7548 refs #7548

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-04 09:52:11 +01:00
Sage Weil
a850a38711 doc/dev/cache-pool: fix notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-28 08:11:57 -08:00
Gregory Farnum
aee6925e11 Merge pull request #1264 from ceph/wip-mds-dencoder
mds: Add encode/decode/dump for use with dencoder

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-02-25 21:26:58 -08:00
Joao Eduardo Luis
3ee71a5cb1 doc: troubleshooting-mons.rst: better document how to troubleshoot mons
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-02-24 17:22:01 +00:00
Christopher O'Connell
c278269535 Added a note that the ceph-osd command requires the cluster option.
Signed-off-by: Christopher O'Connell <jwriteclub@gmail.com>
2014-02-21 18:26:58 -08:00
John Spray
541beb87dc mds: Add encode/decode/dump for use with dencoder
This is for the MDSTable subclasses: AnchorServer,
SnapServer, InoTable.  AnchorServer was partially there
but didn't work in practice dumped objects because of
the version prefix on the object.

This adds a skip argument to ceph-dencoder for getting
past fixed size prefixes.  The encode_server_state method
is also made const to avoid the need for const_casting (and
because it really is const)

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-20 15:22:29 +00:00
Sage Weil
b3bb9efea3 doc/release-notes: v0.77
Also pending notes for v0.78

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-19 16:57:25 -08:00
Sage Weil
fa96de9eeb doc/release-notes: v0.67.7
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-19 16:20:35 -08:00
Samuel Just
4a25951633 osd_types: introduce spg_t, pg_shard_t
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-17 20:11:05 -08:00
Sage Weil
7d398c2ae2 doc/release-notes: v0.67.6
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-14 14:20:51 -08:00
Sage Weil
9035227e9d doc/release-notes: do not downgrade from v0.67.6
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-12 18:02:58 -08:00
Sage Weil
7533b3b7b5 doc/release-notes: note about dumpling xattr backport
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-12 17:55:50 -08:00
Loic Dachary
f6afe8cc6e Merge pull request #1199 from ceph/wip-doc-librados-intro
Wip doc librados intro

Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-02-12 17:25:42 +01:00
Loic Dachary
8533b6ac2e Merge pull request #1185 from ceph/wip-crush
crush: "vary_r" tunable

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-02-11 23:42:53 +01:00
John Wilkins
2682b64c51 doc: Incorporated feed back from Loic and Dan.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-02-11 13:28:33 -08:00
John Wilkins
0da9621a89 doc: Adds additional terms for use with librados.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-02-11 13:28:04 -08:00
Sage Weil
e3309bce03 doc/rados/operations/crush: describe new vary_r tunable
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-11 11:12:56 -08:00
Florian Haas
9292cc215a doc: highlight that "raw" is the only useful RBD format for QEMU
Explain why people should be using the "raw" image format for RBD
volumes created for use by QEMU: using any other format adds only
overhead, but no extra value (since RBDs are also CoW and
thin-provisioned), plus the Qcow2 storage driver is not migration safe
when caching is enabled, whereas the RBD driver is.

Also, fix a minor glitch in the example qemu-img commands ("-f rbd"
and "-O rbd" should really be "-f raw" and "-O raw").

Finally, drop the "-f" option altogether on qemu-img commands where it
makes no sense (info and resize).

Signed-off-by: Florian Haas <florian@hastexo.com>
2014-02-11 00:30:07 +01:00
Loic Dachary
cf2d71cef5 Merge pull request #1127 from dmsimard/log_links
Doc: Fix 404 broken links to logging and debug configuration

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-02-09 00:33:42 +01:00
John Wilkins
8cb3dad548 doc: Added Python doc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-02-07 15:49:00 -08:00
John Wilkins
22afd6ca1f doc: Added inline literal tag.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-02-07 15:48:45 -08:00
John Wilkins
aaa2799f83 doc: Adds Python to index and sets maxdepth to 2.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-02-07 15:47:40 -08:00
Dan Mick
0aa25b178d Some suggested changes, both errors and rewordings
Python and C code examples tweaked a bit

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-06 16:54:47 -08:00
Loic Dachary
33b8ad810e common: add osd_pool_erasure_code_stripe_width
and document it.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-02-05 20:40:14 +01:00
Sage Weil
e47e49d23a doc/release-notes: v0.77 draft notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-03 21:55:45 -08:00
Sage Weil
2c504ea122 doc/release-notes: v0.76
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-03 21:40:59 -08:00
John Wilkins
2f85b8c8a3 doc: Incorporated feedback.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-31 21:58:23 -08:00
Alexandre Marangone
ee4cfda151 doc: rgw: el6 documentation fixes
- fix a couple of typo for repo configuration and service restart
- the ceph package must be installed on RPM distro since the init
script relies on ceph-conf
- Note on radosgw service name for RPM distro

Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
2014-01-31 13:55:55 -08:00
John Wilkins
456c727ea5 doc: Removed extraneous character from path.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-29 14:14:29 -08:00
Wido den Hollander
03da035f76 docs: Typo in CloudStack user creation 2014-01-29 12:16:05 +01:00
Wido den Hollander
f0f4b8df81 docs: Improve CloudStack documentation.
Add a section about creating a CephX user for CloudStack.
2014-01-29 11:08:08 +01:00
John Wilkins
97edd2fcad doc: Switched logging to true. Now required for sync agent.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-24 15:11:32 -08:00
David Moreau Simard
b90570f3dc Fix 404 broken links to logging and debug configuration
Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
2014-01-24 10:41:46 -05:00
Josh Durgin
28af392bc3 Merge pull request #1116 from jcsp/doc_toofull
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-01-23 22:43:43 -08:00
John Wilkins
ea026c6cc9 doc: Added domain pool, and changed zone configs to use domain tool so they don't clash.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-23 17:11:59 -08:00
John Wilkins
0303f0f17a doc: Change zone domain to include "domain" so it is clear.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-23 17:11:23 -08:00
John Wilkins
95e63ac6dd doc: Added space between {Query_String} and [E=HTTP ... to solve for 500 error.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-23 16:03:25 -08:00
John Wilkins
6915053648 doc: Adding more information on style and usage for documenting Ceph.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-23 14:27:33 -08:00
John Wilkins
2216afdfc3 doc: Fixed omission of a comma in zone configuration.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-23 13:34:25 -08:00
Joao Eduardo Luis
9792500af4 doc: add-or-rm-mons.rst: better explanation on number of monitors
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-01-22 12:26:41 +00:00
John Wilkins
b88c8eae80 doc: Added Documenting Ceph (draft) document.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-21 14:18:55 -08:00
John Wilkins
90aea59692 doc: Added documenting Ceph to the toc tree.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-21 14:18:26 -08:00
John Wilkins
ed2decb149 doc: Fixed end string from '' to `` to stop warnings. Enforced 80 char line.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-21 11:51:15 -08:00
John Spray
6bee1885a9 Docs: Add backfill_toofull to list of PG states
Signed-off-by: John Spray <john.spray@inktank.com>
2014-01-21 11:50:00 +00:00
John Wilkins
ad203d5988 doc: Fixed ruleset typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-17 13:33:48 -08:00
John Wilkins
d1de32cfb5 doc: Added default-placement to list of placement targets. Added SSL commentary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-17 11:23:40 -08:00
John Wilkins
80212eaaf4 doc: Added additional comment about port number.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-17 11:22:39 -08:00
John Wilkins
6e931326b0 doc: Removed Calxeda example.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 17:00:38 -08:00
John Wilkins
dd4a9e1875 doc: Removed saucy salamander reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:57:16 -08:00
John Wilkins
e7d28a72e6 doc: Added host resolution commentary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:54:25 -08:00
John Wilkins
22e9a75690 doc: Added comments from #6682.
fixes: #6682

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:51:17 -08:00
John Wilkins
6e37b7a81f doc: Added modification to quick start.
fixes: #6682

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:48:09 -08:00
John Wilkins
742d425fca doc: Changed file name.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:11:15 -08:00
John Wilkins
f7f9bedf48 doc: Added source file for graphic.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:11:01 -08:00
John Wilkins
26aa60212a doc: Added source file for graphic.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:10:47 -08:00
John Wilkins
c30b1387a6 doc: Added third monitor icon.
fixes: #6959

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:10:23 -08:00
John Wilkins
add59b836f doc: Added additional monitor icon.
fixes: #6959

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:09:45 -08:00
John Wilkins
4b03326bad doc: Removed old file. Changed file name.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 16:09:07 -08:00
John Wilkins
3194d66d23 doc: Fixed keyring command and updated for current conventions.
fixes: #6692

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-16 11:36:39 -08:00
Sage Weil
8b09a43657 doc/release-notes: v0.76 draft notes
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-15 19:02:23 -08:00
Sage Weil
2b36761b81 mon: favor 'mds set max_mds' over 'mds set_max_mds'
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-15 19:02:23 -08:00
John Wilkins
970f9387bd doc: Updated paths for OSDs using the OS disk.
fixes: #6682

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-15 10:08:28 -08:00
Sage Weil
e55a08964f doc/release-notes: v0.75
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-14 09:37:52 -08:00
John Wilkins
90343708b3 doc: Added comment and example for SSL enablement in rgw.conf
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-13 12:57:02 -08:00
John Wilkins
9615645372 doc: Added python example of handle, and closing session examples.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-13 12:40:47 -08:00
John Wilkins
54e588c84b doc: Modified doc examples to use rados_create2.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-13 11:20:24 -08:00
Loic Dachary
b4054fcc8d doc: copyright s/2013/2014/
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-01-12 18:06:06 +01:00
Loic Dachary
efbdd16380 doc: update the crushtool manual page
* add information about CEPH_ARGS
* rework the --build documentation and example
* add an Author section
* replace vi with emacs for no good reason
* cleanup whitespace

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-01-12 18:06:06 +01:00
John Wilkins
efb4cf6480 doc: Removed extraneous comment from snapshot text.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-09 10:26:28 -08:00
John Wilkins
09d021b4e8 doc: Updated for hostname -s and resolving to non-loopback IP address.
fixes: #6234

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-08 14:38:13 -08:00
John Wilkins
ed605f0dfb doc: Fixed hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-08 14:37:20 -08:00
John Wilkins
7d5674cf78 doc: Added librados introduction doc. Still wip.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-07 17:11:29 -08:00
John Wilkins
33e78a4ad9 doc: Updated terminology. Added librados intro to index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-07 17:11:01 -08:00
John Wilkins
ab2b2bb0fd doc: Fixed typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-03 16:30:12 -08:00
Dan Mick
3a42d4116d Merge pull request #1026 from dmsimard/ceph_rest_api_discovery
Be more explicit how to discover available API calls

Reviewed-by: Dan Mick <dan.mick@inktank.com>
2014-01-03 15:00:49 -08:00
John Wilkins
d110c913c1 doc: Removed dash from --dmcrypt option.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-01-03 14:37:23 -08:00
Sage Weil
46a5674b14 doc/release-notes: fix bobtail version
The tunables were mostly supported by later argonaut point releases,
but not officially.  Let's stick with bobtail though!

Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-02 08:36:47 -08:00
Sage Weil
41987db876 doc/release-notes: v0.74
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-01 17:58:30 -08:00
David Moreau Simard
42e98aca62 Be more explicit how to discover available API calls
I believe it cannot hurt to be slightly more explicit about how
to retrieve API calls and provide examples.

Signed-off-by: David Moreau Simard <dmsimard@iweb.com>
2013-12-31 16:48:55 -05:00
Kun Huang
e0bae95240 Fix typos in erasure code documents
Signed-off-by: Kun Huang <academicgareth@gmail.com>
2013-12-31 06:17:52 -05:00
Josh Durgin
9c068939c4 Merge branch 'rbd-map-options'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-27 09:56:55 -08:00
Ilya Dryomov
9b7364d245 rbd: expose options available to rbd map
Add a -o / --options option, which would allow users to specify
rbd-specific and generic ceph client and osd options available at
mapping time in a comma separated list (similar to mount(8) mount
options).

Exposed options are:

- fsid=%s
- ip=%s
- share
- noshare
- crc
- nocrc
- osdkeepalive=%d
- osd_idle_ttl=%d
- rw
- ro (equivalent to existing --read-only flag)

The rw/ro < 3.7 kernels compatibility kludge added in commit
fb0f198644 is preserved.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2013-12-27 09:56:24 -08:00
Sage Weil
f5b698cb1d Merge pull request #982 from dachary/wip-default-crush-rule
osd: add default crush rule for erasure pools

Reviewed-by: Sage Weil <sage@inktank.com>
2013-12-26 21:29:36 -08:00
Loic Dachary
dd81858ca6 mon: implement --osd-pool-default-crush-replicated-ruleset
--osd-pool-default-crush-replicated-ruleset replaces
--osd-pool-default-crush-rule

If --osd-pool-default-crush-rule is set it takes precedence over
--osd-pool-default-crush-replicated-ruleset and a deprecation warning is
displayed.

The CrushWrapper::get_osd_pool_default_crush_replicated_ruleset helper is
used to implement this behaviour.

Signed-off-by: Loic Dachary <loic@dachary.org>
2013-12-27 00:13:47 +01:00
Loic Dachary
2a7fcc35b8 osd: use CrushWrapper::add_simple_ruleset
Replace the manually crafted ruleset in OSDMap::build_simple_crush_map*
with calls to add_simple_ruleset. The generated ruleset do not have the
same behavior but that presumably do not cause any backward
compatibility problem because they are only created when a new cluster
is being initialized.

The prototypes of OSDMap::build_simple* are modified to allow for a
return code and display of a human readable error message.

The --osd-min-rep and --osd-max-rep configuration options are removed :
they were only used in the code that was removed.

Signed-off-by: Loic Dachary <loic@dachary.org>
2013-12-27 00:13:47 +01:00
Josh Durgin
e244be1846 Merge branch 'leseb-doc-rbd-havana'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-26 09:55:17 -08:00
Sébastien Han
8b0b32bd1b doc: Add OpenStack Havana documentation
New features appeared during the Havana cycle.
This patch offers a general update of the doc.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2013-12-26 09:55:03 -08:00
Wido den Hollander
19213e61b2 doc: Fix caps documentation for Admin API
The correct caps is users instead of user
2013-12-23 21:10:59 +01:00
Sage Weil
45449b880e doc/release-notes: missed a name
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-21 21:42:43 -08:00
Sage Weil
b0e42d8bd4 doc/release-notes: v0.72.2
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-21 21:33:23 -08:00
Sage Weil
5f1957ded2 doc/release-notes: v0.67.5
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-20 12:53:03 -08:00
Sage Weil
d0f14dfa64 mon: warn if crush has non-optimal tunables
Allow warning to be disabled via ceph.conf.  Link to the docs from the
warning detail.  Add a section to the docs specifically about what to do
about the warning.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-18 08:35:24 -08:00