Commit Graph

2476 Commits

Author SHA1 Message Date
Loic Dachary
539acac876 Merge pull request #5702 from Sandy4999/wip-doc-sandy
doc:radosgw: correct typos of the command removing a subuser

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-09-01 23:57:53 +02:00
Kefu Chai
cbe85ec126 doc: fix the code-block in ruby.rst
* and add the link to library homepage in the section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 02:51:05 +08:00
Kefu Chai
7a09ea09e2 Merge pull request #5655 from duduribeiro/patch-1
doc: update ruby doc with the aws-sdk gem usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-31 22:33:15 +08:00
Kadu Ribeiro
d05e531dc0 doc: update ruby doc with the aws-sdk gem usage
Since I'm using ceph with the `aws-sdk` gem (https://github.com/aws/aws-sdk-ruby) instead `aws-s3` (https://github.com/marcel/aws-s3) because the aws-s3 have a trouble with the new active support (https://github.com/marcel/aws-s3/issues/98) (and the downgrade active-support wasn't a option), I proposed change the doc to receive the usage instructions with the aws-sdk gem.

I used ceph with aws-sdk gem with this commands.

Thanks so much

Signed-off-by: Carlos E Ribeiro <mail@carlosribeiro.me>
2015-08-31 11:28:05 -03:00
Kefu Chai
6dc9ed5814 Merge pull request #5603 from wonzhq/doc-read-recency
doc: add the description for min_read_recency_for_promote

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-31 18:12:43 +08:00
Sangdi Xu
c901e855a5 doc:radosgw: correct typos of the command removing a subuser
Fix typos in the example command removing a subuser, and delete the 'The Ceph Object Gateway' tag as it should not appear there.

Signed-off-by: Sangdi Xu <xu.sangdi@h3c.com>
2015-08-28 18:19:23 +08:00
Sage Weil
3eb36fc732 doc/release-notes: v0.94.3
Fix up the release timeline link for v9.0.3 too.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-27 10:06:07 -04:00
Sage Weil
4dfe0a8a4b global: add --setuser and --setgroup options
These are done after reading config files/environment and before log files
are opened.  Allow a name or id to be specified.  In the case of --setuser,
also switch to that user's gid, unless --setgroup is also specified.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:34:15 -04:00
Sage Weil
dfb9fea3a9 Merge pull request #5660 from badone/doc_snaps_typo
doc: Fix typo and redundant word in snaps section
2015-08-25 11:54:29 -04:00
Sage Weil
a5aa415074 Merge pull request #5663 from ritz303/wip-doc-12771
doc: Added "Hammer" in the list of major releases.
2015-08-25 11:14:42 -04:00
ritz303
582f0f6445 doc: Added "Hammer" in the list of major releases.
Fixes: #12771

