Commit Graph

118505 Commits

Author SHA1 Message Date
Yuri Weinstein
6d5fb9fd6d qa/tests: added stress-split-no-cephadm tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-01-12 09:03:34 -08:00
Yuri Weinstein
1e1c9c312a qa/tests: added rbd_import_export tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-01-11 10:51:14 -08:00
Ernesto Puerta
d209169649
Merge pull request #38768 from votdev/fix_path_to_dash_devel_doc
mgr/dashboard: Fix path to dash_devel.rst

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-11 19:27:06 +01:00
Patrick Donnelly
4c69c7d573
Merge PR #38790 into master
* refs/pull/38790/head:
	common: remove dead option

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-11 10:20:27 -08:00
Patrick Donnelly
5304a13617
Merge PR #38788 into master
* refs/pull/38788/head:
	mount.ceph: collect v2 addresses for non-legacy ms_mode options

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-11 10:14:06 -08:00
Patrick Donnelly
a59ecd3ed1
Merge PR #38640 into master
* refs/pull/38640/head:
	qa: add test for reserved keyword feature
	qa: use no client for required client feature tests
	mds: do not allow setting a reserved feature by name
	mds: return sv for efficiency

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-01-11 10:12:17 -08:00
Sebastian Wagner
587867e993
Merge pull request #38766 from sebastian-philipp/cephadm-service-action-async
mgr/cephadm: make `ceph orch {restart|...}` asynchronous

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-01-11 18:39:13 +01:00
Matt Benjamin
6024edbe6f
Merge pull request #38255 from linuxbox2/wip-fio-librgw
rgw:fio: introduce libfio_rgw
2021-01-11 12:24:59 -05:00
Nathan Cutler
e08b7a4aac
Merge pull request #36120 from smithfarm/wip-rpath-ceph-diff-sorted
cmake: add empty RPATH to ceph-diff-sorted

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2021-01-11 17:48:46 +01:00
Ernesto Puerta
7a3f60e8bc
Merge pull request #38671 from rhcs-dashboard/48685-upgrade-grafana
mgr/dashboard/monitoring: upgrade Grafana version due to CVE-2020-13379

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: b-ranto <branto@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: p-se <pseidensal@suse.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
Reviewed-by: Volker Theile <vtheile@suse.com>
2021-01-11 17:45:52 +01:00
Patrick Donnelly
318d3f4d80
Merge PR #38108 into master
* refs/pull/38108/head:
	doc, man: man page for `cephfs-top` utility
	doc: document `cephfs-top` utility
	test: selftest for `cephfs-top` utility
	spec, deb: package cephfs-top utility
	cephfs-top: top(1) like utility for Ceph Filesystem
	mgr/stats: include kernel version (for kclients) in `perf stats` command output
	mgr/stats: include version with `perf stats` output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-11 08:38:52 -08:00
Patrick Donnelly
ed34006083
Merge PR #38836 into master
* refs/pull/38836/head:
	client: add debug messages for osdmap wait

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-01-11 07:48:13 -08:00
Sebastian Wagner
1783f43b15
Merge pull request #38141 from Daniel-Pivonka/nodeexporterpullauth
cephadm: fix podman failure to pull authenticated registry image from systemd unit

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-11 15:04:55 +01:00
Jason Dillaman
ef4a1f8234
Merge pull request #38712 from orozery/librbd-encryption-api
librbd: encryption API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-11 08:29:51 -05:00
Nathan Cutler
cb20ce3931 cmake: add empty RPATH to ceph-diff-sorted
This fixes a transient FTBFS on openSUSE:

