Commit Graph

114694 Commits

Author SHA1 Message Date
Greg Farnum
f4375d1d02 features: change STRETCH_MODE feature to avoid a conflict
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2020-09-15 02:24:20 +00:00
Greg Farnum
d02625331c Merge remote-tracking branch 'origin/master' into wip-stretch-mode 2020-09-14 02:32:19 +00:00
Yuri Weinstein
e4e6e9c738
Merge pull request #36915 from yuriw/wip-yuriw-46529-master
qa/tests: use bionic only for old clients in rados/thrash-old-clients

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-01 08:52:47 -07:00
Jan Fajerski
2989bf90e7
Merge pull request #36700 from leseb/retry-on-lock
ceph-volume: retry when acquiring lock fails
2020-09-01 15:12:08 +02:00
Ilya Dryomov
42766b371a
Merge pull request #36889 from idryomov/wip-relax-preauth-asserts
msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-01 13:39:13 +02:00
Jan Fajerski
cdd333a29f
Merge pull request #36241 from jan--f/c-v-mpath-support
ceph-volume: support for mpath devices
2020-09-01 13:29:32 +02:00
zdover23
09b21759f9
Merge pull request #36917 from zdover23/wip-doc-rados-init-mems-to-mon-host
doc/rados: s/initial members/mon host

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-09-01 19:23:10 +10:00
Sebastian Wagner
a0771b48e2
Merge pull request #36800 from adk3798/cephadm-46654
cephadm: Change service type to forking via systemd

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-09-01 10:26:35 +02:00
Zac Dover
99fa02f4a1 doc/rados: s/initial members/mon host
This changes an old string, "initial members"
to a current string, "mon host".

Fixes: https://tracker.ceph.com/issues/47116
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-01 14:28:12 +10:00
Kefu Chai
2782ba21ab
Merge pull request #36879 from tchaikov/wip-doc-stable-release
doc: bump up sphinx to 3.2.1 and define "stable-release" global substitution

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-01 11:04:23 +08:00
Kefu Chai
8695ba49c4
Merge pull request #36897 from tchaikov/wip-cmake-asan
cmake: expose Sanitizers_COMPILE_OPTIONS as a list

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-09-01 10:36:02 +08:00
Kefu Chai
5238f9f62b doc: fix broken hyper link
and always reference multisite.rst using tha label not the file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
ca1cca0abc doc: fix broken hyper link
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
45f43be813 doc: define label before section title
so we can see the title of section when following the link

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
253fd22896 doc: add sphinx.ext.mathjax for math-to-MathML rendering
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
84e2808afb doc: fix broken hyper link
this link was broken in 1427905c47

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
fe07df9f19 doc: always refernce terms in case sensitive mode
to silence warning from sphinx like:

ceph/doc/install/ceph-deploy/quick-start-preflight.rst:5: WARNING: term node not found in case sensitive match.made a reference to Node instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
4c53a02ac5 include/rados/librados.h: avoid redefinition of rados_object_list_item
doxygen complains at seeing rados_object_list_item gets defined twice.
so let's fix it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:17 +08:00
Kefu Chai
7ca85e77d0 doc: replace luminous with |stable-release|
"luminous" is a magic number in these contexts, and we should use a
constant for representing it.

the "sphinx_substitution_extensions" sphinx extension is introduced for
performing the global subsitution.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:17 +08:00
Kefu Chai
caa7baaafd
Merge pull request #36907 from yuvalif/fix-issue-47209
cmake: make crimson libraries static to prevent cmake error

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:48:33 +08:00
Yuri Weinstein
7e28443779 qa/tests: use bionic only for old clients in rados/thrash-old-clients
Fixes: https://tracker.ceph.com/issues/46529
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-08-31 16:32:59 -07:00
Patrick Donnelly
e4a37f6338
Merge PR #36089 into master
* refs/pull/36089/head:
	mds/OpenFileTable: add option that disables dirfrags prefetch
	mds: use parent/d_name in cap_reconnect_t to speedup MDCache::open_ino()
	client: encode inode's parent/d_name in cap_reconnect_t
	mds: explicitly track files with client writeable ranges
	mds: properly set CLIENTWRITEABLE flag for imported caps
	mds: in-place update projected inode's client ranges
	mds: only add inodes that clients want Frw or excl caps to open file table
	mds/OpenFileTable: reduce anchor map lookup during prefetch
	mds/OpenFileTable: merge dirfrag set into anchor map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-31 15:18:03 -07:00
Patrick Donnelly
9c1ac27cf1
Merge PR #36887 into master
* refs/pull/36887/head:
	qa: ignore expected mds failover message

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-08-31 13:23:57 -07:00
Patrick Donnelly
ea434e2b01
Merge PR #36846 into master
* refs/pull/36846/head:
	client: support getting ceph.dir.rsnaps vxattr
	messages: fix decode version for snap_btime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-31 13:21:51 -07:00
Patrick Donnelly
628d9ae267
Merge PR #36777 into master
* refs/pull/36777/head:
	osdc/Journaler: do not call onsafe->complete() if onsafe is 0

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-31 13:21:14 -07:00
Patrick Donnelly
3a6f9d15fe
Merge PR #36672 into master
* refs/pull/36672/head:
	client: handle readdir reply without Fs cap

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-31 13:19:22 -07:00
Patrick Donnelly
97444dce48
Merge PR #36631 into master
* refs/pull/36631/head:
	client: dump frag's repmap if dir_replicated is true

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-31 13:18:43 -07:00
Patrick Donnelly
ec751c2fe5
Merge PR #36885 into master
* refs/pull/36885/head:
	mon: ignore statfs requests on invalid poolid
	qa: test for statfs on deleted file system
	qa: move run_shell args to kwargs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-31 13:05:41 -07:00
