Commit Graph

68835 Commits

Author SHA1 Message Date
Joao Eduardo Luis
3cabcb7d51 qa/workunits/ceph-helpers: add wait_for_quorum()
Takes optional timeout and desired quorum size

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
11c4946b63 mon: enable persistent monmap features on full quorum
We will now only enable persistent features automatically
when ALL the monitors in the monmap are in the quorum.
 #noMonitorLeftBehind

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
9c6a6f19d8 mon: better 'mon features' cli
Allows listing supported and currently set monmap features, as well as
setting and unsetting them.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
545bc83568 mon: drop weird/failed mon features debug cli
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-02-22 14:25:50 +00:00
John Spray
64eae76fbe Merge pull request #12897 from renhwztetecs/renhw-wip-client-cleanup
client: priority to verify the correctness of the "flag" 

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:08:14 +00:00
John Spray
de5249436c Merge pull request #13359 from jcsp/wip-logrotate-sshexception
qa: handle SSHException in logrotate

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 10:05:07 +00:00
John Spray
c068fa879f Merge pull request #13429 from ukernel/wip-18941
test/libcephfs: avoid buffer overflow when testing ceph_getdents()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:04:22 +00:00
John Spray
fa55ed5ab2 Merge pull request #13455 from ukernel/wip-18953
mds: ignore fs full check for CEPH_MDS_OP_SETFILELOCK

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:50:56 +00:00
John Spray
4fb5286af0 Merge pull request #13465 from jcsp/wip-mds-voidfn
mds: replace C_VoidFn in MDSDaemon with lambdas

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-22 09:49:17 +00:00
John Spray
0d817a2ae0 Merge pull request #13471 from batrick/fs-new-eexist
mon: detect existing fs and duplicate name earlier

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:48:36 +00:00
Abhishek L
7ae1981855 Merge pull request #13572 from theanalyst/doc/changelog/v0.94.10
doc: add changelog for v0.94.10

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-02-22 10:27:54 +01:00
Abhishek L
aa59cbd427 Merge pull request #13152 from smithfarm/wip-hammer-release-notes
doc: hammer 0.94.10 release notes

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-02-22 10:25:24 +01:00
Loic Dachary
51f4e3bd93 Merge pull request #13573 from dachary/wip-17821-revert
ceph-disk: dmcrypt activate must use the same cluster as prepare

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 09:15:22 +01:00
Loic Dachary
7f66672b67 ceph-disk: dmcrypt activate must use the same cluster as prepare
When dmcrypt is used, the fsid cannot be retrieved from the data
partition because it is encrypted. Store the fsid in the lockbox to
enable dmcrypt activation using the same logic as regular activation.

The fsid is used to retrive the cluster name that was used during
prepare, reason why activation does not and must not have a --cluster
argument.

Fixes: http://tracker.ceph.com/issues/17821

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-22 01:49:12 +01:00
Nathan Cutler
374423e0ca Merge pull request #13515 from smithfarm/wip-17613
rpm: build ceph-resource-agents by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-02-22 00:13:20 +01:00
Abhishek Lekshmanan
2a79c6e5cc doc: add changelog for v0.94.10
Generated as
```
$ git log tags/v0.94.9..tags/v0.94.10 --after="Tue Aug 30 11:33:36 2016 +0000"
```

in order to avoid the qa suite merge commits
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-02-21 23:51:12 +01:00
Loic Dachary
d3409d4562 Revert "ceph-disk: change get_dmcrypt_key test to support different cluster name"
Merged by mistake, teuthology ceph-disk fails

This reverts commit 1c74747360.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:48:34 +01:00
Loic Dachary
bf6fca7591 Revert "ceph-disk: Adding cluster name support for dmcrypt"
Merged by mistake, teuthology ceph-disk fails

This reverts commit d98d4dbc27.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:47:25 +01:00
Yuri Weinstein
9d295f7588 Merge pull request #12623 from LiumxNL/fix-boot-epoch
osd: correct epoch setting of osd boot msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 13:01:23 -08:00
Yuri Weinstein
d0c5df3a87 Merge pull request #13418 from dreamhost/wip-18928
msg/async: support IPv6 QoS.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-21 12:59:42 -08:00
Yuri Weinstein
f0e93ea02e Merge pull request #13530 from tangwenjun3/wip-tang-nvme
os/bluestore rm unused variable in aio_read()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 12:57:14 -08:00
Jason Dillaman
e2f14be298 Merge pull request #13536 from Liuchang0812/wip-add-override-in-rbd-headers
librbd: add override keyword in header files

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 11:51:50 -05:00
Kefu Chai
9341329781 Merge pull request #13558 from ceph/wip-19016-remove-mon_osd_min_down_reports
doc: remove mentions about mon_osd_min_down_reports

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:40:59 +08:00
Kefu Chai
445434048b Merge pull request #12295 from wjwithagen/wip-wjw-TEMP_FAILURE
rgw/rgw_main.cc: fix parenteses and function result

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:39:52 +08:00
Casey Bodley
70d1f90d79 Merge pull request #13291 from prallabh/obj_stat
rgw: Let the object stat command be shown in the usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-21 09:19:09 -05:00
Barbora Ančincová
2918439f57 doc: remove mentions about mon_osd_min_down_reports
Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-21 13:43:03 +01:00
Kefu Chai
d694b61d49 Merge pull request #13550 from tchaikov/wip-18968
mon/MonClient: persist global_id across re-connecting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-21 17:22:42 +08:00
liuchang0812
f72b881249 librbd: add override in header files
Fixes: http://tracker.ceph.com/issues/19012

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-21 16:54:35 +08:00
root
0fe76f83d1 rgw: Let the object stat command be shown in the usage
Fixes: http://tracker.ceph.com/issues/19013
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2017-02-21 14:01:55 +05:30
Kefu Chai
8bb6193c8f mon/MonClient: persist global_id across re-connecting
MonClient should re-use previously assigned global-id after
re-connecting. and should not have its global-id changed once it is
authenticated unless monitor thinks otherwise.

