Commit Graph

40697 Commits

Author SHA1 Message Date
Kefu Chai
2924d3c615 doc: remove duplicated option doc
sphinx complains:
SEVERE: Duplicated ID: "cmdoption-radosgw-admin--bucket"
at seeing duplicated `--bucket` option in radosgw-admin.rst. and
there is a global `--bucket` for all commands of radosgw, so remove
the one for the `quota` command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
1c381b3ca8 Merge pull request #4273 from dachary/wip-docker-ccache
tests: docker-test must bind mount .ccache

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-07 21:21:19 +08:00
John Spray
780576ba62 Merge pull request #4255 from Ved-vampir/osdccnt
Perf counters descriptions, new part

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Joao Eduardo Luis <jluis@suse.com>
2015-04-07 14:10:04 +01:00
Loic Dachary
8ac26975e6 Merge pull request #4286 from tchaikov/readable-href-in-admonition
doc: show href anchor in white in important block

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 14:48:09 +02:00
Loic Dachary
eaeada55a7 Merge pull request #4287 from dachary/wip-sphinx
spec.in: sphinx -b man needs sphinx > 1.0 (part 2)

Reviewed-by: Owen Synge <osynge@suse.com>
2015-04-07 14:36:00 +02:00
Kefu Chai
d6da80e4ab doc: show href anchor in white in important block
Fixes: #11310
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 20:18:11 +08:00
Ved-vampir
6a76b9d1da mon: add perf counters description
Sign-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
2015-04-07 14:25:24 +03:00
John Spray
4d921ee6b7 Merge pull request #4265 from trociny/wip-11319
ceph daemonperf: add watch interval and count parameters

Reviewed-by: John Spray <john.spray@redhat.com>
2015-04-07 11:58:54 +01:00
Loic Dachary
21b93775d6 spec.in: sphinx -b man needs sphinx > 1.0 (part 2)
Instead of listing the operating system versions that do not require the
python-sphinx10 package, switch to listing the operating system versions that
require the python-sphinx10 package. It's easier to maintain because
there only are a few.

Signed-off-by: Loic Dachary <ldachary@rehdat.com>
2015-04-07 12:09:03 +02:00
Loic Dachary
3f75cbc704 Merge pull request #4271 from nehaummareddy/master
doc: Replaced with apt word and fixed grammatical error

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 11:54:19 +02:00
nehaummareddy
168881b61d doc: Replaced with apt word and fixed grammatical error
Signed-off-by: Neha Ummareddy <nehaummareddy@gmail.com>
2015-04-07 14:11:23 +06:00
Sage Weil
9c7ea3be91 Merge pull request #3867 from wonzhq/fiemap
FileStore: fiemap implementation using SEEK_HOLE/SEEK_DATA

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 15:48:27 -07:00
Sage Weil
cee47b361c Merge pull request #3170 from tchaikov/python-rados-refactor
python-rados: extract type-checking into a decorator

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 15:47:33 -07:00
Sage Weil
a074a1478d Merge pull request #3560 from XinzeChi/wip-pmon-all
ceph.in: add ceph ping mon.* for ping all monitor

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-06 15:47:09 -07:00
Sage Weil
6c070accfc Merge pull request #3879 from liewegas/wip-cache-mode-none
mon: warn if cache_mode is none and pool is a read or writ eoverlay tier

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 15:46:21 -07:00
Josh Durgin
04566f5c54 Merge pull request #3980 from ceph/wip-rbd-update-features
librbd: add support for updating image features 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-06 15:33:53 -07:00
Sage Weil
1594daecc6 Merge remote-tracking branch 'gh/hammer'
Conflicts:
	src/gmock
2015-04-06 13:43:01 -07:00
Yehuda Sadeh
405003b313 Merge pull request #4133 from rzarzynski/wip-10645
rgw: improve metadata handling on object copy operation of Swift API.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-06 11:49:50 -07:00
Sage Weil
f028b25f81 Merge pull request #4280 from jdurgin/wip-lttng-build
debian: remove lttng checking from rules

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 11:36:50 -07:00
Josh Durgin
4347a3207d debian: remove lttng checking from rules
This can be done better in a separate script, which puts these in
CEPH_EXTRA_CONFIGURE_ARGS. In particular, this lets us enable
lttng for gitbuilder builds, but not release builds.

Fixes: #11333
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit a294daff0b)
2015-04-06 11:36:35 -07:00
Josh Durgin
a294daff0b debian: remove lttng checking from rules
This can be done better in a separate script, which puts these in
CEPH_EXTRA_CONFIGURE_ARGS. In particular, this lets us enable
lttng for gitbuilder builds, but not release builds.

Fixes: #11333
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-04-06 11:29:39 -07:00
Yehuda Sadeh
efb1a2dd1e Update PendingReleaseNotes for firefly change, rgw socket path related
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-06 10:38:57 -07:00
Jason Dillaman
37b1996bf3 librbd: remove object maps when disabling
If the object map feature is disabled, remove any object maps
prior to disabling the feature.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:35 -04:00
Jason Dillaman
5bc3a454ef librbd: flag the snapshot object map as invalid when error occurs
Instead of flagging the HEAD image object map as invalid when an
error occurs with a snapshot object map, properly flag the snapshot
as invalid.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:35 -04:00
Jason Dillaman
3a7b28d9a2 rbd: add feature enable/disable support
Mutable image features can now be enabled/disabled via
the rbd CLI.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:35 -04:00
Jason Dillaman
d1348e5cfe tests: add update_features test to test_librbd
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
Jason Dillaman
28557c3e17 tests: add update_features test for pybind
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-06 13:14:34 -04:00
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
557715049a Merge pull request #4246 from ceph/wip-11113-hammer
librbd: snap_remove should ignore -ENOENT errors
2015-04-06 08:55:51 -07: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
Sage Weil
97dfde8dc7 Merge pull request #4250 from athanatos/wip-11265
ECTransaction: write out the hinfo key on touch as well

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 08:07:28 -07:00
Sage Weil
ad8481b708 Merge pull request #4251 from athanatos/wip-11284
ReplicatedPG::promote_object: do not create obc if not promoting

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 08:07:15 -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
Mykola Golub
c0c55c99ba doc: add daemon and daemonperf commands description to man
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-06 16:55:08 +03:00
Mykola Golub
983958474b ceph daemonperf: add watch interval and count parameters
Fixes: #11319
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-06 16:55:08 +03:00
Mykola Golub
8881441db1 ceph daemonperf: make error message less confusing
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-06 16:22:27 +03: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