Commit Graph

45479 Commits

Author SHA1 Message Date
Sage Weil
2ac35be431 doc/release-notes: edits from Nathan Cutler
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-04 16:37:53 -05:00
Sage Weil
6e87d23301 doc/release-notes: final infernalis notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-04 16:37:53 -05:00
Jason Dillaman
0d299c9566 Merge pull request #6334 from xinxinsh/wip-13533
rbd : fix clone isssue

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-04 14:39:43 -05:00
Yehuda Sadeh
c08344fb48 Merge pull request #6465 from oritwas/wip-13596
radosgw-admin: metadata list user should return an empty list when user pool is empty

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-04 10:40:19 -08:00
Orit Wasserman
78c5b9a2d1 radosgw-admin: metadata list user should return an empty list when pool is empty
Fixes: #13596

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-11-04 18:57:22 +01:00
Loic Dachary
e2a5ebb105 Merge pull request #6340 from joaquimrocha/rados_write_benchmark_new_options
Rados write benchmark new options

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-04 18:22:26 +01:00
Joaquim Rocha
da6825d499 test/test_rados_tool.sh: Add tests for the new bench's write options
Those are the combinations of --write-omap, --write-xattr and --write-object.

Signed-off-by: Joaquim Rocha <joaquim.rocha@cern.ch>
2015-11-04 13:57:42 +01:00
Joaquim Rocha
9259e6e0c9 tools/rados/rados.cc: Add options to choose the benchmark's write destination
Signed-off-by: Joaquim Rocha <joaquim.rocha@cern.ch>
2015-11-04 13:57:42 +01:00
Joaquim Rocha
7524e16f45 tools/rados/rados.cc: Write to different destinations
The write benchmark only writes the objects' contents, not the omap
nor the extended attributes, which is something also interesting to
measure depending on the cluster's configuration.

These changes add a way to specify where the contents should be
written, allowing to combine any of the destinations mentioned above.

Signed-off-by: Joaquim Rocha <joaquim.rocha@cern.ch>
2015-11-04 13:57:42 +01:00
Yehuda Sadeh
3084406ac5 Merge pull request #6400 from ceph/wip-12997
rgw: Add default quota config

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-03 20:42:53 -08:00
Yehuda Sadeh
8fed45843f Merge pull request #5738 from dwj192/dwj192_bkt_index
rgw: fix objects can not be displayed which object name does not cont…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-03 11:27:18 -08:00
Loic Dachary
76de0c39fe Merge pull request #6452 from dachary/wip-13664-test-ec
tests: test/librados/test.cc must create profile

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-03 08:22:36 +01:00
Loic Dachary
cab3d3f2f2 Merge pull request #6410 from Vicente-Cheng/ceph-disk-list-plain-single-failure
ceph-disk: get Nonetype when ceph-disk list with --format plain on single device.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-03 08:05:19 +01:00
xinxin shu
da48dbb8f8 rbd: fix clone issue when we specify image feature
Fixes: #13553

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-11-03 14:00:00 +08:00
Loic Dachary
a60342942b tests: test/librados/test.cc must create profile
Now that the create_one_ec_pool function removes the testprofile each
time it is called, it must create the testprofile erasure code profile
again for the test to use.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-11-03 00:21:51 +01:00
Loic Dachary
7f8bf7a2c2 Merge pull request #6446 from dachary/wip-13664-test-ec
tests: destroy testprofile before creating one

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-02 23:12:31 +01:00
Loic Dachary
47abab9a6f tests: destroy testprofile before creating one
The testprofile erasure code profile is destroyed before creating a new
one so that it does not fail when another testprofile erasure code
profile already exists with different parameters.

This must be done when creating erasure coded pools with the C++
interface, in the same way it's done with the C interface.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-11-02 20:32:15 +01:00
Loic Dachary
ab46d79bc0 tests: add destroy_ec_profile{,_pp} helpers
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-11-02 20:32:11 +01:00
David Zafman
efe165e3ac Merge pull request #6406 from xiexingguo/xxg-wip-13626
FileJournal:_fdump wrongly returns if journal is currently unreadable.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-11-02 08:14:37 -08:00
Kefu Chai
ee029ebf90 Merge pull request #5133 from stiopaa1/ThreadMoveCopyConstr
Thread.h: disable copy constructor and assignment op

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-02 21:24:44 +08:00
Dan Mick
2d567283df Merge pull request #6329 from dzafman/wip-zafman-ceph
Wip zafman ceph

