Commit Graph

40631 Commits

Author SHA1 Message Date
Jason Dillaman
82affca727 pybind: add update_features to rbd.py
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
7cff359188 librbd: add update_features to librbd API
Allow mutable features to be enabled / disabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
34c347becb tests: add test case for cls_rbd set_features
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
71b4c12478 cls_rbd_client: add set_features helper method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
71dcee745b cls_rbd: add set_features class method
Allow certain mutable feature flags to be updated within
an image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
2e26309329 librbd: remove usage of snapshot features
The features for the image HEAD now apply to all
snapshots within the image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
59b6801976 tests: update cls_rbd_client tests for get_features changes
Images no longer track per-snapshot features. snapshot_list
no longer needs to retrieve per-snapshot features.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
58d59d6e52 cls_rbd_client: snapshot_list no longer retrieves features
Features should now be consistent across snapshots, so
no reason to retrieve them.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
281f87f9ee cls_rbd: get_features on snapshots returns HEAD image features
In preparation for dynamic feature bits, it probably doesn't
make sense to have snapshots have different features enabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Sage Weil
8f4551c15e doc/release-notes: 0.67.12 are draft notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-06 08:36:24 -07:00
Ken Dreyer
471271b353 Merge pull request #4278 from nilamdyuti/wip-doc-ceph-object-gateway
doc: Corrects some content for Debian-based distros in simple gateway
configuration file.

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-06 08:23:11 -06:00
Nilamdyuti Goswami
54c808577b doc: Corrects some content for Debian-based distros in simple gateway
configuration file.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2015-04-06 18:51:17 +05:30
Loic Dachary
c78940714c Merge pull request #4238 from ceph/wip-9580
ceph-disk: make journal setup conditional on osd backend

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 12:15:38 +02:00
Sage Weil
7b19d8f33c Merge pull request #4244 from dachary/wip-9580
tests for ceph-disk: make journal setup conditional on osd backend
2015-04-05 17:25:05 -07:00
Loic Dachary
106d006787 tests: add ceph-disk.sh activate for memstore
Add a test for the activation of the memstore objectstore and verify
that it works without specifying a journal.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:19 +02:00
Loic Dachary
4601e10800 tests: move rados put/get tests in a function
Add the test_pool_read_write function to share the rados put / get test
that demonstrate the osd that has been created can actually be used. Use
it from the both the regular device and dmcrypt tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:19 +02:00
Loic Dachary
8db870edf1 tests: ceph-disk.sh dmcrypt tests use test_setup_dev_and_run
Instead of duplicating the device construction / destruction logic for
dmcrypt tests, use test_setup_dev_and_run to do it. It is now able to
recover from devmapper leftover which may occur when a cryptsetup test
fails.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:19 +02:00
Loic Dachary
8c6d209650 tests: merge ceph-disk.sh activate dmcrypt functions
The activate_dmcrypt_plain_dev_body and activate_dmcrypt_dev_body
functions are almost identical, merge them and differentiate with an
argument.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:18 +02:00
Loic Dachary
282ccce16a tests: add test_setup_dev_and_run to ceph-disk.sh
Move test_activate_dev to test_setup_dev_and_run and make it
run the function given in argument. test_activate_dev calls
test_setup_dev_and_run and no longer needs to implement device
allocation or destruction.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:18 +02:00
Loic Dachary
c583b57670 tests: improve ceph-disk.sh setup/teardown
Address all possible failure cases, when ceph-disk.sh completes or when
it starts with leftover from a previous interrupted run. It is assumed
that ceph-disk.sh will crash at any point.

* umount all mount points that belong to ceph-disk.sh (check the
  absolute path of the directory)
* dmsetup remove all device mapper nodes found to hold a loop device
  that ceph-disks.sh no longer uses
* losetup --detach all loop devices that ceph-disks.sh no longer uses

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:18 +02:00
Loic Dachary
eaf89661d9 tests: do not use -e in ceph-disk.sh
The tests explicitly return on error when relevant. Add two error cases:

