Commit Graph

128266 Commits

Author SHA1 Message Date
Sebastian Wagner
3b565a5cbd
Merge pull request #44109 from sebastian-philipp/doc-crush-types
doc/cephadm: host location: add link to types

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-12-01 17:57:28 +01:00
Sebastian Wagner
4b818b4b67
Merge pull request #44134 from liewegas/cephadm-device-enhanced-scan
mgr/cephadm: avoid repeated calls to get_module_option

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 15:47:36 +01:00
Kefu Chai
126634da59
Merge pull request #44071 from tchaikov/wip-atomic-mips64
cmake: test for 16-byte atomic support on mips also

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-12-01 22:29:33 +08:00
Kefu Chai
21ad371d84
Merge pull request #43540 from fengchunsong/dpdk-test
test/msgr: remove DPDK Non-runtime configure items

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-12-01 22:15:17 +08:00
Venky Shankar
315924b0c5
Merge pull request #43981 from lxbsz/wip-53216
qa/cephfs: correct the parameters' order

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 16:24:22 +05:30
Sebastian Wagner
3216dcc9b0
Merge pull request #44087 from guits/guits-fix-cv-rootfs
ceph-volume: remove --root param from nsenter cmd

Reviewed-by: Sébastien Han <seb@redhat.com>
2021-12-01 10:33:01 +01:00
Sebastian Wagner
aecd0fb9b9
Merge pull request #44143 from devlikai/master
doc/mgr/diskprediction: fix a typo.

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 10:24:00 +01:00
Venky Shankar
675e4219a5
Merge pull request #44116 from lxbsz/caps_doc1
doc: fix the style of the cephfs capability doc

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 14:31:18 +05:30
Sebastian Wagner
d0c17ee1c4
Merge pull request #44129 from spdfnet/patch-1
doc: fix typo in cephadm host management

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:48:42 +01:00
Xiubo Li
dc5e3b2622 qa: correct the parameters' order
The parameters' order is incorrect and missing the client_config.

Introduced-by: 242585656c
Fixes: https://tracker.ceph.com/issues/53216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-12-01 15:06:06 +08:00
Xiubo Li
3b44f20ac0 qa: move the optional client_config parameter to the end
Fixes: https://tracker.ceph.com/issues/53216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-12-01 15:05:58 +08:00
Xiubo Li
b44ee81e7e qa: rename and save the client_config for kernel mount
Fixes: https://tracker.ceph.com/issues/53216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-12-01 15:05:16 +08:00
Venky Shankar
ca23aef191
Merge pull request #44038 from lxbsz/wip-53082
client: fix crash when iterating and deleting sessions

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:38:46 +05:30
Venky Shankar
c44f2fcbb7
Merge pull request #43878 from jtlayton/wip-53214
qa: account for split of the kclient "metrics" debugfs file

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:38:05 +05:30
Venky Shankar
66763fc588
Merge pull request #43850 from batrick/i53194
mds: defer messages to bootstrapping ranks

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:37:00 +05:30
Venky Shankar
4441450a38
Merge pull request #43297 from yongseokoh/test-dir-max-entries
qa: add mds_dir_max_entries workunit test case

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:34:54 +05:30
Venky Shankar
3b213be189
Merge pull request #41334 from vshankar/wip-kcephfs-new-mount-syntax
mount: introduce new device mount syntax

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:33:29 +05:30
Yehuda Sadeh
193895ffba
Merge pull request #42710 from yehudasa/wip-rgw-mgr-module
mgr/rgw: new rgw manager module

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-30 14:32:39 -08:00
Sage Weil
558666b097 Merge PR #44140 into master
* refs/pull/44140/head:
	python-common/ceph/deployment/drive_group: fix 'orch ls --format yaml'

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-30 15:19:55 -05:00
Yehuda Sadeh
999824ae5b python-common/rgw: fix style issues
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2021-11-30 10:57:14 -08:00
Yehuda Sadeh
50ab91473e doc/rgw: fix docs build
Workaround rgw modules conflict, as there are two separate modules named
rgw: src/pybind/rgw, src/pybind/mgr/rgw

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2021-11-30 10:57:14 -08:00
Ronen Friedman
1d665f62db
Merge pull request #44072 from ronen-fr/wip-rf-latescrub-count
qa/standalone: osd-scrub-repair.sh: fix expected "not scrubbed since"…

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2021-11-30 19:43:13 +02:00
Sebastian Wagner
9e3f9751c1
Merge pull request #44118 from sebastian-philipp/cephadm-inventory-changed-while-iterated
mgr/cephadm: Inventory: Fix `dictionary changed size during iteration `

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-11-30 17:50:15 +01:00
Ernesto Puerta
f4647f3390
Merge pull request #44115 from rhcs-dashboard/fix-tooltip-fast-diff
mgr/dashboard: avoid tooltip if disk_usage=null and fast-diff enabled

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-11-30 14:54:20 +01:00
Ernesto Puerta
5b7230355c
Merge pull request #44083 from wangbo-yw/wangbo-yw
mgr/dashboard: add some test for controllers/pool.py

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-11-30 14:53:59 +01:00
Ernesto Puerta
b9b7c04eec
Merge pull request #43855 from zhangmengqianyw/zmq-unittest
mgr/dashboard:add unittest in test_osd.py

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-11-30 14:52:44 +01:00
Sebastian Wagner
4841b7f67b
Merge pull request #44082 from pcuzner/fix-prometheus-timings
mgr/prometheus: Fix the per method stats exported

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-11-30 10:48:48 +01:00
Kyle
dfba515c86
doc/mgr/diskprediction: fix a typo.
doc: remove extra comma.

