Commit Graph

102766 Commits

Author SHA1 Message Date
Nathan Cutler
549b82c11f ceph-backport.sh: set SCRIPT_VERSION using --update-version
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:28 +02:00
Nathan Cutler
4866621bca ceph-backport.sh: implement --update-version and --version options
--update-version (intended for use by script maintainer only) will derive
version number from the output of "git describe" and set the SCRIPT_VERSION
variable inside the script.

--version will display a version number message and exit immediately thereafter.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:28 +02:00
Nathan Cutler
ea97a5a02b ceph-backport.sh: guess component label
If component label is not provided explicitly on the command line, attempt to
guess it.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:25 +02:00
Nathan Cutler
3b4a01a524 ceph-backport.sh: fix an error message
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:43 +02:00
Nathan Cutler
49bb503efc ceph-backport.sh: always try to set backport PR milestone
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:43 +02:00
Nathan Cutler
cccd930a7e ceph-backport.sh/setup_advice: more info on GitHub token
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:43 +02:00
Nathan Cutler
553ff924e9 script/ceph-backport.sh: tweak setup_report
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:43 +02:00
Nathan Cutler
5f86439865 script/ceph-backport.sh: fail gracefully when github_token is wrong
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:43 +02:00
Nathan Cutler
65877bd980 script/ceph-backport.sh: check Redmine API status code on PUT request
When updating the Backport tracker issue in Redmine, upon success the status
code should be 2**.

A status code of 4** indicates a problem with authentication.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-05 17:08:40 +02:00
Kefu Chai
c2adfb62c6
Merge pull request #30583 from mika/mika/typos
doc: fix typos

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-10-04 16:06:20 +08:00
Kefu Chai
86b9036c6c
Merge pull request #30614 from tchaikov/wip-no-more-osdmap-full
librados,osd,mon: remove traces of CEPH_OSDMAP_FULL

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-10-04 10:27:21 +08:00
Kefu Chai
a532aaf479 PendingReleaseNotes: document full/nearfull changes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-10-04 10:26:08 +08:00
Kefu Chai
aee4db31b0
Merge pull request #30635 from tchaikov/wip-42079
mgr: use a struct for DaemonKey

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-10-04 10:18:55 +08:00
Neha Ojha
dc473ec733
Merge pull request #30699 from neha-ojha/wip-more-recovery-tests
qa/suites/rados/thrash: increase async and partial recovery test coverage

Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-10-03 16:11:55 -07:00
Boris Ranto
2d601e7e94
Merge pull request #30482 from pcuzner/k8sevents-remote-support
mgr/k8sevents: Add support for remote kubernetes

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-10-03 23:13:47 +02:00
Paul Cuzner
5658711878 mgr/k8sevents: Add support for remote kubernetes
The initial implementation sent events to the
kubernetes cluster Ceph is running under managed
by rook-ceph. This patch extends this support to
include sending events to an external kubernetes
cluster, that may just be consuming ceph resources

Additional docs added to help people use the
module, either with or without rook-ceph.

It also address a bug where the module was loaded
outside of a rook-ceph environment.

Fixes: https://tracker.ceph.com/issues/41737

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2019-10-04 09:26:23 +13:00
Sage Weil
b3499985e6 Merge PR #30692 into master
* refs/pull/30692/head:
	osd/PeeringState: disable read lease until require_osd_release >= octopus

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-10-03 13:32:35 -05:00
Neha Ojha
375217a3d7 qa/suites/rados: add more-async-partial-recovery.yaml in the thrash suite
This will increase both async and partial recovery.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-10-03 11:15:51 -07:00
Neha Ojha
e953719f2c qa/suites/rados: add more-partial-recovery.yaml in the thrash suite
Increasing osd_object_clean_region_max_num_intervals to track more
clean regions, resulting in more partial recovery.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-10-03 11:15:51 -07:00
Neha Ojha
a2eb45507a qa/suites/rados: add more-async-recovery.yaml in the thrash suite
Reducing osd_async_recovery_min_cost to 1 should allow more
asynchronous recovery to happen.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-10-03 11:15:51 -07:00
Sage Weil
f5a7a0b168 Merge PR #30709 into master
* refs/pull/30709/head:
	msg/async: rename outcoming_bl -> outgoing_bl in AsyncConnection.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-10-03 12:28:10 -05:00
Radoslaw Zarzynski
7997a3ea19 msg/async: rename outcoming_bl -> outgoing_bl in AsyncConnection.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-10-03 15:39:15 +02:00
Patrick Donnelly
9ad000b75e
Merge PR #29711 into master
* refs/pull/29711/head:
	doc: Update documentation for LazyIO

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-10-03 05:51:46 -07:00
Patrick Donnelly
cf4fef5cfb
Merge PR #30473 into master
* refs/pull/30473/head:
	doc: Fix FUSE expansion

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-03 05:00:20 -07:00
Patrick Donnelly
0b24c6d61d
Merge PR #30251 into master
* refs/pull/30251/head:
	doc: Update requirements for using CephFS

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-03 01:35:53 -07:00
Varsha Rao
1b5ce8e779 doc: Update requirements for using CephFS
Fixes: https://tracker.ceph.com/issues/41470
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-10-03 13:12:32 +05:30
Jos Collin
b154d4f87d
Merge pull request #30654 from ajarr/fix-42096
mgr/volumes: fix incorrect snapshot path creation

Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-10-03 12:11:43 +05:30
Sage Weil
4bfd1c5114 Merge PR #30627 into master
* refs/pull/30627/head:
	qa/suites/rados/verify: whitelist MON_DOWN when using valgrind
	qa/suits/rados/basic/tasks/rados_api_tests: pgs can go degraded

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-10-02 15:46:15 -05:00
Sage Weil
804458bf51 Merge PR #30640 into master
* refs/pull/30640/head:
	osd/PrimaryLogPG: remove unused reply creation path
	osd/PrimaryLogPG: include op_returns in dup replies
	osd/PrimaryLog: drop unused reply_ctx() variant
	osd/PrimaryLogPG: remove dead already_ack()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-10-02 09:50:53 -05:00
