Commit Graph

41024 Commits

Author SHA1 Message Date
Danny Al-Gaaf
0074e0947a rgw_rest_log.h: remove http_ret from some RGWOp_*_list classes
Remove http_ret from child class since there is already an integer
with the same name in the parent/base class.

Fix for:

[src/rgw/rgw_rest_log.h:79] -> [src/rgw/rgw_rest.h:275]: (warning) The
 class 'RGWOp_MDLog_List' defines member variable with name 'http_ret'
 also defined in its parent class 'RGWRESTOp'.
[src/rgw/rgw_rest_log.h:99] -> [src/rgw/rgw_rest.h:275]: (warning) The
 class 'RGWOp_MDLog_Info' defines member variable with name 'http_ret'
 also defined in its parent class 'RGWRESTOp'.
[src/rgw/rgw_rest_log.h:182] -> [src/rgw/rgw_rest.h:275]: (warning) The
 class 'RGWOp_DATALog_List' defines member variable with name 'http_ret'
 also defined in its parent class 'RGWRESTOp'.
[src/rgw/rgw_rest_log.h:202] -> [src/rgw/rgw_rest.h:275]: (warning) The
 class 'RGWOp_DATALog_Info' defines member variable with name 'http_ret'
 also defined in its parent class 'RGWRESTOp'.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-04-15 12:21:15 +02:00
Guang Yang
e4df0345f1 qa : misc fixes to stabilize test-erasure-code suite
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-04-15 09:42:40 +00:00
Kefu Chai
ba57fb68cf ceph-disk: set '--cluster=ceph' in 'prepare' subcommand
otherwise the 'ceph' default value won't be catched by "main_prepare()",
this breaks TEST_corrupt_and_repair_replicated. seems the behaviour
was changed in python 2.7.9, so we move the default value to where
the '--cluster' argument is added instead of setting it in the
main argument parser.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-15 16:07:28 +08:00
Robin H. Johnson
e97111dae0 doc: Changes in region hostname do not seem to take effect until radosgw is restarted.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-04-15 00:14:43 -07:00
Kefu Chai
b0435e0d4f Merge pull request #4335 from liewegas/wip-osd-df
mon: fix min/max variance for 'cpeh osd df' when osds are marked out

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-15 14:18:48 +08:00
Robin H. Johnson
b55f3dbbfe rgw: Document a lurking problem I see with subdomain/domain splitting
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-04-14 18:31:18 -07:00
Robin H. Johnson
044060fd40 rgw: Speed up the building of valid de-duplicated hostnames for regions.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-04-14 18:30:16 -07:00
Robin H. Johnson
f7311ec334 doc: Document region hostnames settings.
The hostnames key in region settings was undocumented. Also includes how
the setting interacts with the ``rgw dns name`` configuration setting.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-04-14 18:12:18 -07:00
Sage Weil
47a11ff6d5 Merge pull request #3481 from ktdreyer/wip-rpm-rm-old-fedoras
ceph.spec.in: remove reference to EOL Fedoras
2015-04-14 13:49:05 -07:00
Josh Durgin
275c1be604 Merge pull request #4316 from Ved-vampir/librdb
librdb: add perf counters descriptions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-14 13:40:56 -07:00
Yehuda Sadeh
4cfeca03ad Merge pull request #4361 from oritwas/wip-11091
rgw: shouldn't return content-type: application/xml if content length is 0

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-14 11:53:49 -07:00
Josh Durgin
3819055c75 Merge pull request #4351 from ceph/wip-11256
Wip 11256

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-14 10:45:34 -07:00
Ken Dreyer
147c3f2b82 Merge pull request #4363 from nilamdyuti/wip-doc-ceph-object-gateway
doc: Corrected the steps of Apache configuration for Debian-based
distros in object gateway installation guide.

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-14 11:00:25 -06:00
Nilamdyuti Goswami
4a6deb3955 doc: Corrected the steps of Apache configuration for Debian-based distros
in object gateway installation guide.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2015-04-14 22:19:32 +05:30
Sage Weil
718faf0e69 mon: make note about osd df calc bug
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-14 09:35:04 -07:00
Sage Weil
f3ce75c164 mon: fix min variance calc in 'osd df'
If the reweight is 0, ignore the osd for the purposes of calculating the
min.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-14 09:32:22 -07:00
Sage Weil
e7ee206fb7 Merge pull request #4354 from zhouyuan/fix_ct_doc
doc: Fix misleading overlay settting in Cache Tier

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-14 09:26:13 -07:00
Ken Dreyer
7c68d5dbeb Merge pull request #4359 from ceph/wip-fix-ceph-dencoder-build-master
Move ceph-dencoder build to client
Rework mds/Makefile.am to support a dencoder client build
rgw/Makefile.am: Populate DENCODER_SOURCES properly
Dencoder should never be built with tcmalloc

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-14 10:24:44 -06:00
Orit Wasserman
5cc92bb27c rgw: shouldn't return content-type: application/xml if content length is 0
Fixed: #11091

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-04-14 16:48:24 +02:00
Boris Ranto
ef2164725f Move ceph-dencoder build to client
The patch simply moves the ceph-dencoder build from server part of the
Makefiles to client part of the Makefiles.

