]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Haomai Wang [Sat, 12 Sep 2015 09:31:10 +0000 (17:31 +0800)]
AsyncMessenger: Kepp file_lock hold when accessing its event field
When process_event get a file event, other thread may delete this event later
but before we do event
Fix #13001
Signed-off-by: Haomai Wang <haomai@xsky.io>
Sage Weil [Fri, 11 Sep 2015 17:02:29 +0000 (13:02 -0400)]
Merge pull request #5896 from liewegas/wip-fix-spec
ceph.spec: include /etc/sysconfig/ceph
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Sage Weil [Fri, 11 Sep 2015 16:19:59 +0000 (12:19 -0400)]
ceph.spec: include /etc/sysconfig/ceph
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:56:29 +0000 (11:56 -0400)]
Merge pull request #5895 from jcsp/wip-doc-default-pools
doc: remove references to default data/metadata pools
John Spray [Fri, 11 Sep 2015 15:46:52 +0000 (16:46 +0100)]
doc: remove references to default data/metadata pools
These haven't existed since 0.84 -- the cephfs documentation
was updated at the time, but there were also references in the
rados documentation.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:42:36 +0000 (11:42 -0400)]
Merge pull request #5803 from ceph/wip-debian-systemd
debian systemd support; /etc/{sysconfig,default}/ceph; easy jemalloc enablement
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Sage Weil [Tue, 8 Sep 2015 17:50:52 +0000 (13:50 -0400)]
ceph-common: explicitly trigger /run/ceph creation
This doesn't happen magically on debian.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Sep 2015 17:50:31 +0000 (13:50 -0400)]
systemd: tmpfiles.d in /run, not /var/run
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 6 Sep 2015 18:18:16 +0000 (14:18 -0400)]
debian: fix location of tmpfiles.d
/usr/lib/tmpfiles.d, not /lib/tmpfiles.d
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 5 Sep 2015 13:14:15 +0000 (09:14 -0400)]
debian/rules: install systemd files and /etc/default/ceph
Fix the systemd units to use /etc/default instead of /etc/sysconfig. There
is probably a better way...
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Sep 2015 17:49:09 +0000 (13:49 -0400)]
Makefile.am: include etc in tarball
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Sep 2015 02:21:38 +0000 (22:21 -0400)]
ceph.spec: install /etc/sysconfig/ceph
Make it easy to enable jemalloc, too.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:36:25 +0000 (11:36 -0400)]
Merge pull request #5869 from ceph/wip-rpm-dirs
ceph.spec: make /var/{lib,log,run} owned by ceph
Reviewed-by: Boris Ranto <branto@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:31:36 +0000 (11:31 -0400)]
Merge pull request #5540 from ceph/wip-selinux-radosgw
selinux: Update policy for radosgw
Reviewed-by: Milan Broz <mbroz@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:26:59 +0000 (11:26 -0400)]
make /var/run/ceph 770 ceph:ceph
This allows members of the ceph group to make librados clients (like the
ceph cli and qemu) create sockets in the default /var/run/ceph/* location.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Sep 2015 15:24:18 +0000 (11:24 -0400)]
ceph.spec: make /var/{lib,log,run} owned by ceph
Move creation of /var/lib/ceph and /var/run/ceph to ceph-common, too.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Sep 2015 13:35:50 +0000 (09:35 -0400)]
Merge pull request #5871 from liewegas/wip-10328
common: add debug option to deliberately leak some memory
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Fri, 11 Sep 2015 13:30:17 +0000 (09:30 -0400)]
Merge remote-tracking branch 'gh/wip-tcmalloc'
Sage Weil [Fri, 11 Sep 2015 13:30:15 +0000 (09:30 -0400)]
.gitignore: radosgw-object-expirer
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Sep 2015 13:24:17 +0000 (09:24 -0400)]
Merge pull request #5881 from cernceph/wip-logrotate
logrotate: ignore exit status 1 from killall
Reviewed-by: Sage Weil <sage@redhat.com>
Boris Ranto [Fri, 4 Sep 2015 07:30:29 +0000 (09:30 +0200)]
ceph.spec.in: ceph-radosgw should require ceph-selinux
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Mon, 10 Aug 2015 15:07:32 +0000 (17:07 +0200)]
selinux: Update policy for radosgw
The current SELinux policy does not cover radosgw daemon. This patch
introduces the SELinux support for radosgw daemon (civetweb only).
Signed-off-by: Boris Ranto <branto@redhat.com>
Dan van der Ster [Fri, 11 Sep 2015 07:42:50 +0000 (09:42 +0200)]
logrotate: ignore postrotate error for radosgw
Fix the annoying logrotate error for radosgw.
Fixes: #13033
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Dan van der Ster [Fri, 11 Sep 2015 07:30:04 +0000 (09:30 +0200)]
logrotate: ignore exit status 1 from killall
If any of ceph-osd, ceph-mon, ceph-mds were not running then
killall -q will exit status 1, leading to anacron sending a mail
error: error running shared postrotate script for '/var/log/ceph/*.log '
Fix by overriding the exit status with || true.
Fixes: #13033
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Sage Weil [Thu, 10 Sep 2015 22:48:53 +0000 (18:48 -0400)]
Merge pull request #5800 from ceph/wip-user
ceph-disk: do async startup on upstart; fix dmcrypt create/activate bug
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Thu, 10 Sep 2015 21:03:03 +0000 (17:03 -0400)]
rocksdb: recognized --without-tcmalloc
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 10 Sep 2015 20:42:09 +0000 (13:42 -0700)]
Merge pull request #5031 from trociny/wip-10098
ceph-objectstore-tool: add mark-complete operation
Reviewed-by: David Zafman <dzafman@redhat.com>
Yehuda Sadeh [Thu, 10 Sep 2015 20:14:40 +0000 (13:14 -0700)]
Merge pull request #5866 from jmunhoz/wip-requestid-on-error
rgw: include RequestId as part of the Error response
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Joao Eduardo Luis [Thu, 10 Sep 2015 19:04:41 +0000 (20:04 +0100)]
Merge pull request #5859 from jecluis/wip-test-mon-ping
test: mon/mon-ping.sh: make sure 'ceph mon ping' works as expected
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Josh Durgin [Thu, 10 Sep 2015 17:45:37 +0000 (13:45 -0400)]
Merge pull request #5873 from dillaman/wip-rbd-missing-return
rbd: missing return statement within do_metadata_remove
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Thu, 10 Sep 2015 16:21:57 +0000 (12:21 -0400)]
rbd: missing return statement within do_metadata_remove
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 10 Sep 2015 14:56:45 +0000 (10:56 -0400)]
Merge pull request #5780 from dzafman/wip-12387
osd: When generating past intervals due to an import end at pg epoch
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Sep 2015 14:35:11 +0000 (10:35 -0400)]
common: add debug option to deliberately leak some memory
This will be used to verify leak detection tests are working.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Sep 2015 11:51:52 +0000 (07:51 -0400)]
test/Makefile-client: ship LibradosTestStub.h in tarball
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 10 Sep 2015 10:50:34 +0000 (12:50 +0200)]
Merge pull request #5868 from jmunhoz/wip-x-amz-request-id-doc
doc: rgw: update x-amz-request-id status
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Orit Wasserman [Thu, 10 Sep 2015 10:16:03 +0000 (12:16 +0200)]
Merge pull request #5863 from ceph/wip-13015
rgw: preserve all attrs if intra-zone copy
Javier M. Mellid [Wed, 9 Sep 2015 20:07:23 +0000 (22:07 +0200)]
doc: rgw: update x-amz-request-id status
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Wed, 9 Sep 2015 13:56:04 +0000 (15:56 +0200)]
rgw: include RequestId as part of the Error response
The RGW error responses must contain a RequestId to be compliant with
the Amazon S3 errors. This RequestId is the ID of the request associated
with the error.
Fixes: #13020
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Joao Eduardo Luis [Wed, 9 Sep 2015 19:08:38 +0000 (20:08 +0100)]
test: mon/mon-ping.sh: make sure 'ceph mon ping' works as expected
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 10 Sep 2015 08:46:58 +0000 (09:46 +0100)]
Merge pull request #5343 from hjwsm1989/wip-12442
mon/MonClient: fix error in 'ceph ping mon.id'
Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Tue, 16 Jun 2015 08:57:08 +0000 (11:57 +0300)]
ceph-objectstore-tool: add mark-complete operation
It is supposed to be used as a last resort to fix a cluster that has
PGs in 'incomplete' state, using the following procedure:
1) stop the osd that is primary for the incomplete PG;
2) run:
ceph-objectstore-tool --data-path ... --journal-path ... --pgid $PGID --op mark-complete
3) start the osd.
Fixes: #10098
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Josh Durgin [Thu, 10 Sep 2015 05:47:07 +0000 (01:47 -0400)]
Merge pull request #5816 from dillaman/wip-librbd-gmock
Initial support for gmock-based unit tests in librbd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 10 Sep 2015 02:16:09 +0000 (22:16 -0400)]
Merge pull request #5557 from guangyy/wip-12666
rgw: expose the number of unhealthy workers through admin socket
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Thu, 10 Sep 2015 01:18:07 +0000 (21:18 -0400)]
Merge pull request #5786 from ceph/wip-12911
rbd export-diff should export data chunks in-order
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Thu, 10 Sep 2015 00:55:55 +0000 (02:55 +0200)]
Merge pull request #5858 from jecluis/wip-test-mon-scrub
test: mon/mon-scrub.sh: have test running on make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Yehuda Sadeh [Wed, 9 Sep 2015 22:41:02 +0000 (15:41 -0700)]
rgw: preserve all attrs if intra-zone copy
Fixes: #13015
Intra zone copy requires that all objects' attributes are preserved.
This was broken at commit:
e41d97c8e38bb60d7e09e9801c0179efe7af1734
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Wed, 9 Sep 2015 20:21:07 +0000 (16:21 -0400)]
Merge pull request #5442 from ceph/wip-12551
ReplicatedPG,Objecter: copy_get should include truncate_seq and size
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Wed, 9 Sep 2015 18:38:24 +0000 (11:38 -0700)]
Merge pull request #5490 from dwj192/master
rgw:add --reset-regions for regionmap update
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Joao Eduardo Luis [Wed, 9 Sep 2015 14:39:27 +0000 (15:39 +0100)]
test/Makefile.am: run mon/mon-scrub.sh as part of checks
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 9 Sep 2015 17:15:34 +0000 (18:15 +0100)]
test: mon/mon-scrub.sh: port clashed with other tests
This will allow the test to be run during make check.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Yehuda Sadeh [Wed, 9 Sep 2015 15:33:59 +0000 (08:33 -0700)]
Merge pull request #5828 from lebauce/fix-swift-prefix
rgw: add delimiter to prefix only when path is specified
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Samuel Just [Thu, 30 Jul 2015 23:59:32 +0000 (16:59 -0700)]
ReplicatedPG,Objecter: copy_get should include truncate_seq and size
Otherwise, we break CephFS over cache tiers.
Fixes: #12551
Signed-off-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Wed, 9 Sep 2015 11:06:47 +0000 (13:06 +0200)]
Merge pull request #5837 from tchaikov/wip-12968
mon: disable gmt_hitset if not supported
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 10:12:30 +0000 (18:12 +0800)]
Merge pull request #5842 from dzafman/wip-cot-failure
test: Fix failure test to find message anywhere in stderr
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Wed, 9 Sep 2015 07:20:01 +0000 (15:20 +0800)]
Merge pull request #5845 from wonzhq/async-rx
AsyncMessenger: add instance name in debug log when processing msg
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Loic Dachary [Wed, 9 Sep 2015 07:00:41 +0000 (09:00 +0200)]
Merge pull request #5779 from dzafman/wip-misc-fix-guangyy
osd: check the length of the map before accessing the first element
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Josh Durgin [Wed, 9 Sep 2015 06:55:44 +0000 (02:55 -0400)]
Merge pull request #5843 from dillaman/wip-12885
librbd: diff_iterate needs to handle holes in parent images
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 9 Sep 2015 06:54:45 +0000 (02:54 -0400)]
Merge pull request #5592 from xinxinsh/wip-fix-rbd-metadata
fix bugs of rbd metadata operation
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
David Zafman [Tue, 8 Sep 2015 19:33:44 +0000 (12:33 -0700)]
test: Fix failure test to find message anywhere in stderr
Consolidate test_failure() and test_failure_tty()
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 8 Sep 2015 20:41:31 +0000 (13:41 -0700)]
rados: Fix usage for "notify" command
Signed-off-by: David Zafman <dzafman@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 04:46:03 +0000 (12:46 +0800)]
Merge pull request #5834 from ceph/wip-leveldb-hang
mon: MonitorDBStore: make get_next_key() work properly
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 04:45:01 +0000 (12:45 +0800)]
Merge pull request #4955 from kylinstorage/librados-2read-segmentation-fault-v1
bug fix: librados segmentation fault, when two read ops share one Aio…
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 04:44:21 +0000 (12:44 +0800)]
Merge pull request #4925 from XinzeChi/wip-hit-set-size
osd: fix hit_set_map size for tier pool
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 04:43:28 +0000 (12:43 +0800)]
Merge pull request #5723 from H3C/wip-msg-bugfix1
msg: we should set the socket options before connect or listen in order to have it take effect.
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Sep 2015 04:41:58 +0000 (12:41 +0800)]
Merge pull request #5829 from dachary/wip-12731-jerasure-warnings
erasure-code: fix gf-complete warnings
Reviewed-by: Kefu Chai <kchai@redhat.com>
Zhiqiang Wang [Wed, 9 Sep 2015 03:40:48 +0000 (11:40 +0800)]
AsyncMessenger: add instance name in debug log when processing msg
To better debug.
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
dwj192 [Wed, 9 Sep 2015 01:48:16 +0000 (09:48 +0800)]
rgw:add --reset-regions for regionmap update
Fixes: #12964
Signed-off-by: Weijun Duan <duanweijun@h3c.com>
David Zafman [Wed, 9 Sep 2015 01:25:58 +0000 (18:25 -0700)]
Merge pull request #5781 from dzafman/wip-eccleanup
osd, test: Minor clean-up from fast-read and error handling ec changes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 8 Sep 2015 19:47:37 +0000 (15:47 -0400)]
librbd: diff_iterate needs to handle holes in parent images
If a clone's parent image snapshot includes a discarded extent,
this was previously causing an assert failure. Instead, ignore
any discard holes in the parent image.
Fixes: #12885
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 8 Sep 2015 19:45:45 +0000 (15:45 -0400)]
tests: new test case for librbd diff_iterate over discard extents
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 8 Sep 2015 18:08:18 +0000 (14:08 -0400)]
Merge pull request #5838 from ceph/wip-12861
qa/workunits/rados/test_alloc_hint.sh: sudo to ls files
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Sep 2015 15:41:38 +0000 (11:41 -0400)]
Merge pull request #5396 from XinzeChi/wip-scrub-promote
bug fix: osd: requeue_scrub when kick_object_context_blocked
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Tue, 8 Sep 2015 15:41:06 +0000 (11:41 -0400)]
Merge pull request #5772 from yuyuyu101/wip-12912
AsyncConnection: Close connection when unregistered connection met WAIT
Yehuda Sadeh [Tue, 8 Sep 2015 15:39:43 +0000 (08:39 -0700)]
Merge pull request #5733 from cxwshawn/rgw-fix
rgw: init_rados failed leads to repeated delete
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 8 Sep 2015 15:35:46 +0000 (08:35 -0700)]
Merge pull request #5809 from rzarzynski/wip-rgw_putobj_debug_improvement
rgw: improve debugs in RGWPutObj and RGWPutObj_ObjStore_SWIFT.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Tue, 8 Sep 2015 15:33:13 +0000 (17:33 +0200)]
Merge pull request #5567 from guce/rgw_check_key_parameter_conflict
rgw: add key parameter conflict check for radosgw-admin command line.
Yehuda Sadeh [Tue, 8 Sep 2015 15:17:24 +0000 (08:17 -0700)]
Merge pull request #5819 from rzarzynski/wip-12950
rgw: don't append empty ETag HTTP header.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Tue, 8 Sep 2015 15:02:54 +0000 (11:02 -0400)]
Merge remote-tracking branch 'gh/infernalis'
Kefu Chai [Tue, 8 Sep 2015 10:20:04 +0000 (18:20 +0800)]
qa/workunits/rados/test_alloc_hint.sh: sudo to ls files
The osd data dir is owned by ceph and not readable by other
non-root users.
Fixes: #12861
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Tue, 8 Sep 2015 11:52:05 +0000 (13:52 +0200)]
Merge pull request #5257 from t-miyamae/wip-mshec-fixlogic4
erasure code: shec performance optimization by decoding cache
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Xiaowei Chen [Tue, 8 Sep 2015 10:58:57 +0000 (06:58 -0400)]
rgw: init_rados failed leads to repeated delete
Fixes: #12978
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
Kefu Chai [Tue, 8 Sep 2015 09:29:29 +0000 (17:29 +0800)]
Merge pull request #5463 from kylinstorage/wip-evict_ops
Allow evict operations to be throttled
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 8 Sep 2015 09:27:22 +0000 (17:27 +0800)]
Merge pull request #5745 from ceph/wip-12904
osd: sparse reads returning invalid extent map
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 8 Sep 2015 09:26:28 +0000 (17:26 +0800)]
Merge pull request #5580 from xinxinsh/wip-merge-two-setattr
merge two continuous OP_SETATTR ops into one OP_SETATTRS
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 8 Sep 2015 08:52:32 +0000 (16:52 +0800)]
mon: disable gmt_hitset if not supported
the gmt_hitset is enabled by default in the ctor of pg_pool_t, this
is intentional. because we want to remove this setting and make
gmt_hitset=true as a default in future. but this forces us to
disable it explicitly when preparing a new pool if any OSD does
not support gmt hitset.
Fixes: #12968
Signed-off-by: Kefu Chai <kchai@redhat.com>
Joao Eduardo Luis [Tue, 8 Sep 2015 08:48:41 +0000 (09:48 +0100)]
test: mon: mon-scrub.sh: test 'mon scrub'
In its current state is used to catch regressions on 'ceph mon scrub'
hanging due to an infinite loop.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Mon, 7 Sep 2015 14:40:37 +0000 (10:40 -0400)]
Merge pull request #5785 from liewegas/wip-12861
qa/workunits/rados/test_alloc_hint.sh: sudo to list files
Joao Eduardo Luis [Mon, 7 Sep 2015 13:12:19 +0000 (14:12 +0100)]
mon: MonitorDBStore: make get_next_key() work properly
We introduced a significant bug with
2cc7aee , when we fixed issue #11786.
Although that patch would fix the problem described in #11786, we
managed to not increment the iterator upon returning the current key.
This would have the iterator iterating over the same key, forever and
ever.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Mon, 7 Sep 2015 11:45:51 +0000 (19:45 +0800)]
Merge pull request #5784 from dachary/wip-docker-helper
fix docker-test.sh for CentOS 7
Reviewed-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Wed, 2 Sep 2015 23:37:03 +0000 (01:37 +0200)]
tests: drop docker-tests.sh root and /dev support
Now that ceph-disk.sh activation tests switched to the ceph-disk suite
as found in https://github.com/ceph/ceph-qa-suite/tree/master/suites/ceph-disk,
it does not need for root and /dev support from docker-tests.sh. There
currently is no other use case and since it's generally not a good idea
to run anything as root in a container anyway.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Wed, 2 Sep 2015 23:23:45 +0000 (01:23 +0200)]
tests: CentOS 7 needs systemd-container
It is now needed by the Ceph dependencies and won't work unless the fake
version of it is replaced by the actual one.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Sylvain Baubeau [Fri, 4 Sep 2015 20:51:44 +0000 (22:51 +0200)]
rgw: add delimiter to prefix only when path is specified
http://tracker.ceph.com/issues/12960
Fixes: #12960
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
Loic Dachary [Mon, 7 Sep 2015 07:39:23 +0000 (09:39 +0200)]
Merge pull request #5728 from trociny/wip-12706-infernalis
ceph-disk: use /sys/dev/block/maj:min/partition to see if partition
Reviewed-by: Loic Dachary <ldachary@redhat.com>
xinxin shu [Mon, 17 Aug 2015 10:55:35 +0000 (18:55 +0800)]
refine tests for metadata ops
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Mon, 17 Aug 2015 10:15:04 +0000 (18:15 +0800)]
improve error handle of rbd metadata operation & format output
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Mon, 17 Aug 2015 05:14:08 +0000 (13:14 +0800)]
fix metadata loading error if we open an image
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
Ruifeng Yang [Mon, 7 Sep 2015 01:05:38 +0000 (09:05 +0800)]
msg: we should set the socket options before connect or listen in order to have it take effect.
Signed-off-by: Ruifeng Yang <149233652@qq.com>
Loic Dachary [Sun, 6 Sep 2015 22:40:29 +0000 (00:40 +0200)]
erasure-code: fix gf-complete warnings
Update to the latest gf-complete v2 branch which has the compilation
warning fixed. In addition the default compilation flag upstream has
been set to display such warnings.
git log --oneline --graph
d384952c68a64d93ac7af6341d5519ea5d2958b9 ..
9caeefbf2860e56a75502f4d3342deed5b5ba265
*
9caeefb add -Wsign-compare and address the warnings
*
5979f98 gf_w64.c: fix integer overflow
*
93a9845 gf_w64.c: fix integer overflow
*
513c87b gf_w64.c: fix integer overflow
*
4d6fa89 gf_w64.c: fix integer overflow
http://tracker.ceph.com/issues/12731 Fixes: #12731
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sun, 6 Sep 2015 21:50:03 +0000 (17:50 -0400)]
Merge remote-tracking branch 'gh/infernalis'
Sage Weil [Sun, 6 Sep 2015 21:43:37 +0000 (17:43 -0400)]
Merge pull request #4895 from XinzeChi/wip-outdata-set
bug fix: osd: avoid multi set osd_op.outdata in tier pool
Reviewed-by: Sage Weil <sage@redhat.com>