Commit Graph

82653 Commits

Author SHA1 Message Date
myoungwon oh
067cc5846b src/test/osd/RadosModel: add two pool test
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-24 19:38:13 +09:00
Sage Weil
1c2ac30803
Merge pull request #20083 from liewegas/wip-msgr2-goals
doc/dev/msgr2.rst: a few notes on protocol goals

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-01-24 04:22:38 -06:00
Shangzhong Zhu
05c496d444 mds: set higher priority for some perf counters
Fixes: http://tracker.ceph.com/issues/22776

Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
2018-01-24 15:23:35 +08:00
songweibin
0551029242 rbd: add deep cp CLI method
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-24 09:04:33 +08:00
Yuan Zhou
40cddc1781 rgw: allow beast frontend to listen on specific IP address
This patch allows the beast frontend to listen on a specific
IP address rather than *. e.g., with below configuration:

rgw frontends = beast port=1.2.3.4:8080

rgw server will listen on 1.2.3.4 only.

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

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2018-01-24 08:30:32 +08:00
Sage Weil
73934df3b0 doc/dev/msgr2.rst: a few notes on protocol goals
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-23 17:40:43 -06:00
Jason Dillaman
aa017678a7 librados: getter for min compatible client versions
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 14:35:25 -05:00
Jason Dillaman
c553f00c5f osd/OSDMap: expose require_min_compat_client variable
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 14:27:52 -05:00
Alfredo Deza
1ed0062eb6
Merge pull request #20010 from ceph/wip-rm22653
ceph-volume: adds a --destroy flag to ceph-volume lvm zap

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 14:24:55 -05:00
Alfredo Deza
163ee6a612 doc/ceph-volume add lvm/encryption to the index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
babcdf2fa5 doc/man/ceph-volume add dmcrypt support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
ad73be2c2a doc/man/ceph-volume add docs for zap sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
498d7a06a1 doc/man/ceph-volume add docs for list sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
46babe80b6 doc/dev/ceph-volume update internal LVM metadata information
Includes dmcrypt information, and updated key names to reflect current
code

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
f0f0c1f8c4 ceph-volume tests.functional add xenial filestore tests for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Jason Dillaman
ccd16d2215
Merge pull request #20020 from mikechristie/wip-doc-mnc-update-iscsi-client
doc: update ceph iscsi kernel and package info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 09:11:32 -05:00
Jason Dillaman
4dbcd4dd89
Merge pull request #18323 from thmour/thmour_rbdtrash
rbd: replace trash delay option, add rbd trash purge command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 08:35:51 -05:00
Jason Dillaman
80f6c5cc4b
Merge pull request #20014 from liewegas/wip-rbd-validate
common/options,librbd/Utils: refactor RBD feature validation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 08:34:58 -05:00
John Spray
86ee30c33a mgr: apply auth_service_required to client conns
Previously was using auth_cluster_required for all
connections, which meant that if someone had
disabled client cephx, they'd get BADAUTHORIZER
from their CLI when it tried to load mgr
command descriptions.

Disabling cephx on the admin CLI is odd, but the mon
tolerates it so the mgr should too.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 07:45:26 -05:00
huanwen ren
a95ba20de6 mon/paxosservice: cleanup
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-01-23 19:42:39 +08:00
runsisi
fc02286a28 osdc: build MOSDOp message in Objecter::_send_op
it's more intuitive and consistent

Signed-off-by: runsisi <runsisi@zte.com.cn>
2018-01-23 19:42:02 +08:00
Nathan Cutler
fe5e1eb102 spdk: update submodule to more recent upstream
This commit fast-forwards the SPDK submodule to upstream commit
93bd60e0de6b161567182d965239735bf467e85c to enable the py3-only build.
(Without said commit, SPDK configure script fails to find the python
interpreter in py3-only environment.)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-23 12:30:57 +01:00
Theofilos Mouratidis
b9e4aa94b7 rbd trash: replace cli delay option, add rbd trash purge command
Replaced the delay argument for the trash move
command with a string acceptable by /bin/date, e.g.:

$ rbd trash move --pool foo --image bar --expires-in "2 weeks"

Added a "rbd trash purge" command that deletes any expired
image from the trash, has also a command to alter the current
expiration date with the "--older-than" argument which accepts
again a valid argument for /bin/date, e.g.:

$rbd trash purge mypool --older-than "2017-08-20"

There is also the "threshold" argument which tries to remove the
oldest trashed images (by deferment end time) until the pool space
is freed up to a percentage point, e.g.:

$ rbd trash purge mypool --threshold 0.9