Refs: #10691

Signed-off-by: Boris Ranto <branto@redhat.com>
2015-04-14 13:51:49 +02:00
Boris Ranto
c2b3a35fb3 Rework mds/Makefile.am to support a dencoder client build
The patch adds all the mds sources to DENCODER_SOURCES to allow a
dencoder client build. The patch also splits the Makefile.am file to
better accomodate the change.

Refs: #10691

Signed-off-by: Boris Ranto <branto@redhat.com>
2015-04-14 13:51:31 +02:00
Boris Ranto
0b264331f5 rgw/Makefile.am: Populate DENCODER_SOURCES properly
Dencoder is built if ENABLE_CLIENT is set. However, the rgw/Makefile.am
populated DENCODER_SOURCES only if WITH_RADOSGW was set. The patch fixes
this and populates DENCODER_SOURES if ENABLE_CLIENT is set.

Signed-off-by: Boris Ranto <branto@redhat.com>
2015-04-14 13:46:58 +02:00
Boris Ranto
fb11c74d1d Dencoder should never be built with tcmalloc
The patch adds disabled perfglue stubs to DENCODER sources in order to
avoid tcmalloc-enabled ceph-dencoder builds.

Refs: #10691

Signed-off-by: Boris Ranto <branto@redhat.com>
2015-04-14 13:44:27 +02:00
Joao Eduardo Luis
f04117a5ba Merge pull request #4348 from ceph/wip-mon-clean
mon: remove dead MonitorStore code

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-04-14 11:02:49 +01:00
Ved-vampir
570ff6d934 librdb: add perf counters descriptions
Sign-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
2015-04-14 12:53:55 +03:00
Yuan Zhou
e1f789994e doc: Fix misleading overlay settting in Cache Tier
set-overlay is needed in either writeback or readonly mode of Cache
Tier setup.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-04-14 14:47:40 +08:00
Yan, Zheng
df47e1f3e1 client: fix uninline data funtion
For CEPH_OSD_CMPXATTR_MODE_U64, OSD expects the u64 to be encoded
as string in object's xattr

Fixes: #11356
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-14 08:53:35 +08:00
Yehuda Sadeh
55594623e2 ceph_json: add decode / encoder for multimap
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-13 16:33:17 -07:00
Yehuda Sadeh
4e6a66b55e cls_rgw: use multimap to keep pending operations in bucket index
Fixes: #11256
Multiple concurrent requests might be sent using the same tag, need the
entry map to be able to hold multiple entries.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-13 16:15:56 -07:00
Yehuda Sadeh
edc0627a1d rgw: generate new tag for object when setting object attrs
Fixes: #11256
Backport: firefly, hammer