Sage Weil
644d49ec98 Merge PR #30596 into master
* refs/pull/30596/head:
	qa/suites/rados/singleton/all/ec-lost-unfound: no rbd pool

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-10-02 09:34:18 -05:00
Ilya Dryomov
32fc260eba
Merge pull request #30675 from idryomov/wip-set-kernel-secret
common/secret.c: don't pass uninitialized stack data to the kernel

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-10-02 16:16:45 +02:00
Sage Weil
0c94e25d04 osd/PeeringState: disable read lease until require_osd_release >= octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 08:58:32 -05:00
Lenz Grimmer
80d9be50a9
mgr/dashboard: Update npm packages (#30439)
mgr/dashboard: Update npm packages

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-10-02 12:55:04 +00:00
Patrick Donnelly
98f0682b0e
Merge PR #30626 into master
* refs/pull/30626/head:
	doc: document recover_session= option in mount.ceph manpage
	doc: update documents on using kcephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-02 05:15:02 -07:00
Patrick Donnelly
4154eae83a
Merge PR #30542 into master
* refs/pull/30542/head:
	doc: cleanup CephFS Landing Page

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-02 04:09:22 -07:00
Lenz Grimmer
6bafc61e8d
mgr/dashboard: Show smartctl summary in OSD tab (#30378)
mgr/dashboard: Show smartctl summary in OSD tab

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-10-02 09:22:44 +00:00
Nathan Cutler
896ba76524
Merge pull request #29922 from smithfarm/wip-41524
cmake: set empty RPATH for some test executables

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-10-02 10:42:04 +02:00
Patrick Donnelly
3ec16fee44
Merge PR #30416 into master
* refs/pull/30416/head:
	client: add procession of SEEK_HOLE and SEEK_DATA in lseek.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-01 21:23:57 -07:00
Kefu Chai
9037640a71
Merge pull request #30653 from tchaikov/wip-os/drop-kinetic
os: remove KineticStore

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-10-02 10:16:58 +08:00
Ali Maredia
bc8efa16d3
Merge pull request #28569 from alimaredia/wip-rgw-ioctx-operate-replace
rgw: replace direct calls to ioctx.operate()
2019-10-01 16:48:11 -04:00
Jeff Layton
aa72b35cdb doc: document recover_session= option in mount.ceph manpage
Fixes: https://tracker.ceph.com/issues/40957
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-10-01 15:26:59 -04:00
Ilya Dryomov
1ff296c1ae common/secret.c: don't pass uninitialized stack data to the kernel
ceph_unarmor() returns the number of bytes decoded, which can be (and
usually is) smaller than the size of the payload array.

set_kernel_secret() has behaved this way ever since it was introduced
in commit bee85518e2 ("mount.ceph: Use kernel key management API when
possible.").  The reason it didn't cause problems in the kernel is that
the encoding includes the actual length of the secret and there is no
check for the end of the supplied payload (see ceph_key_preparse() in
net/ceph/crypto.c).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-10-01 21:03:23 +02:00
Kefu Chai
2b6056f935
Merge pull request #30655 from tchaikov/wip-cmake/crimson/pass-args
cmake: pass arguments to crimson tests

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-10-01 22:28:58 +08:00
shenhang
394720ca6b client: add procession of SEEK_HOLE and SEEK_DATA in lseek.
Fixes: https://tracker.ceph.com/issues/42107

Signed-off-by: Shen Hang <harryshen18@gmail.com>
2019-10-01 22:09:40 +08:00
Casey Bodley
ec0e97fe8d
Merge pull request #30613 from joke-lee/rgw-ceph-dencoder-add-RGWPeriodLatestEpochInfo
ceph-dencoder: add RGWPeriodLatestEpochInfo support.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-10-01 09:59:30 -04:00
Tiago Melo
4d87fdb4ff mgr/dashboard: Update npm packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-10-01 13:00:46 +00:00
Jeff Layton
740aeb9632 doc: update documents on using kcephfs
Overhaul the fstab.rst and kernel.rst files with more relevant examples
now that the mount helper does autodiscovery. Add a preamble to
kernel-features.rst and add a warning about the deprecation of inline
data.

Fixes: https://tracker.ceph.com/issues/42025
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-10-01 08:42:57 -04:00
Ramana Raja
8f24f42d46 mgr/volumes: fix incorrect snapshot path creation
When constructing the snapshot path, the components are a mix of
byte and string type objects. The 'os.path.join()' method needs
the components to be of the same type. Hence convert all components
to byte type objects.

Introduced-by: 3d63cd947f
Fixes: https://tracker.ceph.com/issues/42096
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-10-01 18:06:21 +05:30
Kefu Chai
d656c05f50 cmake: pass arguments to crimson tests
otherwise they will take all CPU cores and all memory

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-10-01 19:40:37 +08:00
Nathan Cutler
51a1c62171 build/ops: set empty RPATH for some test executables
Fixes: https://tracker.ceph.com/issues/41524
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-01 12:55:37 +02:00