Matt Benjamin
af11694ad1
rgwlc: optimize single-bucket lifecycle processing
...
Looks up the shard index of the corresponding bucket, and only
buckets in the corresponding shard are considered for processing.
This has a side effect of matching buckets by id, and also adds
support for --tenant.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2021-12-01 14:25:20 -05:00
Guillaume Abrioux
f072f81f9e
cephadm: pass CEPH_VOLUME_SKIP_RESTORECON=yes
...
In containerized deployments, ceph-volume shouldn't try to make any call
to restorecon.
Fixes: https://tracker.ceph.com/issues/53397
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-12-01 20:11:35 +01: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
Matan Breizman
7324abbe01
doc/dev: Running workunits locally
...
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2021-12-01 12:54:25 +00: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
Omri Zeneva
0d96982679
common/tracer: remove unnecessary opentelemetry includes
...
Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2021-12-01 12:17:08 +02:00
Omri Zeneva
317b1cfd5d
rgw: get attrs in AbortMultipart only if tracing is enabled
...
Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2021-12-01 12:16:06 +02:00
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
Jianpeng Ma
86223d039b
librbd/cache/pwl: it should in apply_metadata set discard_granularity for pwl cache.
...
Function apply_meta can overwrite discard_granularity_bytes
based on option.
Fixes:https://tracker.ceph.com/issues/53434
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2021-12-01 16:58:25 +08:00
Sebastian Wagner
1c40ca1e37
python-common/tests: Remove filstore tests in test_disk_selector.py
...
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:57:32 +01:00
Sebastian Wagner
3f38583b71
python-common: Don't valiate ServiceSpec.from_json() in orch ls
...
unfortunately `ceph orch ls` may return invalid OSD specs for
OSDs not associated to and specs.
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:57:31 +01:00
Sebastian Wagner
7c6d922dea
python-common: HostSpec: add validate()
...
Adjust HostSpec interface to ServiceSpec
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:57:31 +01:00
Sebastian Wagner
311860412e
python-common: DriveGroupSpec: move pacement validation to validate()
...
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:57:29 +01:00
Sebastian Wagner
8b567e132d
pyhton-common: DriveGroupSpec: Allow unnamed OSD specs
...
Cause it never actually worked as expected.
Remove duplicated service_id check, cause it's already
verified by parent method.
Fixes: https://tracker.ceph.com/issues/46253
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:56:57 +01:00
Sebastian Wagner
74f29b97ea
python-common: Improve DriveSelection error messages
...
Fixes: https://tracker.ceph.com/issues/50685
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:55:35 +01:00
Sebastian Wagner
4142c52d74
python-common: OSD specs: Improve quality of error messages
...
Fixes: https://tracker.ceph.com/issues/47401
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:55:32 +01:00
Sebastian Wagner
b91f81801a
python-common: Remove duplicated DriveGroupSpec.__repr__ and __eq__
...
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:53:12 +01:00
Sebastian Wagner
38b52f715f
mgr/orch: re-raise to make debugging easier
...
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:53:08 +01:00
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
Melissa Li
4dab62bfff
mgr/cephadm: support bootstrap with non-root ssh-user
...
Sets tmp_path to /tmp and gives permissions to non-root ssh-user to fix "scp: permission denied"
Fixes: https://tracker.ceph.com/issues/53335
Signed-off-by: Melissa Li <melissali@redhat.com>
2021-12-01 02:52:51 -05: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
d9c7998323
qa: wait for purge queue operations to finish
...
TestFragmentation.test_deep_split relies on `num_strays`
to reach zero expecting that the purge threads would
have deleted the directory entries. However, checking
`num_strays` cannot be relied on since PurqeQueue merely
journals the purge item (see PurgeQueue::push) followed
by the StrayManager marking the stray as removed thereby
accounting `num_strays`.
So, add an additional condition to check if the purge
threads have finished processing items.
Fixes: http://tracker.ceph.com/issues/52487
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:45:41 +05:30
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
Sage Weil
3b2a11249a
mgr: limit changes to pg_num
...
We need to avoid making drastic changes to pg_num that outpace pgp_num or
else we will may hit the per-osd pg limits.
Fixes: https://tracker.ceph.com/issues/53442
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-30 19:24:38 -05: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