Vikhyat Umrao
54065da1c4
Merge pull request #36881 from mhackett/wip-mhackett-47189
doc: document tuning of object gateway garbage collection
2020-08-31 12:06:21 -07:00
Sébastien Han
a285cd0892 ceph-volume: retry when acquiring lock fails
When preaparing the osd device with --mkfs, the ceph-osd binary tries to
acquire an exclusive lock on the device (soon to become an OSD).
Unfortunately, when running in containers, we have seen cases where
there is a race between ceph-osd and systemd-udevd to acquire a lock on
the device. Sometimes systemd-udevd gets the lock and releases it soon
so that the ceph-osd gets sometimes the lock is still held and because
ceph-osd uses LOCK_NB the command fails.

This commit retries if the lock cannot be acquired, up to 5 times for 5
seconds, this should be more than enough to acquire the lock and
proceed with the OSD mkfs.

Unfortunately, this is so transient that we cannot lock earlier from c-v,
this won't do anything.

Fixes: https://tracker.ceph.com/issues/47010
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-31 19:04:04 +02:00
ylifshit@redhat.com
6aa3538643 crimson/cmake: fix copy&paste error
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-08-31 19:32:54 +03:00
Yuval Lifshitz
652dbacc74 crimson/cmake: make libraries static to prevent cmake error
Fixes: https://tracker.ceph.com/issues/47209

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-08-31 19:22:40 +03:00
Kefu Chai
d1b89ba2dc
Merge pull request #36826 from agayev/fix-hmsmr-compilation
os/bluestore: Restore HM-SMR functionality on BlueStore

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-31 22:14:29 +08:00
Daniel Gryniewicz
ec13f4a72e
Merge pull request #34653 from clwluvw/bucket-stats
rgw: Add bucket name to bucket stats error logging
2020-08-31 10:02:20 -04:00
Kefu Chai
1ba1afdedd
Merge pull request #36857 from tchaikov/wip-crimson-conf
crimson/osd: support "dump_pgstate_history" command and update legacy conf vars

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-31 22:01:39 +08:00
Kefu Chai
7054f1403d crimson/osd: improve the const correctness
it should suffice to pass a `const OSD&` to the ctor of `OsdStatusHook`

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:18:13 +08:00
Kefu Chai
5de5e32bef crimson/osd: support "dump_pgstate_history" command
it is required by the "ceph_test_admin_socket_output" test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:18:13 +08:00
Kefu Chai
2cc515a013 crimson/admin: make injected_args optional
this option for `injectargs` command is optional, so we should not
crash if it does not exist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:15:10 +08:00
Kefu Chai
dc72cce00c crimson/common: do not check for experimental/filesystem anymore
seastar is only compatible with C++17 and C++20, so no need to check for
<experimental/filesystem> anymore. the C++ standard library should be
C++17 compatible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:13:21 +08:00
Kefu Chai
615c5ca44b crimson/common: call config::update_legacy_vals()
so the legacy vals are populated with the changes received from conffile.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:13:13 +08:00
Kefu Chai
d7706993cb common/config: make update_legacy_vals() public
so crimson can call it in `ConfigProxy::parse_config_files()` after calling
`get_config().parse_buffer()`. so the legacy vals are populated with the
changes received from conffile.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 21:12:53 +08:00
Kefu Chai
7c941d611f
Merge pull request #36891 from tchaikov/wip-less-warnings
crimson/mon,common: replace #warning with // TODO

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-31 21:00:43 +08:00
Kefu Chai
6978f18609
Merge pull request #36892 from tchaikov/wip-crimson-cleanups
crimson/osd: return EAGAIN if !can_serve_replica_read() and cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-31 20:55:18 +08:00
Sebastian Wagner
a83ba2487d
Merge pull request #36905 from sebastian-philipp/cephadm-pep8-test-migration
mgr/cephadm: PEP8tify test_migration.py

Reviewed-by: Adam King <adking@redhat.com>
2020-08-31 14:12:30 +02:00
Sebastian Wagner
242264ca12
Merge pull request #36676 from matthewoliver/cephadm_orch_ipv6
cephadm: auto wrap and unwrap ipv6 addresses

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-31 13:34:02 +02:00
Kefu Chai
2890bbd8a7
Merge pull request #36896 from xxhdx1985126/wip-47133
crimson/pg: check acting set change before appending pglog

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-31 19:12:07 +08:00
Sebastian Wagner
fa49f09606 mgr/cephadm: PEP8tify test_migration.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-31 11:48:14 +02:00
Sebastian Wagner
03a9754855
Merge pull request #36877 from sebastian-philipp/mgr-module-fix-kwargs-cli-command
mgr/mgr_module.py: CLICommand: Fix parsing of kwargs arguments

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-31 11:14:59 +02:00
Laura Paduano
fa621c9d22
Merge pull request #36859 from tspmelo/wip-fix-onselect
mgr/dashboard: Fix stale table actions

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-08-31 10:46:59 +02:00
Kefu Chai
fc6f35a840 cmake: expose Sanitizers_COMPILE_OPTIONS as a list
* cmake/modules/FindSanitizers.cmake: do not pollute CMAKE_REQUIRED_FLAGS
* cmake/modules/FindSanitizers.cmake: expose Sanitizers_COMPILE_OPTIONS
  as a list
* CMakeLists.txt: append Sanitizers_COMPILE_OPTIONS to
  *_LINKER_FLAGS after replacing ";" with " " in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-31 16:11:33 +08:00