Kefu Chai
c207b7a6ff
Merge pull request #5303 from oritwas/fix-cmake-4
...
cmake: add missing blkid to ceph-osd
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-22 00:02:00 +08:00
John Spray
64e5041008
auth: check return value of keyring->get_secret
...
get_secret can fail to populate the passed CryptoKey, for
example if the entity name is not found in the keyring. In
this case, attempts to use the CryptoKey will lead to
segfaults.
Fixes : #12417
Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-21 16:13:10 +01:00
David Zafman
9e7955e42f
Merge pull request #5127 from tchaikov/wip-12193
...
tools: add osdmap commands to ceph-objectstore-tool
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-07-21 08:01:17 -07:00
Sage Weil
7b8ca747e1
doc/releases: v0.80.10
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-21 10:56:57 -04:00
Sage Weil
2a61b61198
doc/release-notes: v0.80.10
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-21 10:55:18 -04:00
Sage Weil
7192d83b18
Merge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph
2015-07-21 10:53:40 -04:00
Kefu Chai
21ee56ec47
Merge pull request #4958 from xinxinsh/wip-clone-test
...
ceph_test_objectstore: improve the StoreTest.SimpleCloneTest
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-21 22:07:56 +08:00
Kefu Chai
32c0fe3222
Merge pull request #5301 from ceph/wip-12251
...
mon: OSDMonitor: fix hex output on 'osd reweight'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-21 21:46:29 +08:00
Orit Wasserman
c0d2976f63
cmake: add missing blkid libraries
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-07-21 15:39:56 +02:00
Kefu Chai
c7729efdbb
Merge pull request #5302 from ssssztes/master
...
mon: fix the message in OSDMonitor::get_pools_health
Reviewed-by: Xinze Chi <xmdxcxz@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-21 21:29:28 +08:00
renhwztetecs
7fc13c9d6b
Update OSDMonitor.cc
...
OSDMonitor::get_pools_health(), s/objects/bytes/
Fixes : #12402
Signed-off-by: ren.huanwen@zte.com.cn
2015-07-21 18:55:00 +08:00
Joao Eduardo Luis
787fa80c27
mon: OSDMonitor: fix hex output on 'osd reweight'
...
Fixes : #12251
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-21 11:20:53 +01:00
Gregory Farnum
6fecdf1db6
Merge pull request #5294 from ceph/wip-12354
...
client: fix directory fsync
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-07-21 10:46:34 +01:00
Haomai Wang
8f33dc3cc5
AsyncConnection: Fix local message dispatch lack of source
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-07-21 17:46:07 +08:00
Haomai Wang
98d53e8ea4
TestMsgr: Add message source check for local message dispatch
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-07-21 17:45:57 +08:00
Kefu Chai
cc85561ac5
Merge pull request #5288 from hjwsm1989/pgmonitor-overflow
...
mon/PGMonitor: avoid overflow when checking num_objects against the threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-21 17:10:50 +08:00
Orit Wasserman
814dc0c894
Merge pull request #5297 from ceph/wip-7647
...
rgw: avoid using slashes for generated secret keys
2015-07-21 09:02:12 +02:00
Yehuda Sadeh
3f04a6126f
rgw: avoid using slashes for generated secret keys
...
Just use plain alphanumeric characterset.
Fixes : #7647
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-20 20:41:19 -07:00
Yan, Zheng
613f548169
client: fix directory fsync
...
When opening a regular file, fuse assigns a 'struct Fh' pointer to
fuse_file_info::fh. but when openning a directory, fuse assigns a
'struct dir_result_t' to fuse_file_info::fh. So we need a seperate
function for fsyncdir (cast fuse_file_info::fh to a struct
dir_result_t pointer)
Fixes : #12354
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-07-21 10:23:29 +08:00
Samuel Just
b8814f4ed4
test/librados/tier.cc: we can exceed the hitset limit while backfilling
...
We leave the time limit as the actual test, but we are allowed to
temperarily exceed the number of hitsets during backfilling.
Fixes: 8193
Related: d0f1806d57
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-07-20 12:15:28 -07:00
Yehuda Sadeh
ce534e1e0a
Merge pull request #5291 from zhouyuan/rgw_s3_obj_version
...
rgw: doc: Mark S3 object version API as supported
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-20 09:56:13 -07:00
Yuan Zhou
b62c3b9537
rgw: doc: Mark S3 object version API as supported
...
S3 object version is already in since Hammer.
Ref: http://marc.info/?l=ceph-devel&m=143715290627682
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-20 15:37:09 +08:00
huangjun
f84e6b8157
mon/PGMonitor: avoid uint64_t overflow when checking pool 'target/max' status.
...
Fixes : #12401
Signed-off-by: huangjun <hjwsm1989@gmail.com>
2015-07-20 14:16:59 +08:00
Kefu Chai
64d37b70a6
Merge pull request #5282 from ceph/wip-fix-test-mon_deprecated_commands
...
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-07-19 01:07:16 +08:00
Kefu Chai
017e206cf1
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP
...
the proble breaks `test_mon_deprecated_commands` on ubuntu precise,
on the python shipped with ubuntu precise, errno.errorcode[95]
evalutes to `EOPNOTSUPP` but not `ENOTSUP`. but these two errnos
are equal in glibc.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-19 00:21:23 +08:00
David Zafman
4577068370
Merge pull request #5253 from ceph/wip-12262
...
Bug fix for rados export
Add rados purge command
Fix and add rados tool testing to make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2015-07-17 15:58:14 -07:00
Sage Weil
f58ea56825
Merge pull request #5274 from zhouyuan/rgw_api_link
...
rgw: doc: adding S3/Swift API link
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-07-17 17:22:52 -04:00
Sage Weil
3455cd0981
Merge pull request #5281 from joehandzik/copyright_mailmap_update
...
doc: Adding Hewlett-Packard copyright messages
2015-07-17 17:18:08 -04:00
Sage Weil
e519580087
Merge pull request #5270 from dachary/wip-releases
...
doc: add v9.0.2 to the release timeline
2015-07-17 16:50:43 -04:00
Joe Handzik
b62a77a24b
doc: Adding Hewlett-Packard copyright messages to files containing more than minor enhancements and build scripting
...
Signed-off-by: Joe Handzik <joseph.t.handzik@hp.com>
2015-07-17 15:20:32 -05:00
David Zafman
6dc5892003
test: Make test_rados_tool.sh part of make check
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-07-17 10:31:58 -07:00
David Zafman
90fdbbfbe6
common, tools, test: Add "rados purge" feature to remove all objects from a pool
...
This required creating an Object type which is a pair of strings an
object id and object namespace. Functionally, nothing has changed
with regards to the bench and cleanup command semantics. Those
commands still allow operation in the default or a specified namespace.
Fixes : #12262
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-07-17 10:31:58 -07:00
Joao Eduardo Luis
a89cae4fc1
Merge pull request #5052 from ceph/wip-11815-restore-crushmap
...
tools: add a tool to restore crush map after a faulty one is injected
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-07-17 16:50:25 +01:00
Loic Dachary
35dc045baa
Merge pull request #5246 from t-miyamae/wip-mshec-fixlogic3
...
erasure code: shec performance optimization by SIMD instructions
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-07-17 15:49:14 +02:00
Kefu Chai
818de1a2c8
test: add test for {get,set}-inc-osdmap commands.
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 20:51:22 +08:00
Kefu Chai
6e6e789fa3
Merge pull request #5273 from wonzhq/rados-df
...
rados.cc: fix an issue in the output of the 'rados df' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:29:34 +08:00
Joao Eduardo Luis
8eb9a34ddd
tools: ceph-monstore-update-crush: fail early if mon's running
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-17 19:15:44 +08:00
Joao Eduardo Luis
a881f9385f
tools: ceph_monstore_tool: describe behavior of rewrite command
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-17 19:15:44 +08:00
Kefu Chai
2349eb997f
osd/OSDMap: fix a typo in the comment
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
fbd4d12efc
osd/OSDMap: remove unused dump_json()
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
50a33dea0a
package ceph-monstore-update-crush.sh
...
Fixes : #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
9d8b6d8532
test: add a test to exercise ceph-monstore-update-crush.sh
...
Fixes : #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
39e25b9779
tools: add ceph-monstore-update-crush.sh
...
Fixes : #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
1bb0cf4327
PendingReleaseNotes: add the notes about osdmaptool
...
* its '--dump-json' option is replaced by '--dump json'
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:15:44 +08:00
Kefu Chai
ad6e6a1b43
tool/osdmaptool: replace --dump-json with --dump
...
* --dump will accept a formatter argument.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:14:58 +08:00
Kefu Chai
3063734278
tools/ceph-monstore-tools: add rewrite command
...
"rewrite" command will
- add a new osdmap version to update current osdmap held by OSDMonitor
- add a new paxos version, as a proposal it will
* rewrite all osdmap epochs from specified epoch to the last_committed
one with the specified crush map.
* add the new osdmap which is added just now
so the leader monitor can trigger a recovery process to apply the transaction
to all monitors in quorum, and hence bring them back to normal after being
injected with a faulty crushmap.
Fixes : #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-17 19:14:58 +08:00
Kefu Chai
ab4fa2a3e6
Merge pull request #4807 from dachary/wip-11814-erasure-code-ruleset
...
mon: validate implicit erasure code crush ruleset
Reviewed-by: Takeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-17 18:25:42 +08:00
Zhiqiang Wang
6579fcb69d
rados.cc: fix an issue in the output of the 'rados df' command
...
The output doesn't indent correctly without this fix. Right align the df
stats with their headers. Before this change some of them are 1
character off, and with a strange 'category' column.
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-07-17 16:44:02 +08:00
Yuan Zhou
6256c10512
rgw: doc: adding S3/Swift API link
...
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-17 14:12:47 +08:00
Takeshi Miyamae
2b9071de08
erasure code: shec add ceph-erasure-code-corpus
...
Signed-off-by: Takeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
2015-07-17 13:42:08 +09:00