[ 5365s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/ceph-15.2.4.337+g55cec95eaf-1.1.x86_64/usr/bin/ceph-diff-sorted
[ 5365s] CMake Error at src/tools/cmake_install.cmake:230 (file):
[ 5365s]   file RPATH_CHANGE could not write new RPATH:
[ 5365s]
[ 5365s]     /usr/lib64/ceph
[ 5365s]
[ 5365s]   to the file:
[ 5365s]
[ 5365s]     /home/abuild/rpmbuild/BUILDROOT/ceph-15.2.4.337+g55cec95eaf-1.1.x86_64/usr/bin/ceph-diff-sorted
[ 5365s]
[ 5365s]   No valid ELF RPATH or RUNPATH entry exists in the file;

Fixes: https://tracker.ceph.com/issues/46553
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2021-01-11 13:27:37 +01:00
Or Ozeri
99d8cf9bb4 librbd: add encryption api
This commit exposes librbd encryption api

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-11 13:55:38 +02:00
Or Ozeri
237eaacd32 librbd: change remap_extents to lvalue reference
This commit changes the remap_extents api to use lvalue instead of ravlue references

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-11 13:52:47 +02:00
Or Ozeri
05995ef56f librbd: fix wrong delete type in DataCryptor
This commit fixes a delete which does not match its allocation

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-11 13:51:16 +02:00
Venky Shankar
4dd3f42552 doc, man: man page for cephfs-top utility
Fixes: http://tracker.ceph.com/issues/48602
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
c513422ec5 doc: document cephfs-top utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
0329d9b884 test: selftest for cephfs-top utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
d5062c60f6 spec, deb: package cephfs-top utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
4867fc1cd1 cephfs-top: top(1) like utility for Ceph Filesystem
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
74309430b4 mgr/stats: include kernel version (for kclients) in perf stats command output
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Venky Shankar
9a862d0cda mgr/stats: include version with perf stats output
So that `fstop` infers the version of mgr/stats to parse the
JSON command output.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Sebastian Wagner
2cd46a141c
Merge pull request #38804 from sebastian-philipp/cephadm-silence-evict-container
cephadm: silence "Failed to evict container" log msg

Reviewed-by: Adam King <adking@redhat.com>
2021-01-11 12:03:29 +01:00
Sebastian Wagner
8d80817c74
Merge pull request #38615 from adk3798/haproxy-stuff
mgr/cephadm: HA for RGW endpoints

Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-11 12:02:25 +01:00
Volker Theile
a01a618a11 mgr/dashboard: Fix path to dash_devel.rst
Signed-off-by: Volker Theile <vtheile@suse.com>
2021-01-11 11:27:33 +01:00
Kefu Chai
340a437626
Merge pull request #38543 from zjcmszh/cmpext_op
pybind/rados: add WriteOp::cmpext() and ReadOp::cmpext()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-11 18:26:45 +08:00
Gregory Farnum
6e67a985b2
Merge pull request #38531 from gregsfortytwo/wip-stretch-updates
More stretch updates for overly-aggressive safety checks that broke clients

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-10 22:06:22 -08:00
Patrick Donnelly
14b4787de1
client: add debug messages for osdmap wait
To help debug i47294.

See-also: https://tracker.ceph.com/issues/47294
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-10 21:11:06 -08:00
Or Ozeri
285ba2ac86 librbd: move object create before set alloc hint
This commit fixes the order of ops in write requests to have create before set alloc hint, so that exclusive create will not falsely fail

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-10 17:55:29 +02:00
Kefu Chai
3d4ba3d924
Merge pull request #38701 from rosinL/fix-memory-over-use
commom/buffer: use small page aligned when bufferlist prealloc memory

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-10 19:58:03 +08:00
Kefu Chai
dbd54dacc3
Merge pull request #38747 from tchaikov/wip-scrub-event
osd/scrub_machine: pass an instance of event to post_event()

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2021-01-10 19:52:00 +08:00
Or Ozeri
2ab05ea045 librbd: fix crypto related memory leaks
This commit fixes memory leaks introduced by the new librbd encryption feature

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-10 01:05:07 +02:00
Jason Dillaman
d3fa8889ff
Merge pull request #38796 from MahatiC/wip-ssd-read
librbd/cache: Implement aio_read operation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-09 16:52:20 -05:00
Kefu Chai
0da007a2f8
Merge pull request #38272 from vbashkirtsev/master
test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-10 00:25:06 +08:00
Vladimir Bashkirtsev
b9516966ec test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3
as sometimes a SSE-3 CPU reports "pni" (Prescott New Instructions) in /proc/cpuinfo.

Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
2021-01-09 14:36:55 +10:30
Vladimir Bashkirtsev
50564a60ce do_cmake.sh: do not perform 'git submodule update' if building from tarball
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
2021-01-09 14:36:55 +10:30
Kefu Chai
b5fd5b505f
Merge pull request #38753 from Rethan/style-ceph-df-output
mon/PGMap: align to same side when output ceph df / ceph df detail

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-09 12:06:47 +08:00
Patrick Donnelly
52ef68c681
Merge PR #38775 into master
* refs/pull/38775/head:
	qa: remove ceph file systems on completion

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-01-08 19:06:58 -08:00
Patrick Donnelly
0a3e6b4459
Merge PR #38791 into master
* refs/pull/38791/head:
	mon/MDSMonitor: add missing frozen checks

Reviewed-by: Jos Collin <jcollin@redhat.com>
2021-01-08 15:17:47 -08:00
Patrick Donnelly
7c5c9df288
Merge PR #38778 into master
* refs/pull/38778/head:
	mds: don't use dentry_key_t in C_IO_Dir_Commit_Ops

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-01-08 15:17:10 -08:00
Patrick Donnelly
88800299e2
Merge PR #38773 into master
* refs/pull/38773/head:
	mds: avoid spurious sleeps

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2021-01-08 15:15:54 -08:00
Patrick Donnelly
fe724349da
Merge PR #38698 into master
* refs/pull/38698/head:
	client: fix the cache size check
	client: add more detail info for the _put_inode debug log
	client: skip putting inodes if map is empty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-08 15:14:10 -08:00
Patrick Donnelly
4b976e70a4
Merge PR #38683 into master
* refs/pull/38683/head:
	mds: add scrub perf counters support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-08 15:13:22 -08:00
Patrick Donnelly
d03064d930
Merge PR #38642 into master
* refs/pull/38642/head:
	rpm/deb/cmake: install mount.fuse.ceph man page

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-08 15:12:42 -08:00
Greg Farnum
dd63a3e21f osd: osdmap: do not assert target_v when encoding in stretch mode
Again, this was an overly-strict safety check. It passed testing against
(even old) userspace clients, but the kernel clients don't have all the
same feature bits and so when encoding for them, we see lower target_v values
and assert out erroneously.

As before, monitors and OSDs that actually need to interpret this data
are gated on cluster entry, so we don't need this safety check here.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2021-01-08 22:17:07 +00:00
Daniel-Pivonka
a398fc239f cephadm: HA for RGW endpoints
Cephadm deploying keepalived and HAproxy for providing High availability for RGW endpoints

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

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-01-08 17:00:51 -05:00
Casey Bodley
66cafc8312
Merge pull request #37882 from cbodley/wip-rgw-data-sync-notification-fix
rgw: data sync: fix obligation check

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2021-01-08 15:16:23 -05:00