Commit Graph

79714 Commits

Author SHA1 Message Date
Matt Benjamin
a2c34c5973 rgw_file: implement variant offset readdir processing
Introduce new rgw_readdir2(...), which in which continues
from an arbitrary dirent name, which presumably has been
seen in a prior partial enumeration.

Add single-file unit test for READDIR cases, librgw_file_marker.cc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-10-18 16:23:51 -04:00
vasukulkarni
3172a63c64 Merge pull request #18380 from zmc/wip-master-init
Changes required for teuthology's systemd support
2017-10-18 13:00:07 -07:00
Matt Benjamin
cea38c72d2 Merge pull request #18365 from linuxbox2/wip-rgw-v3open-write
rgw_file: explicit NFSv3 open() emulation
2017-10-18 15:31:13 -04:00
Zack Cerza
f9acdc774d qa/tasks/ceph: Set owner on mds mount point
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
e606386626 qa/tasks/cephfs/filesystem: Check for mds failure
... inside Filesystem.are_daemons_healthy()

Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
4516ebb6c0 qa/tasks/ceph: Remove /var/lib/ceph copypasta
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
a653720f50 qa/tasks/ceph: Set owner on osd mount point
This is needed when running with systemd

Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
16dcceae5c qa/tasks/ceph: Set owner on mon mount point
This is needed when running with systemd

Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Casey Bodley
8c68b30905 Merge pull request #15554 from cbodley/wip-rgw-parse-cr-dump
tools/rgw: add script to inspect admin socket "cr dump"

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-10-18 14:32:22 -04:00
David Zafman
69b5fc54fe test: Cleanup test-erasure-eio.sh code
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 11:12:14 -07:00
David Zafman
c2572bee3c test: Add replicated recovery/backfill test
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 11:12:14 -07:00
David Zafman
689bff354a osd: Better recovery/backfill restart for mark_unfound_lost delete/revert
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 11:12:07 -07:00
David Zafman
7f8b0ce9e6 osd, mon: Add new pg states recovery_unfound and backfill_unfound
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 11:02:10 -07:00
David Zafman
bb2bcb95f5 osd: Add new UnfoundBackfill and UnfoundRecovery pg transitions
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 11:01:39 -07:00
David Zafman
b9de5eec26 test: Test case that reproduces tracker 18162
recover_replicas: object added to missing set for backfill, but is not in recovering, error!

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-18 10:58:23 -07:00
Yuri Weinstein
aa1d93fdb5 Merge pull request #18378 from ceph/wip-yuriw-21822-master
tests - ceph-ansible vars additions

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2017-10-18 10:19:35 -07:00
Alfredo Deza
85cdc78300 ceph-volume util.prepare separate filestore vs. bluestore prepare utils
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
bbcca70d96 ceph-volume process allow obfuscating a key or index when logging commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
555b664882 ceph-volume util.prepare add other ln helpers for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
211c38f591 ceph-volume util.arg_validators allow to pass a group as --data for lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
6b23fc7224 ceph-volume util.disk add utilities for is_device and is_partition
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
ac0d1555d3 ceph-volume api.lvm udpate create_lv for bluestore
Require full size notation for LVM (e.g. 50G or 100M) and do not
"translate" tags by pre-fixing them with 'ceph'. That is already how the
rest of the API works, no need to make that translation in one place

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
1e8a79b8f4 ceph-volume lvm.prepare update filestore workflow to use new helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
e4fc3464af ceph-volume lvm.prepare initial take on bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
17028f3a3c ceph-volume lvm.common update help flags for bluestore usage
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
16d7feb2b5 ceph-volume api.lvm allow to create a vg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
63d2afbc60 ceph-volume lvm add block CLI flags for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
dc3ced3074 ceph-volume lvm make bluestore the default option
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alan Somers
1430f36f67 Build: create a proper WITH_BLUESTORE option
Using Bluestore is not the same thing as having libaio, especially on
non-Linux platforms.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-10-18 10:20:06 -06:00
Yuri Weinstein
fe4b0aaa33 tests - ceph-ansible vars additions
added symlinks for distros