Signed-off-by: ritz303 <ritz_303@yahoo.com>
2015-08-25 10:02:49 -05:00
Kefu Chai
665de0a91f Merge pull request #5657 from badone/master
doc: Fix typo in recovery reservation section

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-25 19:35:53 +08:00
Brad Hubbard
699fca8089 doc: Fix typo and redundant word in snaps section
Fix typo and remove identifying from "filtering identifying" in
doc/dev/osd_internals/snaps.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 21:31:43 +10:00
Brad Hubbard
6ee7068c4c doc: Fix typo in writeback throttle section
Fix typo in doc/dev/osd_internals/wbthrottle.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 21:04:55 +10:00
Brad Hubbard
07a28d6ce2 doc: Fix typo in recovery reservation section
Fix typo in doc/dev/osd_internals/recovery_reservation.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 20:51:09 +10:00
Sage Weil
888a6337ab doc/release-notes: v9.0.3
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-24 09:36:08 -04:00
Zhiqiang Wang
d5a56c497a doc: update some of the outdated cache tiering doc
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-08-20 10:58:45 +08:00
Zhiqiang Wang
de00f6d0df doc: add the description for min_read_recency_for_promote
This cache tiering option is introduced in proxy read.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-08-20 10:49:30 +08:00
Zhiqiang Wang
73d4b7dbf2 doc: fix the format of peering.rst
Fix an incorrent number in the ordered list and some indention issue.
Make the ordered list to use '1' or 'a' for the first item, and '#' for
the remaining items.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-08-20 09:48:07 +08:00
Sage Weil
792e24bd30 doc: ceph-osd binds to up to 4 ports, not 3
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-18 13:57:37 -04:00
Kefu Chai
d8d6bb898d Merge pull request #5550 from schuzhoy/schuzhoy-patch-1
doc: Correcting the default number of copies.

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-12 17:25:18 +08:00
Kefu Chai
62d3f459ea Merge pull request #5072 from zhouyuan/doc_rgw_rados_handlers
doc: update rgw configuration on multiple rgw rados handlers feature

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-12 17:21:38 +08:00
Loic Dachary
fe28e19b5d Merge pull request #5495 from tchaikov/wip-12620
doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-12 09:49:18 +02:00
Yuan Zhou
7e6f819009 doc: update rgw configuration on multiple rgw rados handlers feature
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-08-12 09:09:07 +08:00
Alexander Chuzhoy
efc8969ec3 Doc: Correcting the default number of copies.
According to the "quick ceph deploy" page, the default number of replicas in the Ceph configuration file is 3

Signed-off-by: Sasha Chuzhoy <sashac88@hotmail.com>
2015-08-11 18:40:00 -04:00
John Wilkins
f3330a18f5 Merge pull request #5546 from ritz303/wip-doc-11897
doc: Clarify how 'ceph auth caps' works.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2015-08-11 10:11:12 -07:00
Kefu Chai
b199ac6c41 doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon
this change removes the step to "ceph mon add" before starting a new
monitor. because the existing leader will start an election at seeing
the MMonJoin message sent by the new joiner, after the quorum is
archieved, the monmap will be updated with the new monitor.
so, "ceph mon add" is not necessary to add a new monitor.
moreover, this command will be blocked until a new quorum is formed,
and the proposed monmap is accepted. but in case of adding a monitor
to a single monitor cluster, the leader will wait until at least two
of the monitors reply to it. apparently, this does not happen unless
the new monitor starts. so from the user's point of view, this
command hangs until timesout, if he/she does not start the mon.b
beforehand. but this is an expected behaviour.

so, to avoid this confusion and simplify the steps to add a new
monitor. we'd better simply remove this "ceph mon add" step.

Fixes: #12620
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-11 22:18:04 +08:00
John Wilkins
ff6e975850 Fixed mistaken reference to mon in osd section. Changed release name to hammer.
Fixes: #7807

Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-08-10 14:05:15 -07:00
ritz303
65e8f195a7 doc: Clarify how 'ceph auth caps' works.
Fixes: #11897

Signed-off-by: ritz303 <ritz_303@yahoo.com>
2015-08-10 15:38:49 -05:00
Josh Durgin
b049c94903 Merge branch 'wip-vumrao-12111' of https://github.com/vumrao/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-08-09 23:01:01 -07:00
Kefu Chai
281a3dde8f Merge pull request #5520 from badone/master
doc: remove duplicate word in Motivation section.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-10 11:26:38 +08:00
Brad Hubbard
370e4a71a2 doc: remove duplicate word in Motivation section.
Remove to\nto typo in doc/dev/osd_internals/erasure_coding/pgbackend.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-10 11:51:49 +10:00
Kefu Chai
e04f324b3c Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
doc: update rgw configuration doc on bucket index sharing feature

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:27:51 +08:00
Vikhyat Umrao
cd4ac1cae1 rbd: support size suffixes for size-based options
This patch will provide support for size suffixes for
below given options:

