Commit Graph

128283 Commits

Author SHA1 Message Date
Samuel Just
c32300258d crimson/os/seastore: initialize logical pins before exposing to cache
Otherwise, another task may get a reference to the extent before
we've set the pin.

Fixes: https://tracker.ceph.com/issues/53267
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-12-07 07:13:59 +00:00
Samuel Just
e6372cecc8 cirmson/os/seastore/cache: clarify log message, may not be cached
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-12-01 22:19:52 -08:00
Sage Weil
b23a5eb030 Merge PR #44125 into master
* refs/pull/44125/head:
	qa/suites/rados/thrash-old-clients: use better-support cephadm distro/podman

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 17:18:06 -05:00
Neha Ojha
cf829d02b2
Merge pull request #44161 from neha-ojha/wip-fix-upgrades
qa/suites/upgrade/octopus-x: bunch of fixes and cleanup

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2021-12-01 10:51:14 -08:00
Sebastian Wagner
4898706a71
Merge pull request #43149 from sebastian-philipp/cephadm-force-last-admin
mgr/cephadm: Add client.admin keyring when upgrading from older version 

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@newdream.net>
2021-12-01 18:04:44 +01:00
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
Neha Ojha
80041e5eba qa/*/octopus-x/stress-split-erasure-code-no-cephadm: set quincy flags
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:46:21 +00:00
Neha Ojha
6ad7a8a597 qa/suites/upgrade/octopus-x/stress-split-no-cephadm: remove msgr2
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
df67040a4c qa: test upgrades with hybrid allocator
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
3b15a04455 qa: rename octopus install correctly
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
ed4bb05bd9 qa: remove leftovers from nautilus
pglog_hardlimit and msgr2

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
8ad9aa7fde qa/suites/upgrade/octopus-x/stress-split-no-cephadm: set quincy flags
not pacific

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:43:46 +00:00
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
Sage Weil
b430fd538f qa/suites/rados/thrash-old-clients: use better-support cephadm distro/podman
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-30 10:47:53 -06: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