Fixes http://tracker.ceph.com/issues/21822
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit f30e9a5e6b)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-10-18 09:06:35 -07:00
Jos Collin
dffb5c3728 rgw: Fix getter function names in RGWEnv
Fixed the getter function names as per the review comment in
https://github.com/ceph/ceph/pull/17432

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-18 20:28:34 +05:30
Sage Weil
043d8b2087 Merge pull request #18376 from tchaikov/wip-authors
doc: update Component Technical Leads and maintainers to canonical location

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 08:51:39 -05:00
Casey Bodley
50ba674dc0 Merge pull request #18355 from gaosibei/wip-rgw-refrence
RGW: change function parameters from value to refrence

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-18 08:18:12 -04:00
Matt Benjamin
e43f345b38 Merge pull request #17432 from joscollin/wip-cleanup-fix-rgwconf
rgw: Access RGWConf through RGWEnv
2017-10-18 07:57:20 -04:00
Matt Benjamin
c584a8d27c Merge pull request #17440 from mikulely/cleanup-iterate
rgw: update outdated debug func name
2017-10-18 07:52:57 -04:00
Matt Benjamin
fee8a8ea9b Merge pull request #17956 from zhangsw/fix-rgw-encry-torrent-bug
rgw: Torrents are not supported for objects encrypted using SSE-C
2017-10-18 07:52:39 -04:00
Matt Benjamin
52834493f9 Merge pull request #18057 from baixueyu/branch1
rgw: fix radosgw-admin quota enable return value bug
2017-10-18 07:52:19 -04:00
Alfredo Deza
fc1b889326 Merge pull request #18375 from tchaikov/wip-ceph-disk-check-log
ceph-disk: write log to /var/log/ceph not to /var/run/ceph

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 06:51:27 -04:00
scuttlemonkey
843d964d11 AUTHORS: Update Component Technical Leads and maintainers to canonical location of ceph.com.
Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
2017-10-18 18:48:37 +08:00
Mykola Golub
041cca4a32 Merge pull request #18315 from dillaman/wip-21797
librbd: object map batch update might cause OSD suicide timeout

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-18 13:36:47 +03:00
Kefu Chai
9f2715a5e0 Merge pull request #18345 from wido/doc-osd-replace
doc: Remove additional arguments when replacing OSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:34:57 +08:00
Piotr Dałek
951434f3a4 tools/ceph-conf: dump parsed config in plain text or as json
This is useful for finding differences between ceph.conf on disk
and in osd/mon memory.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-10-18 12:28:20 +02:00
Kefu Chai
e0856bd7e7 ceph-disk: write log to /var/log/ceph not to /var/run/ceph
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:03:44 +08:00
Kefu Chai
c05060fb9b ceph.in: do not panic at control+d in interactive mode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 17:41:47 +08:00
xie xingguo
d2d7766dad osd/osd_types.cc: copy extents map too while making clone
Otherwise we'll lost tracking of logical space usage
if we successfully rollback to clones later.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-18 16:56:49 +08:00
Xie Xingguo
2e1e3f8b2f Merge pull request #18373 from tchaikov/wip-opt-desc
doc: fix the desc of "osd max pg per osd hard ratio"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-18 16:15:35 +08:00
Kefu Chai
d940f62203 doc: fix the desc of "osd max pg per osd hard ratio"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 16:07:50 +08:00
Jos Collin
46544cf5d6 Merge pull request #18370 from mikulely/cleanup-rgw-write-meta
rgw: drop outdated function doc

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-18 05:34:45 +00:00
Jos Collin
29be170ef2 ptl-tool: Fix more readme examples
Fixed more readme examples.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-18 10:53:12 +05:30
Jiaying Ren
f7318f67f0 rgw: drop misplaced&outdated func doc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-10-18 12:32:24 +08:00