--stripe-unit <size in B/K/M>
--io-size <size in B/K/M/G/T>
--io-total <size in B/K/M/G/T>

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-08-06 20:40:51 +05:30
Brian Andrus
e67539e370 Fix location of --access=full in SWIFT user creation
--access=full was incorrectly placed in the output of the command, while it was supposed to have been a flag run with the command.
2015-08-05 16:25:48 -07:00
Loic Dachary
cdd5f770e3 Merge pull request #5469 from theanalyst/doc/v0.94.3-release
doc: release notes for v0.94.3

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-04 19:13:02 +02:00
Abhishek Lekshmanan
793fe5205d doc: release notes for v0.94.3
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-08-04 21:23:27 +05:30
Josh Durgin
fb4e332124 Merge pull request #5440 from vumrao/wip-vumrao-12458-doc
doc: change --keyfile description in man page of rbd help

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-08-03 11:05:55 -07:00
Vikhyat Umrao
85cb86d05f doc: change "--keyfile" description in man page of rbd help
"--keyring" has higher priority than "--keyfile".
"--keyfile" option is overridden by "--keyring"
if latter is also specified.

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-08-03 22:57:04 +05:30
Ilya Dryomov
3fbcf5e265 doc: krbd supports clones since 3.10
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-31 19:50:58 +03:00
Kefu Chai
81afcc206d doc: fix the build of placement-groups.rst
add a reference target of "mapping pgs to osds"

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-31 17:08:20 +08:00
Sage Weil
ca40bf0b30 Merge pull request #5423 from oddomatik/patch-1
doc: No CRUSH involvement in deciding PG target

Reviewed-by: Sage Weil <sage@redhat.com>
2015-07-30 17:32:52 -04:00
Yehuda Sadeh
d621d9878c Merge pull request #5414 from cxwshawn/master
doc: add bucket object version description.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-30 13:52:06 -04:00
oddomatik
77cdb500af No CRUSH involvement in deciding PG target
Quoting from elsewhere "[we calculate] a placement group using the object name, a hash code, the number of PGs in the pool and the pool name"
2015-07-30 22:33:09 +08:00
shawn
5c395ff856 doc: add bucket object version description.
bucket object version has been supported, but do not have description in the docs,
so add this part.

Signed-off-by: shawn chen <cxwshawn@gmail.com>
2015-07-30 10:09:16 +08:00
x11507
d8395cfc76 modified librados-intro.rst
Signed-off-by: x11507 <xu.donghai@h3c.com>
2015-07-28 20:19:46 +08:00
Josh Durgin
37e2b7b85b Merge remote-tracking branch 'origin/next' 2015-07-27 16:42:12 -07:00
Ilya Dryomov
17a3e4b969 rbd: rename --object-extents option to --whole-object
--object-extents is a bit confusing - extent is generally something of
a varying length and here the meaning is "diff whole objects".  Rename
it to --whole-object (the name of diff_iterate() parameter).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Ilya Dryomov
afbf90d5b5 rbd: du command should take spec as an argument
Change du to take <image-spec> | <snap-spec> as an argument instead of
going through --image option.  The new synopsis is

    (du | disk-usage) [<image-spec> | <snap-spec>]

This is to make it look more like the rest of the commands: the only
other command that takes pool as an argument is ls and it can't really
serve as a prototype for du, because the latter has to work on images
and snapshots as well.

Examples:

    # stats for pool rbd
    $ rbd du
    $ rbd -p rbd du

    # stats for pool foo
    $ rbd -p foo du

    # stats for snapshot mysnap of image baz in pool rbd
    $ rbd du baz@mysnap

    # stats for image bar in pool foo
    $ rbd du foo/bar

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Ilya Dryomov
bbc5c71284 rbd: import doesn't require image-spec arg, ditto for export and path
Mark those as such in help and clarify what image-spec defaults to.

Related, all command args in our man page are enclosed into brackets.
I suppose the reason is that they are optional in the sense that you
can have commands like

    $ rbd clone --pool a --image b --snap -c --dest-pool d --dest e

with no args.  Given that we are trying to push people towards

    $ rbd clone a/b@c d/e

undo that so that real optional arguments can be marked optional.
While at it, add synopsis for each command and use backticks for
denoting commands more consistently.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00