Commit Graph

46530 Commits

Author SHA1 Message Date
Josh Durgin
bcd37cf39b Merge pull request #6877 from dillaman/wip-14001
librbd: fix test case race condition for journaling ops

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-09 13:49:33 -08:00
Jason Dillaman
7f5ee3378c librbd: fix test case race condition for journaling ops
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-09 16:21:04 -05:00
Yehuda Sadeh
9162bd2959 Revert "LifeCycle feature"
It's not there yet. Created a branch with a few fixes, will need to go
through some more revisions.

This reverts commit 7d48f62f5c.
2015-12-09 11:34:08 -08:00
Daniel Gryniewicz
b63c3fa26f Merge pull request #6331 from chenji-kael/wip-lifecycle
LifeCycle feature
2015-12-09 09:09:10 -05:00
Loic Dachary
461a191191 Merge pull request #6871 from dachary/wip-14027-scrub-load
tests: --osd-scrub-load-threshold=2000 for more consistency

Reviewed-by: Xinze Chi <xinze@xsky.com>
2015-12-09 13:55:51 +01:00
Loic Dachary
99bcc7cf16 tests: --osd-scrub-load-threshold=2000 for more consistency
In a test environment, consistency is more important than
performances. Effectively disable the test that would postpone a scrub
depending on the load average. It is assumed that a machine with a load
average higher than 2000 won't be useable anyway.

http://tracker.ceph.com/issues/14027 Refs: #14027

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-09 11:48:45 +01:00
Josh Durgin
f9f4d5c662 Merge pull request #6830 from vumrao/wip-12112-vumrao
rbd: add --object-size option, deprecate --order

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-08 15:30:09 -08:00
Loic Dachary
2d8d706191 Merge pull request #6857 from dachary/wip-13986-test-pg-scrub
tests: osd-scrub-snaps.sh to display full osd logs on error

Reviewed-by: Xinze Chi <xinze@xsky.com>
2015-12-08 17:03:10 +01:00
Loic Dachary
2c7c712925 tests: osd-scrub-snaps.sh to display full osd logs on error
This generates a large output but is the only way to get more
information about race conditions that turn out to show up frequently.

http://tracker.ceph.com/issues/13986 Refs: #13986

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-08 13:54:58 +01:00
John Spray
76467ee132 Merge pull request #6850 from H3C/wip-zcl-ceph-mds
ceph-mds:add --help/-h

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-08 12:31:40 +00:00
John Spray
534ff381ab Merge pull request #6848 from H3C/wip-zcl-layout-rst
doc:file must be empty when writing layout fields of file use "setfattr"

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-08 11:47:22 +00:00
Vikhyat Umrao
71690e707f rbd: add --object-size option
Object size can be specified when creating an image with the --order option,
as a number of bits in the size.

This patch is adding new option --object-size. This new option will specify
object size directly for example --object-size 2M.

It would be easier to use. --order is still present for backwards compatibility.
For simplicity, we are rounding up the object size to the nearest power of 2.

Fixes #12112

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-12-08 16:14:03 +05:30
Cilang Zhao
a69367d971 ceph-mds:add --help/-h
When use ceph-mds --hlep/-h, the usage will be showed

Signed-off-by: Cilang Zhao <zhao.cilang@h3c.com>
2015-12-08 04:01:12 -05:00
Cilang Zhao
07c334a2ca doc:file must be empty when writing layout fields of file use "setfattr"
When the layout fields of a file are modified, this file must be empty, otherwise an error would occur.

Signed-off-by:Cilang Zhao zhao.cilang@h3c.com
2015-12-08 03:45:43 -05:00
Loic Dachary
84ee7c3399 Merge remote-tracking branch 'ceph/jewel' 2015-12-08 09:03:55 +01:00
Loic Dachary
2c1af382c6 Merge pull request #6844 from dachary/wip-13997-centos-libunwind-jewel
build/ops: enable CR in CentOS 7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2015-12-08 08:52:58 +01:00
Loic Dachary
247ee6084b build/ops: enable CR in CentOS 7
To get libunwind from the CR repositories until CentOS 7.2.1511 is released.

http://tracker.ceph.com/issues/13997 Fixes: #13997

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-08 08:25:24 +01:00
Loic Dachary
91264778b3 Merge pull request #6842 from badone/wip-13997
tests: centos7 needs the Continuous Release (CR) Repository enabled for

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-08 07:47:06 +01:00
Brad Hubbard
b47eeae1da tests: centos7 needs the Continuous Release (CR) Repository enabled for
libunwind