* detect when the allocation of a loop device fails.
* in the outer loop, return immediately if one of the test fails

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:18 +02:00
Loic Dachary
28269d7cb8 tests: reduce ceph-disk.sh verbosity
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 01:58:18 +02:00
Sage Weil
23549bfbbd Merge pull request #4256 from dachary/wip-dumpling-release-notes
doc/release-notes: final dumpling v0.67.12 release notes
2015-04-05 10:35:26 -07:00
Kefu Chai
acfbc152c8 Merge pull request #4263 from dachary/wip-man-install
rhel 6 needs python-sphinx10 

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-03 10:25:36 +08:00
Loic Dachary
e39070fea7 man: using sphinx-1.0-build if no sphinx-build
On RHEL 6 and CentOS 6 sphinx 1.0+ which is required to build man pages
is packaged as sphinx10 instead of sphinx and the binary is
sphinx-1.0-build instead of sphinx-build.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-03 02:59:58 +02:00
Loic Dachary
a8eab36cb0 spec.in: sphinx -b man needs sphinx > 1.0
It is used to build the man pages.

Signed-off-by: Loic Dachary <ldachary@rehdat.com>
2015-04-03 02:59:58 +02:00
Loic Dachary
1433315b69 Merge pull request #4115 from dzafman/wip-dzmanfix
doc, mon: Add ceph osd pool get <poolname> all to man page

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-03 01:33:07 +02:00
Loic Dachary
59dfd63196 Merge pull request #4262 from dachary/wip-man-install
man: add conf.py to the list of distributed files
2015-04-03 00:55:55 +02:00
Loic Dachary
a3cf004411 man: add conf.py to the list of distributed files
Otherwise packages won't build as it's not included in the tarbal.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-03 00:22:01 +02:00
Loic Dachary
22f58a4550 Merge pull request #4260 from nilamdyuti/wip-doc-ceph-object-gateway
Replaces reference to mod_fastcgi with mod_proxy_fcgi in gateway docs

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-02 23:25:14 +02:00
Loic Dachary
0dd55ccc44 Merge pull request #4149 from objoo/mailmap-for-hammer-2
mailmap for hammer / master 2nd batch

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 23:19:01 +02:00
Yann Dupont
0b20c6b48e mailmap: Ian Kelling affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-04-02 21:58:26 +02:00
Yann Dupont
50f4495469 mailmap: Vartika Rai affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-04-02 21:58:26 +02:00
Yann Dupont
0f945872da mailmap: Alexandre Marangone affiliation
(probably a previous typo)

Signed-off-by: Yann Dupont <yann@objoo.org>
2015-04-02 21:58:26 +02:00
Yann Dupont
28a0e68c45 mailmap: Steve Capper affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-04-02 21:58:26 +02:00
Yann Dupont
3160b39c76 mailmap: Simon Guinot affiliation
(somewhat reverse 2afe1e3c44 )

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Simon Guinot <simon.guinot@sequanux.org>
2015-04-02 21:57:52 +02:00
Yann Dupont
30ba7f2787 mailmap: Yazen Ghannam affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-04-02 21:55:02 +02:00
Yann Dupont
3d5dae3fa8 mailmap: Lee Revell affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:54:58 +02:00
Yann Dupont
3a347fd1cc mailmap: Zhi (David) Zhang affiliation
And name normalization

Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:54:53 +02:00
Yann Dupont
6d534fc5e5 mailmap: Bosse Klykken affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:54:48 +02:00
Yann Dupont
24865dedbc mailmap: Dmitry Yatsushkevich affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:54:44 +02:00
Yann Dupont
b8da274aad mailmap: Greg Farnum affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:54:38 +02:00
Yann Dupont
ca23e6f06d mailmap: Boris Ranto affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-02 21:53:57 +02:00
David Zafman
81dca503f2 doc: Fix .gitignore for man directory
Caused by: 301fe6cbf2

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-04-02 11:47:18 -07:00
David Zafman
d51b8b35a1 doc: Add ceph osd pool get <poolname> all to man page
Caused by: ea6192116c

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-04-02 11:36:28 -07:00
David Zafman
070cadf111 mon: Add MIN_READ_RECENCY_FOR_PROMOTE to ONLY_TIER_CHOICES
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-04-02 11:36:27 -07:00
Nilamdyuti Goswami
f89b60f116 doc: Updates the radosgw man page with some changes.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2015-04-02 23:23:14 +05:30
Nilamdyuti Goswami
cdd1ed3183 doc: Updates simple gateway configuration file with some changes.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2015-04-02 23:21:26 +05:30
Nilamdyuti Goswami
9c00592d4e doc: Updates gateway installation doc with some changes.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2015-04-02 23:18:26 +05:30
Nilamdyuti Goswami
a25887b98b Merge branch 'wip-doc-ceph-object-gateway' of https://github.com/nilamdyuti/ceph into wip-doc-ceph-object-gateway 2015-04-02 23:05:22 +05:30