Fixes: http://tracker.ceph.com/issues/18968
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-21 12:01:12 +08:00
John Spray
a4fcdb6133 Merge pull request #13346 from batrick/mds-doc-fix
doc: update to new ceph fs commands

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-20 23:58:55 +00:00
Matt Benjamin
ecb4820e07 Merge pull request #13529 from linuxbox2/wip-dir-orphan
rgw: wip dir orphan
2017-02-20 16:11:26 -05:00
Matt Benjamin
4454765e7d rgw_file: fix marker computation
Fixes: http://tracker.ceph.com/issues/19018

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-20 15:17:31 -05:00
Mykola Golub
357cea27af Merge pull request #13447 from dillaman/wip-13025
librbd: scatter/gather support for the C API

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-20 22:02:13 +02:00
Ilya Dryomov
ce9b163d9a Merge pull request #13537 from liewegas/wip-19005
messages/MOSDOp: fix pg_t decoding for version <7 decoding

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2017-02-20 18:36:32 +01:00
Daniel Gryniewicz
acd633c105 Merge pull request #13385 from zhangsw/feature-lifecycle-noncurrent
rgw: add support for noncurrentversion expiration in s3 lifecycle.
2017-02-20 12:29:51 -05:00
Kefu Chai
b3e516fc38 Merge pull request #13518 from tchaikov/wip-fix-pgp-num
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-21 00:46:26 +08:00
Yehuda Sadeh
47712977e0 Merge pull request #12223 from cbodley/wip-rgw-meta-sync-yield
rgw: fix for broken yields in RGWMetaSyncShardCR

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-02-20 08:30:11 -08:00
Sage Weil
d6950a413f Merge pull request #13517 from liewegas/wip-kraken-x
qa/suites/upgrade/kraken-x

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-02-20 10:20:26 -06:00
Haomai Wang
de90eb6706 Merge pull request #13538 from Adirl/ENOMEM
msg/async/rdma: Print error only on ENOMEM

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-20 22:57:21 +08:00
Haomai Wang
281f0775cf Merge pull request #13539 from Adirl/destructor
msg/async/rdma: update destructor message

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-20 22:56:32 +08:00
Sarit Zubakov
a8aeda9308 msg/async/rdma: update destructor message
issue:939258

Change-Id: Ib00bb5661a0e80fb258babb63d23458daa8b7025
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
2017-02-20 16:46:36 +02:00
Sarit Zubakov
d523bedb0e msg/async/rdma: Print error only on ENOMEM
issue: 931114

Change-Id: I1e1710245c2c056bd2b8cccae9d96676a8f49678
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
2017-02-20 16:43:30 +02:00
Sage Weil
ac9904fd41 messages/MOSDOp: fix pg_t decoding for version <7 decoding
This was broken by f6e219a4df

Fixes: http://tracker.ceph.com/issues/19005
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-20 09:29:11 -05:00
John Spray
41253bbd6c Merge pull request #13065 from ceph/wip-fuse-client-config-edits
doc: minor changes in fuse client config reference

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-20 13:34:04 +00:00
Jason Dillaman
ea7b10501c librbd: new rbd_aio_readv/rbd_aio_writev API methods
The RBD C API now has scatter/gather IO support via the API. The C++
API uses bufferlists which can also support scatter/gather IO.

Fixes: http://tracker.ceph.com/issues/13025
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-20 08:19:24 -05:00
Jason Dillaman
b00b67ac56 librbd: ReadResult helper class for reassembling partial reads
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-20 08:19:24 -05:00
Jason Dillaman
de95d862f5 librbd: move IO-related classes to new io namespace
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-20 08:19:18 -05:00
Haomai Wang
3c0af07629 Merge pull request #13528 from yuyuyu101/wip-fix-rdma-fd
msg/async/rdma: don't need to delete event when tcp connection isn't …

Reviewed-by: Adir lev <adirl@mellanox.com>
2017-02-20 16:21:39 +08:00
tangwenjun
e901b271c4 os/bluestore rm unused variable in aio_read()
Signed-off-by: tangwenjun <tang.wenjun3@zte.com.cn>
2017-02-20 14:11:27 +08:00