Beforehand we were reusing the object's tag, which is problematic as
this tag is used for bucket index updates, and we might be clobbering a
racing update (like object removal).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-13 16:15:56 -07:00
Sage Weil
5bb33dc3b8 Merge pull request #4350 from almightybeeij/master
Check that delta_sum.stats.sum.num_object_copies and delta_sum.stats.sum...

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-13 14:36:11 -07:00
Sage Weil
40c590ebb2 Merge pull request #4349 from ceph/wip-dist-systemd-tmpfiles-d
#11383: packaging: ship systemd/ceph.tmpfiles.d in tarballs
2015-04-13 10:43:09 -07:00
Ken Dreyer
639e0c15f5 packaging: ship systemd/ceph.tmpfiles.d in tarballs
Prior to this commit, the tarballs did not contain
any files under the top-level "systemd" directory. This caused problems
with RPM builds on Fedora and RHEL 7, because as of commit
aa88364f30, those RPMs depend on the
systemd/ceph.tmpfiles.d file.

(Longer-term we might want to improve the tarball generation code to be
less complex/manual.)

http://tracker.ceph.com/issues/11383 Refe: #11383

Reported-by: Greg Farnum <gfarnum@redhat.com>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-13 11:33:47 -06:00
BJ Lougee
27ed729c10 Check that delta_sum.stats.sum.num_object_copies and delta_sum.stats.sum.num_object are greater than zero
This fixes division by zero.

Signed-off-by BJ Lougee <almightybeeij@gmail.com>
2015-04-13 11:24:38 -05:00
Sage Weil
4b23926018 mon: remove dead MonitorStore code
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-13 08:42:47 -07:00
Sage Weil
6d22065c1a doc/release-notes: v0.94.1
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-13 08:31:40 -07:00
branto1
48e34036ef Merge pull request #4317 from ceph/wip-rpm-with-systemd-comparison
ceph.spec.in: set _with_systemd on RHEL 7 and Fedora
2015-04-13 14:11:45 +02:00
Kefu Chai
6f6d7fe256 Merge pull request #4327 from dachary/wip-wheezy
install-deps.sh: Debian GNU/Linux wheezy needs backports

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-13 18:06:28 +08:00
Loic Dachary
2773ae5aeb Merge pull request #4341 from dachary/wip-test-timeout
tests: display ceph report when stuck

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-04-13 11:30:29 +02:00
Loic Dachary
921436e1dd Merge pull request #4334 from smithfarm/master
do_autogen: add missing '--without-lttng' option to usage()

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-13 11:20:34 +02:00
Haomai Wang
190ec03b83 AsyncConnection: Discard all prefetch buffer when replacing
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-12 15:01:50 +08:00
Loic Dachary
464999e1b7 tests: display ceph report when stuck
When the cluster is stuck (wait_for_clean times out), display ceph
report to stderr for debugging purposes.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-11 14:14:53 +02:00
Josh Durgin
796f810398 Merge pull request #4239 from yuyuyu101/wip-librbd-conf
Wip librbd conf

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 23:10:34 -07:00
Josh Durgin
2239dcb71d Merge pull request #4323 from ceph/wip-11363
librbd: ImageWatcher should cancel in-flight ops on watch error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 18:04:30 -07:00
Josh Durgin
458901dfb2 Merge pull request #4140 from ceph/wip-rbd-rebuild-object-map
rbd: add ability to rebuild corrupt/missing object maps

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 17:56:48 -07:00
Josh Durgin
0593611fe9 Merge pull request #4325 from wonzhq/async-resize-2
librbd/AsyncResize: avoid dup incrementing refresh seq

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 17:32:58 -07:00
Josh Durgin
ef5c2b7b89 Merge pull request #4336 from ceph/wip-11369
librbd: failure to update the object map should always return success

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 17:26:14 -07:00
Loic Dachary
3ab13e6451 install-deps.sh: Debian GNU/Linux wheezy needs backports
It is not enough for the backports to be available, they also need to be
explicitly allowed to take precedence whenever a package is installed
indirectly. This is causing problems with libp11-kit-dev pulled by
libcurl4-gnutls-dev.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-10 23:51:45 +02:00
Josh Durgin
523272cf22 Merge pull request #4319 from ceph/wip-11348
librbd: update default image format to version 2

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-10 14:07:43 -07:00
Nathan Cutler
56039b37b3 do_autogen.sh: add missing '--without-lttng' option to usage
Signed-off-by: Nathan Cutler <ncutler@suse.cz>
2015-04-10 21:52:11 +02:00