If mypool uses 1GB it will try to remove trashed images until the
pool usage becomes equal to or lower than 900MB.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2018-01-23 11:41:54 +01:00
runsisi
63d180c828 osdc: remove Objecter::kick_requests which is unused
Signed-off-by: runsisi <runsisi@zte.com.cn>
2018-01-23 18:25:44 +08:00
John Spray
e2c68d5e25 qa: assign prometheus ports during selftest
This was throwing IOError("Port 9283 not free on '::'",)
when trying to serve, since merging https://github.com/ceph/ceph/pull/19744

It's because the standbys (on the same node as the active) are
now trying to listen too.

Fixes: https://tracker.ceph.com/issues/22755
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 10:23:39 +00:00
John Spray
dd4f322592 qa: add new prometheus test to rados/mgr suite
Added in https://github.com/ceph/ceph/pull/19744

Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 10:23:39 +00:00
John Spray
cd70aa2cf3
Merge pull request #20005 from jcsp/wip-mgr-minor
mgr: remove a few junk lines

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-23 10:17:50 +00:00
John Spray
e1af667314 mgr: remove a few junk lines
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 10:17:15 +00:00
Chang Liu
73ff298b89 mon: use pool_sum as param name in PGMapDigest::recovery_summary
the param name of delta_sum of PGMapDigest::recovery_summary() is misleading too.
delta_sum fits the recovery_rate_summary() well, but not recovery_summary().

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-01-23 16:24:23 +08:00
Kefu Chai
04d90a7d2c
Merge pull request #19988 from liewegas/wip-22673
osd: only exit if *latest* map(s) say we are destroyed

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-23 15:48:11 +08:00
Venky Shankar
e2f5335cc7 rbd-mirror: image map policy tests
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-01-22 23:15:05 -05:00
Sage Weil
3911a2ae49
Merge pull request #20059 from ceph/wip-rm22427
doc/ceph-volume OSD use the fsid file, not the osd_fsid
2018-01-22 18:16:10 -06:00
Sage Weil
d431de74de
Merge pull request #19979 from k0ste/prometheus_metadata
mgr: prometheus: set metadata metrics value to '1' (#22717).

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-01-22 18:15:34 -06:00
Sage Weil
eafa6e0ef6
Merge pull request #19980 from k0ste/prometheus_latency
mgr: prometheus: added osd commit/apply latency metrics (#22718).

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-22 18:14:12 -06:00
Sage Weil
f9e02d51d7
Merge pull request #19986 from tchaikov/wip-denc-size-t-featured
denc: should check element's type not 'size_t'

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-01-22 17:51:34 -06:00
Sage Weil
6f7e54dbf7
Merge pull request #20028 from mogeb/steady-clock-rados
rados: use WaitInterval()'s return value instead of manual timing

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-22 17:51:02 -06:00
Sage Weil
ffe3eb10ed
Merge pull request #20044 from tchaikov/wip-22419
osd: update store with options after pg is created 

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-22 17:50:07 -06:00
Sage Weil
92f7b56250
Merge pull request #20032 from liewegas/wip-name-shadowing
mon/OSDMonitor: rename outer name declaration to avoid shadowing

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-22 17:49:09 -06:00
Sage Weil
6eb85b3ac6
Merge pull request #20015 from cbodley/wip-crypto--
crypto: remove cryptopp library

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-22 17:48:20 -06:00
Sage Weil
b4c91da985
Merge pull request #20029 from tchaikov/wip-osx-build
osdc,os,osd: fix build on osx

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-01-22 17:48:00 -06:00
Sage Weil
12e6166397
Merge pull request #20046 from tchaikov/wip-22711
test: reduce the chance to have degraded PGs

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-22 17:46:30 -06:00
Mike Christie
3ab71020a5 doc: fix ceph-iscsi-config version number
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-22 17:10:04 -06:00
Alfredo Deza
a5f26c622b doc/ceph-volume OSD use the fsid file, not the osd_fsid
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 15:16:40 -05:00
Patrick Donnelly
292cfbb190
ceph-debug-docker.sh: allow specifying branch sha1
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-22 12:11:06 -08:00
Casey Bodley
b592ac44cc doc/rgw: add page for http frontend configuration
Fixes: http://tracker.ceph.com/issues/13523

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-22 14:45:25 -05:00
Alfredo Deza
be0dfe7653 ceph-volume tests.functional add xenial bluestore tests for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:50 -05:00
Alfredo Deza
d1ef5c487b ceph-volume tests.functional add dmcrypt support in tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:50 -05:00
Alfredo Deza
2477ac805e ceph-volume tests.functional add centos7 filestore tests for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:50 -05:00
Alfredo Deza
1897232256 ceph-volume tests.functional add centos7 bluestore tests for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:49 -05:00
Alfredo Deza
a774eae43a ceph-volume tests add util.prepare unit tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:49 -05:00