Fixes: #13997
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-12-08 16:07:38 +10:00
Ji Chen
7d48f62f5c LifeCycle feature
As same as amazon S3 interface,"PUT Bucket lifecycle" and
"DELETE Bucket lifecycle" have been implemented,
"GET Bucket lifecycle" not realized yet as S3cmd has not
realize it also.
The feature`s main point is to remove expire file per day.
Files transfer from hot layer to cold layer is not supported.
ToDo:Maybe to transfer from replicate pool to EC pool or
from ssd to sata pool will be valuable.

Now put all buckets which should do lifecycle into shard
objects in .rgw.lc pool.

lifecycle config file format:
<LifecycleConfiguration>
    <Rule>
        <ID>sample-rule</ID>
        <Prefix></Prefix>
        <Status>enable</Status>
        <Expiration>
           <Days>1</Days>
        </Expiration>
    </Rule>
</LifecycleConfiguration>

Signed-off-by: Ji Chen <insomnia@139.com>
2015-12-08 11:22:26 +08:00
Josh Durgin
8676120b44 Merge pull request #6818 from trociny/fix-cmake
cmake: update for recent rbd changes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 16:06:18 -08:00
Josh Durgin
caedebded5 Merge pull request #6837 from dreamhost/wip-test-cephtool-filenames
qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:52:47 -08:00
Robin H. Johnson
cd0c13bbf0 qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.
If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-12-07 15:27:12 -08:00
Josh Durgin
f112e25f42 Merge pull request #6838 from stiopaa1/Wreorder_ceph_context
common/ceph_context.cc:fix order of initialisers

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:21:16 -08:00
Josh Durgin
b667259470 Merge pull request #6831 from fullerdj/wip-14010
qa/krbd: Expunge generic/247

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:01:01 -08:00
David Zafman
74ee7bd241 Merge pull request #6793 from dzafman/wip-hist-les-fix
osd: Allow repair of history.last_epoch_started using config

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-12-07 14:56:03 -08:00
Michal Jarzabek
a80ff1fe43 common/ceph_context.cc:fix order of initialisers
Fix order of member initialisers causing [-Wreorder] warning.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-12-07 22:39:11 +00:00
Yehuda Sadeh
0a883a48b4 Merge branch 'unlinkcallbyrmbucket'
Conflicts:
	src/rgw/rgw_bucket.cc

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:54:49 -08:00
Aran85
0186cdc622 rgw:dont update entrypoint when removing bucket
when removing bucket,we unlink the bucket bucket but we don't want
to update the entrypoint here.Because the update_entrypoint's default
value is true,so we need to indicate it to false.

Signed-off-by: Zengran Zhang <zhangzengran@h3c.com>
2015-12-07 11:51:25 -08:00
Yehuda Sadeh
23554c46a1 Merge pull request #6735 from rzarzynski/wip-rgw-clean-putmetabucket
rgw: remove unused variable in RGWPutMetadataBucket::execute

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:10:24 -08:00
Yehuda Sadeh
54a6222501 Merge pull request #6829 from LenzGr/master
doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:09:41 -08:00
Yehuda Sadeh
eb81cc44ef Merge pull request #6774 from ceph/wip-rgw-cap-fix
rgw: add a missing cap type
2015-12-07 10:42:18 -08:00
Douglas Fuller
9af8d6f03b qa/krbd: Expunge generic/247
xfstests generic/247 exercises XFS DIO and AIO to detect races. Some
races apparently exist in the XFS code as this is a known issue within
XFS. Expunge this test because it is not specifically relevant to krbd
and not a specific krbd issue.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-12-07 09:24:33 -08:00
Orit Wasserman
12d5b65fae Merge pull request #6805 from zaitcev/cmake-pluginregistry
cmake: Add common/PluginRegistry.cc to CMakeLists.txt
2015-12-07 16:16:26 +01:00
Lenz Grimmer
3e23e45dd7 doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity
Fixed incorrect name of a "List Multipart Upload Parts" Response Entity:
"InitiatedMultipartUploadsResult" -> "ListPartsResult"

Fixes: #14003

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
2015-12-07 15:54:49 +01:00
Mykola Golub
c83d6dbf5c cmake: update for recent rbd changes
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 11:13:47 +02:00
Loic Dachary
8eb0ed1dcd Merge pull request #6816 from drunkard/doc
doc: rst style fix for pools document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 10:02:02 +01:00
Loic Dachary
273c52a597 Merge pull request #6820 from mikulely/add-umcloud-affiliation
Add UMCloud affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 09:52:05 +01:00
Jiaying Ren
25c70cfc9b Update Jiaying Ren affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:44 +08:00
Jiaying Ren
c11ca42684 Update Rongze Zhu affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:08 +08:00
Gregory Farnum
47c7893446 Merge pull request #6655 from jcsp/wip-inode-claim
tools: add cephfs-table-tool 'take_inos'

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-12-06 21:09:56 -08:00
Gregory Farnum
66de0e3215 Merge pull request #6567 from jcsp/wip-layout-restrict
mds: add 'p' flag in auth caps to control setting pool in layout

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-06 21:05:30 -08:00
Gregory Farnum
b1d5c48187 Merge pull request #6601 from jcsp/wip-13777-caps
mon: don't require OSD W for MRemoveSnaps

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-06 21:03:25 -08:00
Drunkard Zhang
593c1249d2 doc: rst style fix for pools document
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2015-12-07 10:45:03 +08:00
Sage Weil
e62954e07b deb,rpm: package buffer_fwd.h
Introduced by 206b8e2cc6.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-06 09:24:17 -05:00
Loic Dachary
a60a9c97e7 Merge pull request #6803 from dachary/wip-13975-systemd-flock
build/ops: systemd ceph-disk unit must not assume /bin/flock

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2015-12-05 18:42:08 +01:00
Loic Dachary
59c7fa091d Merge pull request #6811 from smithfarm/wip-submitting-jewel
SubmittingPatches: there is no next; only jewel

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-05 18:11:53 +01:00
Nathan Cutler
1adf3063ac SubmittingPatches: there is no next; only jewel
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-05 17:20:50 +01:00
Loic Dachary
b0997bc5aa Merge pull request #6792 from smithfarm/wip-index-20151202
Wip index 20151202

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-05 02:36:26 +01:00
Josh Durgin
fb96b514bf Merge pull request #6795 from ceph/pybind-rados-exec
pybind: support ioctx:exec

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-04 17:31:30 -08:00