Reviewed-by: Dan Mick <dmick@redhat.com>
2015-10-30 20:00:49 -07:00
David Zafman
a341d977d4 ceph.in: Notify user that 'tell' can't be used in interactive mode
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 16:14:09 -07:00
Ken Dreyer
4b9462ab16 Merge pull request #6435 from ceph/docs-new-url
updates all http://ceph.com/ to download.ceph.com

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-10-30 16:28:20 -06:00
Alfredo Deza
92e0201639 doc: update rpm links to download.ceph.com
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-10-30 17:48:21 -04:00
Alfredo Deza
caa4780b3c doc: update debian links to download.ceph.com
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-10-30 17:46:12 -04:00
David Zafman
19565e19d8 Merge pull request #5783 from dzafman/wip-12738
Fix scrub error handling and log output
Add set-size and remove-clone-metadata to ceph-objectstore-tool
Fix trim_object() to not crash on corrupt snapset
Add scrub clones test and add clones to ceph-objectstore-tool test

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-10-30 13:14:49 -07:00
David Zafman
d712737be1 test: osd-scrub-snaps.sh uses ceph-helpers.sh and added to make check
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:51 -07:00
David Zafman
310bf784b7 osd: Use boost::optional instead of snap 0 for "all_clones"
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:51 -07:00
David Zafman
f508ddc6e9 osd, test: When head missing a snapset, clones not an error
Fix log message for this case and make into "info"

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:51 -07:00
David Zafman
2e0bb0ae94 osd, test: Keep missing count and log number of missing clones
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:51 -07:00
David Zafman
8227b4b75c test: Eliminate check for bogus "obj13/head snaps empty" error
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:51 -07:00
David Zafman
c6d283f0f1 ceph-objectstore-tool: Add new remove-clone-metadata object op
Fixes: #12740

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
eb0ca42481 osd: Fix trim_object() to not crash on corrupt snapset
Add test case to check for trim_object() osd crash

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
caf2d5970b ceph-objectstore-tool: Improve object spec error handling
Add test cases

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
b6302acdd3 ceph-objectstore-tool: Add undocumented clear-snapset command for testing
Add test cases using new feature to corrupt SnapSet

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
138a33b894 ceph-objectstore-tool: Add set-size command for objects
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
1688debf78 ceph-objectstore-tool: Enhanced dump command replaces dump-info
Show object stat information from objectstore
Show SnapSet if present
Add --head for search by object name

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
b4ba3e6654 test: Add some clones to ceph-objectstore-tool test
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
d276d32865 ceph-objectstore-tool: For corrupt objectstores, don't abort listing on errors
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
b0c884ba8b ceph-objectstore-tool: Improve some error messages
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
0564f39826 ceph-objectstore-tool: White space fixes
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
9222f56403 tools/rados: Improve xattr import handling so future internal xattrs ignored
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
e5ad33ec07 test: Test scrubbing of snapshot problems
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:50 -07:00
David Zafman
e0b3965002 osd: Don't crash if OI_ATTR attribute is missing or corrupt
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:41 -07:00
David Zafman
9e48e1801e osd: Additional _scrub() check for snapset inconsistency
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:27 -07:00
David Zafman
3b381caaad osd: Better SnapSet scrub checking (find issues instead of asserting)
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:24 -07:00
David Zafman
a23036c6fd osd: Make the _scrub routine produce good output and detect errors properly
Catch decode errors so osd doesn't crash on corrupt OI_ATTR or SS_ATTR
Use boost::optional<> to make current state clearer
Create next_clone as needed using head/curclone
Add equivalent logic after getting to end of scrubmap.objects

Fixes: #12738

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-30 13:01:23 -07:00
Samuel Just
e74183ea88 Merge pull request #5865 from dzafman/wip-13016
osd: Add config option osd_read_ec_check_for_errors for testing

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-10-30 08:17:59 -07:00
Yehuda Sadeh
7f8ab9134f Merge pull request #6045 from Sandy4999/wip-13133
rgw: refuse to calculate digest when the s3 secret key is empty

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-29 21:43:46 -07:00
Yehuda Sadeh
d9640e1b3d Merge pull request #6424 from badone/curl_easy_perform_fix
rgw: Fix typo in RGWHTTPClient::process error message

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-29 08:28:37 -07:00