This commit remove extra comma of "To disable prediction,:".

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

Signed-off-by: devlikai <likai_lc@inspur.com>
2021-11-30 15:27:26 +08:00
Yuval Lifshitz
174ad996c1
Merge pull request #43529 from curtbruns/rgw-lua-storageclass
rgw/lua: allow read/write of StorageClass field
2021-11-30 08:57:23 +02:00
Yuval Lifshitz
d985324cdf
Merge pull request #42504 from arjune123/rgw-bug-fixes
rgw/notification: assigning the value of zonegroup to awsRegion
2021-11-30 08:56:26 +02:00
Venky Shankar
52ad9fbcfe doc, man: document new device syntax for kclient mount
Fxies: http://tracker.ceph.com/issues/47277
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
065301a458 qa: use v1 mount-syntax for upgrade tests
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
f8b939e128 test: mount kclient using new-style (v2) syntax
But, do not throw away the old style mount syntax since we would
want to continue testing it since users (scripts) might still be
using it.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
9663f8aaec mount: use mds_mode=prefer-crc with new-style mount syntax if possible
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
d5ae180976 mount: optionally do not fall-back to old-style mount syntax
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
8606f5839d mount: introduce new mount syntax
Old mount device (source) have the following problems:

- mounts to the same cluster but with different fsnames
  and/or creds have identical device string which can
  confuse xfstests.

- device shown in /proc/mounts is different that what
  is used to mount.

New proposed syntax is as follows:

  # mount -t ceph cephuser@<cluster-fsid>.mycephfs2=/path

The cluster-id is optional but is always passed to the kernel
via mount() syscall (by fetching it from cluster configuration
file if available).

The mount helper tries the mounting the file system with
the new device syntax, falling back to using the old
syntax if required.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
63ac4f9e48 mount: record cluster fsid when reading ceph config file
This will be required when switching to new mount device
syntax when cluster fsid will be passed to kernel as mount
option.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Venky Shankar
f47b7bcbf8 mount: accept monitor host (mon_host) mount option
With new mount device syntax monitor host(s) can be passed
during mount as option parameter. This option is not mandatory
as it can be fetched from the cluster configuration file if
available.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Sage Weil
7e51fe6227 python-common/ceph/deployment/drive_group: fix 'orch ls --format yaml'
In f76c02a658 we may leave out the placement
key when it is empty.  If we take that path, we need to tolerate specs
that are missing that key.

Fixes: f76c02a658
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 23:25:43 -05:00
Josh Durgin
7dee504a41
Merge pull request #43760 from yaarith/release-checklists
doc/dev/release-checklist: add manual review of telemetry reports

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-11-29 18:18:43 -08:00
Sage Weil
1bbac481f3 mgr/cephadm: avoid repeated calls to get_module_option
We already stash these as MgrModule members.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 16:34:48 -05:00
Sage Weil
4f3a33af02 Merge PR #44018 into master
* refs/pull/44018/head:
	mon: fix quorum_age() regression

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-11-29 14:18:33 -05:00
Sage Weil
1f34b8319a Merge PR #44030 into master
* refs/pull/44030/head:
	mgr/cephadm: add some debug output for serve loop
	ceph-volume: adjust arguments for 'ceph-volume raw activate'
	ceph-volume: add raw support for db/wal for list and activate

Reviewed-by: Sébastien Han <seb@redhat.com>
2021-11-29 13:56:43 -05:00
Sage Weil
9260265bf1 Merge PR #44107 into master
* refs/pull/44107/head:
	qa/tasks/cephadm_cases/test_cli: fix test_daemon_restart

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-29 13:56:28 -05:00
Sage Weil
f10f94478f mgr/cephadm: add some debug output for serve loop
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 11:58:38 -05:00
Sage Weil
afd8be7eac ceph-volume: adjust arguments for 'ceph-volume raw activate'
Take a list of devices, so that we can selectively activate a raw osd
with db/wal.

Remove the argument type kludge introduced in 2c228a9a40
since it is no longer needed.

Note that we're making this change because (1) it allows db/wal and (2)
because there are no known users of 'raw activate'.  The only known user
is via 'ceph-volume activate' and we've fixed that caller in this commit.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 11:58:38 -05:00
Sage Weil
f0a0c70d5c ceph-volume: add raw support for db/wal for list and activate
Currently 'prepare' doesn't support db/wal, but we want it in list and
activate because 'ceph-volume activate ...' tries raw before lvm.

Note that I'm not sure we really want to accept --block.db and --block.wal
here at all.

Fixes: 3d7ceec684
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 11:58:38 -05:00
Sage Weil
9ae9894827 qa/tasks/cephadm_cases/test_cli: fix test_daemon_restart
We cannot schedule a daemon start if there is another daemon action
with a higher priority (including stop) scheduled.  However,
that state isn't cleared until *after* the osd goes down, the
systemctl command returns, and mgr/cephadm gets around to updating
the inventory scheduled_daemon_action state.

Semi-fix: (1) wait for the orch status to change, and then (2)
wait a few more seconds after that.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-29 10:24:20 -06:00
Sebastian Wagner
6e457b2978
Merge pull request #44100 from adk3798/infer-config-fix
cephadm: only infer conf from mon if fsid matches

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-29 17:03:22 +01:00
Sebastian Wagner
e38f4891e8
Merge pull request #44101 from adk3798/agent-down-multiplier
mgr/cephadm: agent: allow agent down multiplier to be configured

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-29 15:35:32 +01:00