]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
neeraj pratap singh [Mon, 5 Aug 2024 19:50:35 +0000 (01:20 +0530)]
doc: documenting the feature that scrub clear the entries from damage table on repair
Fixes: https://tracker.ceph.com/issues/67337
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
140e77638dc95fefcf62f01fe7e45bc0729439be )
Adam King [Wed, 7 Aug 2024 13:22:07 +0000 (09:22 -0400)]
Merge pull request #58760 from adk3798/wip-66790-quincy
quincy: cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 7 Aug 2024 13:21:29 +0000 (09:21 -0400)]
Merge pull request #58759 from adk3798/wip-65967-quincy
quincy: mgr/cephadm: make setting --cgroups=split configurable for adopted daemons
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 7 Aug 2024 13:20:49 +0000 (09:20 -0400)]
Merge pull request #58757 from adk3798/wip-65950-quincy
quincy: mgr/cephadm: cleanup iscsi keyring upon daemon removal
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 7 Aug 2024 13:19:23 +0000 (09:19 -0400)]
Merge pull request #58755 from adk3798/wip-65419-quincy
quincy: cephadm: fix host-maintenance command always exiting with a failure
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 7 Aug 2024 13:18:31 +0000 (09:18 -0400)]
Merge pull request #58754 from adk3798/wip-65380-quincy
quincy: mgr/cephadm: make client-keyring deploying ceph.conf optional
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 7 Aug 2024 13:13:46 +0000 (09:13 -0400)]
Merge pull request #56930 from adk3798/wip-65513-quincy
quincy: mgr/dashboard: fix duplicate grafana panels when on mgr failover
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Xiubo Li [Wed, 7 Aug 2024 11:52:00 +0000 (19:52 +0800)]
Merge pull request #56837 from rishabh-d-dave/wip-65441-quincy
quincy: qa/cephfs: CephFSTestCase.create_client() must keyring
Rishabh Dave [Wed, 7 Aug 2024 11:20:57 +0000 (16:50 +0530)]
Merge pull request #56753 from dparmar18/quincy-backport-fix-test-cluster-enonent
quincy: qa/test_nfs: fix test failure when cluster does not exist
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Wed, 7 Aug 2024 11:15:38 +0000 (16:45 +0530)]
Merge pull request #57445 from mchangir/wip-65900-quincy
quincy: mgr/snap_schedule: restore yearly spec to lowercase y
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Igor Fedotov [Wed, 7 Aug 2024 10:18:09 +0000 (13:18 +0300)]
Merge pull request #58818 from Svelar/wip-67136-quincy
quincy: bluestore/bluestore_types: avoid heap-buffer-overflow in another way to keep code uniformity
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Igor Fedotov [Wed, 7 Aug 2024 10:17:04 +0000 (13:17 +0300)]
Merge pull request #57404 from k0ste/wip-65914-quincy
quincy: kv/RocksDBStore: Configure compact-on-deletion for all CFs
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Igor Fedotov [Wed, 7 Aug 2024 10:16:21 +0000 (13:16 +0300)]
Merge pull request #57196 from k0ste/wip-64592-quincy
quincy: os/bluestore: fix the problem of l_bluefs_log_compactions double recording
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Anthony D'Atri [Wed, 7 Aug 2024 00:15:46 +0000 (20:15 -0400)]
Merge pull request #59064 from zdover23/wip-doc-2024-08-07-backport-59060-to-quincy
quincy: doc/dev/peering: Change acting set num
qn2060 [Tue, 6 Aug 2024 16:40:42 +0000 (00:40 +0800)]
doc/dev/peering: Change acting set num
This commit updates the peering doc page with the changed [2,1,2] to [3,1,2]
Signed-off-by: qn2060 <qn2060@users.noreply.github.com>
(cherry picked from commit
103d65ea6787ab16d1824f71578264e0abb9820c )
Shilpa Jagannath [Tue, 6 Aug 2024 20:24:14 +0000 (13:24 -0700)]
Merge pull request #50538 from k0ste/wip-55502-quincy
quincy: rgw: address crash and race in RGWIndexCompletionManager
Shilpa Jagannath [Tue, 6 Aug 2024 20:23:51 +0000 (13:23 -0700)]
Merge pull request #55357 from cbodley/wip-64227-quincy
quincy: rgw/rest: fix url decode of post params for iam/sts/sns
Shilpa Jagannath [Tue, 6 Aug 2024 20:23:00 +0000 (13:23 -0700)]
Merge pull request #58313 from cbodley/wip-66711-quincy
quincy: rgw/notifications/test: fix rabbitmq and kafka issues in centos9
Yuri Weinstein [Tue, 6 Aug 2024 15:21:52 +0000 (08:21 -0700)]
Merge pull request #57907 from adamemerson/wip-62292-quincy
quincy: rgw: modify string match_wildcards with fnmatch
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Tue, 6 Aug 2024 15:21:14 +0000 (08:21 -0700)]
Merge pull request #57405 from ivancich/wip-65891-quincy
quincy: rgw: make incomplete multipart upload part of bucket check efficient
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Tue, 6 Aug 2024 15:20:22 +0000 (08:20 -0700)]
Merge pull request #56119 from mkogan1/wip-64767-quincy
quincy: rgw/beast: Enable SSL session-id reuse speedup mechanism
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Tue, 6 Aug 2024 15:03:21 +0000 (08:03 -0700)]
Merge pull request #51806 from soumyakoduri/wip-skoduri-quincy
[quincy] RGW backports
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Yuri Weinstein [Tue, 6 Aug 2024 15:01:24 +0000 (08:01 -0700)]
Merge pull request #51797 from yuvalif/wip-61478-quincy
quincy: rgw/kafka: remove potential race condition between creation and deletion of endpoint
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Anthony D'Atri [Tue, 6 Aug 2024 03:19:26 +0000 (23:19 -0400)]
Merge pull request #59033 from zdover23/wip-doc-2024-08-05-backport-57905-to-quincy
quincy: doc/mgr/dashboard: fix TLS typo
Mindy Preston [Wed, 5 Jun 2024 16:58:35 +0000 (11:58 -0500)]
doc/mgr/dashboard: fix TLS typo
Change "SSL/TSL" to "SSL/TLS"
Signed-off-by: Mindy Preston <mcpreston@icecube.wisc.edu>
(cherry picked from commit
e63b967aeb00a667ab5c91b9b526c7a19a9539ec )
Anthony D'Atri [Sun, 4 Aug 2024 13:33:50 +0000 (09:33 -0400)]
Merge pull request #59009 from zdover23/wip-doc-2024-08-04-backport-59006-to-quincy
quincy: doc/glossary: add "ceph-ansible"
Zac Dover [Fri, 2 Aug 2024 20:51:32 +0000 (06:51 +1000)]
doc/glossary: add "ceph-ansible"
Add a "ceph-ansible" entry to the glossary.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
484e9d2b9d81b6de498ac08125c9a458730dd444 )
Ilya Dryomov [Thu, 1 Aug 2024 17:56:39 +0000 (19:56 +0200)]
Merge pull request #58852 from idryomov/wip-67051-quincy
quincy: qa/workunits/rbd: avoid caching effects in luks-encryption.sh
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Thu, 1 Aug 2024 12:50:17 +0000 (05:50 -0700)]
Merge pull request #58565 from idryomov/wip-rbd-c9-on-quincy
quincy: centos 9 related backports for RBD
Reviewed-by: Ramana Raja <rraja@redhat.com>
Yuri Weinstein [Thu, 1 Aug 2024 12:49:31 +0000 (05:49 -0700)]
Merge pull request #58208 from idryomov/wip-66300-quincy
quincy: librbd: disallow group snap rollback if memberships don't match
Reviewed-by: Ramana Raja <rraja@redhat.com>
Anthony D'Atri [Thu, 1 Aug 2024 12:17:33 +0000 (08:17 -0400)]
Merge pull request #58979 from zdover23/wip-doc-2024-08-01-backport-58899-to-quincy
quincy: doc/glossary: add "Prometheus"
Anthony D'Atri [Thu, 1 Aug 2024 12:04:17 +0000 (08:04 -0400)]
Merge pull request #58975 from zdover23/wip-doc-2024-08-01-backport-58972-to-quincy
quincy: doc: Improve doc/radosgw/placement.rst
Zac Dover [Mon, 29 Jul 2024 10:19:02 +0000 (20:19 +1000)]
doc/glossary: add "Prometheus"
Add a glossary entry for "Prometheus".
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1a76464999cb2d2cc748d69e1bb0567544a0bb8b )
Anthony D'Atri [Wed, 31 Jul 2024 22:41:53 +0000 (18:41 -0400)]
doc: Improve doc/radosgw/placement.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
5890a156524b8d1fe3a51ea1c76d800e5903a01c )
Anthony D'Atri [Wed, 31 Jul 2024 01:49:12 +0000 (21:49 -0400)]
Merge pull request #58949 from zdover23/wip-doc-2024-07-31-backport-58946-to-quincy
quincy: doc/rados/operations: remove vanity cluster name reference from crush…
Anthony D'Atri [Wed, 31 Jul 2024 00:45:11 +0000 (20:45 -0400)]
doc/rados/operations: remove vanity cluster name reference from crush-map.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
62562ec65e3c1cc040a57ab77fc219e0aad25651 )
Anthony D'Atri [Wed, 31 Jul 2024 00:50:35 +0000 (20:50 -0400)]
Merge pull request #58942 from zdover23/wip-doc-2024-07-31-backport-58922-to-quincy
quincy: doc/cephadm: edit "Using Custom Images"
Anthony D'Atri [Wed, 31 Jul 2024 00:48:42 +0000 (20:48 -0400)]
Merge pull request #58945 from zdover23/wip-doc-2024-07-31-backport-58908-to-quincy
quincy: doc/glossary: add "ceph-fuse" entry
Anthony D'Atri [Wed, 31 Jul 2024 00:39:02 +0000 (20:39 -0400)]
Merge pull request #58939 from zdover23/wip-doc-2024-07-31-backport-58918-to-quincy
quincy: doc/dev: improve basic-workflow.rst
Zac Dover [Mon, 29 Jul 2024 15:50:13 +0000 (01:50 +1000)]
doc/glossary: add "ceph-fuse" entry
Add a "ceph-fuse" entry to the glossary.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d1c049d24befedc396221dafcc66db8c40acf5ab )
Zac Dover [Tue, 30 Jul 2024 07:33:55 +0000 (17:33 +1000)]
doc/cephadm: edit "Using Custom Images"
Edit the section "Using Custom Images" in
doc/cephadm/services/monitoring.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e99fc5c82fd698c222a489a1ebc26c8fcbca321d )
Zac Dover [Tue, 30 Jul 2024 06:07:04 +0000 (16:07 +1000)]
doc/dev: improve basic-workflow.rst
Make various improvements to doc/dev/developer_guide/basic-workflow.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
b81d6af1b488cdb87143e13da519d70c3a090679 )
Casey Bodley [Tue, 30 Jul 2024 20:30:42 +0000 (21:30 +0100)]
Merge pull request #58601 from cbodley/wip-qa-rgw-quincy-centos9
quincy: qa/rgw: adapt tests to centos 9
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Adam King [Mon, 29 Jul 2024 17:21:25 +0000 (13:21 -0400)]
Merge pull request #58758 from adk3798/wip-65957-quincy
quincy: mgr/cephadm: Fix unfound progress events
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Mon, 29 Jul 2024 17:09:35 +0000 (13:09 -0400)]
Merge pull request #56492 from adk3798/wip-64992-quincy
quincy: mgr/cephadm: refresh public_network for config checks before checking
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Mon, 29 Jul 2024 17:06:38 +0000 (13:06 -0400)]
Merge pull request #56322 from adk3798/wip-64843-quincy
quincy: ceph-volume: Use safe accessor to get TYPE info
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Mon, 29 Jul 2024 17:05:15 +0000 (13:05 -0400)]
Merge pull request #56222 from adk3798/quincy-regex-host-pattern
quincy: mgr/cephadm: support for regex based host patterns
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Anthony D'Atri [Mon, 29 Jul 2024 14:25:46 +0000 (10:25 -0400)]
Merge pull request #58903 from zdover23/wip-doc-2024-07-29-backport-58554-to-quincy
quincy: docs: removed centos 8 and added squid to the build matrix
Mark Kogan [Mon, 21 Aug 2023 17:49:28 +0000 (17:49 +0000)]
valgrind: UninitCondition under __run_exit_handlers suppression
reqiered in CentOS / RHEL 9 & Ubuntu 22.04.1 LTS
Fixes: https://tracker.ceph.com/issues/62141
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit
03616b4330080cadf20be440d92e33ca90de254a )
Yuri Weinstein [Fri, 12 Jul 2024 13:42:02 +0000 (06:42 -0700)]
docs: removed centos 8 and added squid to the build matrix
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit
8761bbe16c2a6d19e136254c26d1d67ebe839e3b )
Anthony D'Atri [Sun, 28 Jul 2024 14:13:05 +0000 (10:13 -0400)]
Merge pull request #58894 from zdover23/wip-doc-2024-07-28-backport-58884-to-quincy
doc/cephfs: fix "OSD capabilities" link
Zac Dover [Sun, 28 Jul 2024 07:27:53 +0000 (17:27 +1000)]
doc/cephfs: fix "OSD capabilities" link
Fix a broken link from the "OSD capabilites" reference on
doc/cephfs/client-auth.rst.
Fixes: https://tracker.ceph.com/issues/67218
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
74b03a8cb2f196171b10d8cbde27324240649e70 )
Ilya Dryomov [Sat, 27 Jul 2024 15:29:02 +0000 (17:29 +0200)]
Merge pull request #58855 from idryomov/wip-67097-quincy
quincy: qa/suites/krbd: stress test for recovering from watch errors for -o exclusive
Reviewed-by: Ramana Raja <rraja@redhat.com>
Anthony D'Atri [Sat, 27 Jul 2024 01:11:40 +0000 (21:11 -0400)]
Merge pull request #58877 from zdover23/wip-doc-2024-07-27-backport-58867-to-quincy
quincy: doc/cephfs: fix "file layouts" link
Adam King [Fri, 26 Jul 2024 17:55:52 +0000 (13:55 -0400)]
Merge pull request #58627 from adk3798/wip-66412-quincy
quincy: mgr/prometheus: s/pkg_resources.packaging/packaging/
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Casey Bodley [Fri, 26 Jul 2024 15:57:49 +0000 (11:57 -0400)]
qa/rgw: remove ragweed from all suites
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Thu, 3 Aug 2023 16:45:01 +0000 (12:45 -0400)]
qa: pin rgw/crypt suite temporarily to ubuntu_latest
barbican tests are only passing on ubunutu latest,
this commit allows us to have a green crypt suite.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit
863f8d789dbb02d70cbdf78790c63802cdd0f24d )
Conflicts:
ubuntu_latest.yaml: no qa/distros/all/ubuntu_latest.yaml, used
ubuntu_20.04.yaml
Ali Maredia [Thu, 3 Aug 2023 16:39:12 +0000 (12:39 -0400)]
qa: change admin_host to admin_url in barbican.py
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit
43069394c542f252e66453497cca8f195336d3f4 )
Ali Maredia [Mon, 17 Jul 2023 20:34:14 +0000 (16:34 -0400)]
qa: bump keystone version in barbican.yaml
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit
fc12be0fcfabf3ae0040532ad06d91fcb7a94d55 )
Ali Maredia [Tue, 13 Jun 2023 17:21:14 +0000 (13:21 -0400)]
qa: rgw/tempest suite only runs on ubuntu latest
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit
703effd45bf2c5d7cf8982e07e954a5f2cbb1902 )
Tobias Urdin [Fri, 31 Mar 2023 07:10:20 +0000 (07:10 +0000)]
qa: update rgw openstack versions
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit
fffa119424bad6e5c6b5ed436978d4319dd54a6b )
Casey Bodley [Mon, 21 Aug 2023 19:43:04 +0000 (15:43 -0400)]
qa/rgw: add new POOL_APP_NOT_ENABLED failures to log-ignorelist
Fixes: https://tracker.ceph.com/issues/62504
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
4293d9bf117592a743ec70098cfb2bc1a9d38967 )
Conflicts: git got confused about these; unchanged in original commit
qa/suites/rbd/device/ignore-pg-availability.yaml
qa/suites/upgrade/octopus-x/ignore-pg-availability.yaml
qa/suites/rgw/dbstore/ignore-pg-availability.yaml depended on
missing .qa symlink
Yuval Lifshitz [Sun, 15 Oct 2023 15:54:07 +0000 (15:54 +0000)]
rgw/notifications/test: install java for kafka build
also use kafka binaries insted of building from source
Fixes: https://tracker.ceph.com/issues/63205
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit
2ab7c16737dbf97402907db74d7432a056f2fa97 )
Yuval Lifshitz [Sun, 15 Oct 2023 11:31:54 +0000 (11:31 +0000)]
rgw/notifications/test: use dnf and systemctl to setup rabbitmq
Fixes: https://tracker.ceph.com/issues/63205
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit
1ffe4aca2a870600d2946e9432740848600a8ac4 )
Casey Bodley [Fri, 22 Sep 2023 21:37:33 +0000 (17:37 -0400)]
qa/rgw/sts: keycloak task installs java manually
java had already been installed automatically before centos 9. add an
override to install the jdk-17 packages manually
Fixes: https://tracker.ceph.com/issues/62536
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
06f6a3e6e8ad65e75d640a128338ffa9dc246f4a )
Conflicts:
qa/suites/rgw/sts/tasks/1-keycloak.yaml moved from first.yaml
Casey Bodley [Wed, 20 Sep 2023 15:11:37 +0000 (11:11 -0400)]
qa/rgw/notifications: pin to centos_latest
the subsuite had a supported-all-distro$/ subdirectory, but that only
contained centos_8.yaml. qa/tasks/rabbitmq.py is hardcoded to use 'yum'
and rpm packages, so replace supported-all-distro$ with a link to
centos_latest.yaml
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
2d9348ad564f9199ae58062c1d12b7020cba0790 )
Zac Dover [Fri, 26 Jul 2024 07:15:12 +0000 (17:15 +1000)]
doc/cephfs: fix "file layouts" link
Fix a broken link to the "File Layouts" page on
doc/cephfs/client-auth.rst.
Fixes: https://tracker.ceph.com/issues/67190
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
6bb5ce94c6a2cbfdf978a66d00f428ad4cd4c312 )
Anthony D'Atri [Fri, 26 Jul 2024 00:36:36 +0000 (20:36 -0400)]
Merge pull request #58865 from zdover23/wip-doc-2024-07-26-backport-58838-to-quincy
quincy: doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks
Ilya Dryomov [Thu, 25 Jul 2024 07:48:10 +0000 (09:48 +0200)]
doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks
This is due to both using the same name for the lock at the RADOS level
("rbd_lock").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
2e83b77c9f610f42765266ff4d4d7bc2a635eac8 )
Ilya Dryomov [Wed, 24 Jul 2024 06:47:51 +0000 (08:47 +0200)]
qa/suites/krbd: override extra_system_packages directly on install task
Follow commit
c61cb16223fa ("qa/suites/rbd: override
extra_system_packages directly on install task").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
2a9f92f23472dfcb1cb0fabc8572a28e6e5dd91a )
Ilya Dryomov [Wed, 24 Jul 2024 06:44:46 +0000 (08:44 +0200)]
qa/suites/krbd: stress test for recovering from watch errors for -o exclusive
This is based on a test added in commit
237aa221ebad ("qa/suites/krbd:
stress test for recovering from watch errors") for regular mappings.
Fixes: https://tracker.ceph.com/issues/67097
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
8fee41da8b8cd250bbbd8490604193c0864c1295 )
Ilya Dryomov [Fri, 19 Jul 2024 17:35:28 +0000 (19:35 +0200)]
qa/workunits/rbd: avoid caching effects in luks-encryption.sh
Commit
40f6f5224bce ("qa/workunits/rbd: fix issues in
luks-encryption.sh") did the right thing for reads, which solved
most of the issue. However, it actually made a step in the opposite
direction for writes -- depending on the RBD cache settings, rbd-nbd
virtual devices can behave as physical devices with a volatile write
cache, so fsync is required.
While at it, involving O_DIRECT for reads isn't needed outside of
test_encryption_format().
Fixes: https://tracker.ceph.com/issues/67051
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
9e1c0342e9931e898d795d47f923edd3b4324f4a )
Conflicts:
qa/workunits/rbd/luks-encryption.sh [ commit
1d3de19c4005
("tools/rbd: add encryption format support for cloned image")
not in quincy ]
Or Ozeri [Tue, 7 Jun 2022 07:44:21 +0000 (10:44 +0300)]
qa/workunits/rbd: fix issues in luks-encryption.sh
This commit fixes 2 issues in luks-encryption.sh:
1. Fix sporadic comparison failures due to stale data read from kernel buffer cache.
2. Fix test skipping condition (when journaling is enabled)
Additionally, sudo is removed from most commands.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
(cherry picked from commit
40f6f5224bce0df7b1cf987a06a164340477c3d2 )
Adam King [Thu, 25 Jul 2024 12:24:29 +0000 (08:24 -0400)]
Merge pull request #56231 from adk3798/quincy-docs-typo-replace-osd
quincy: doc: cephadm/services/osd: fix typo
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
Rongqi Sun [Wed, 17 Apr 2024 03:03:43 +0000 (03:03 +0000)]
bluestore/bluestore_types: avoid heap-buffer-overflow in another way to keep code uniformity
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit
8564caf393a8fe6ef1bb1741a399ab264397648c )
Anthony D'Atri [Wed, 24 Jul 2024 22:28:58 +0000 (18:28 -0400)]
Merge pull request #58776 from zdover23/wip-doc-2024-07-24-backport-58524-to-quincy
quincy: doc/cephfs: streamline a paragraph
J. Eric Ivancich [Tue, 12 Apr 2022 18:47:45 +0000 (14:47 -0400)]
rgw: address crash and race in RGWIndexCompletionManager
An atomic int was used in a modulo operator to distribute contention
among a set of locks and to track completions. Because it was an int,
enough increments would cause it to go negative (due to
twos-complement encoding and overflow) thereby causing a
crash. Additionally, even though it was atomic, the read and increment
were separate operations, leading to a race.
This commit addresses both of these issues.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
41f4e83cf5c1c89cd2aa22658716239c4197db0e )
Zac Dover [Wed, 10 Jul 2024 23:15:38 +0000 (09:15 +1000)]
doc/cephfs: streamline a paragraph
Streamline a paragraph in doc/cephfs/index.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
820f8ead8919483df37c751400bd6842d4c1bd92 )
Dan van der Ster [Tue, 11 Jun 2024 20:31:05 +0000 (13:31 -0700)]
cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6
While bootstrapping an ipv6 cluster with an ipv6 initial mon, cephadm correctly enables ms_bind_ipv6=true.
However it leaves ms_bind_ipv4 as it's default (true).
As a result, daemons (osd, mds, ...) will attempt to bind to both ipv6 and ipv4.
Usually this results in an osdmap and fsmap like the following:
```
osd.2 up in weight 1 up_from 26 up_thru 909 down_at 0 last_clean_interval [0,0) [v2:[xxxx:4f8:d0:4401:3::29]:6800/
3680761436 ,v1:[xxxx:4f8:d0:4401:3::29]:6801/
3680761436 ,v2:0.0.0.0:6802/
3680761436 ,v1:0.0.0.0:6803/
3680761436 ] [v2:[xxxx:4f8:d0:4401:3::29]:6804/
3680761436 ,v1:[xxxx:4f8:d0:4401:3::29]:6805/
3680761436 ,v2:0.0.0.0:6806/
3680761436 ,v1:0.0.0.0:6807/
3680761436 ] exists,up
0978a571 -cd00-4eba-b00b-
f863603a9a70
```
```
[mds.cephfs.ceph-test-3.isityv{-1:793154} state up:standby seq 1 join_fscid=1 addr [v2:[xxxx:4f8:d0:4401:3::29]:6832/
2213688825 ,v1:[xxxx:4f8:d0:4401:3::29]:6833/
2213688825 ,v2:0.0.0.0:6834/
2213688825 ,v1:0.0.0.0:6835/
2213688825 ] compat {c=[1],r=[1],i=[7ff]}]
```
Dual stack is not support by kernels (https://tracker.ceph.com/issues/49581) which leads to hard to debug issues for the end users. (corrupt map messages in dmesg).
Fix by disabling ms_bind_ipv4 in the case ipv6 is desired.
Fixes: https://tracker.ceph.com/issues/66436
Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
(cherry picked from commit
75f0ba5703200f4420a4b53d1c728167daf19909 )
Conflicts:
src/cephadm/cephadm.py
Gilad Sid [Wed, 1 May 2024 14:55:41 +0000 (17:55 +0300)]
cephadm: Adding support to pass --no-cgroups-split flag when adopting legacy daemons
Signed-off-by: Gilad Sid <sid.gilad@gmail.com>
(cherry picked from commit
20ffd4d6e330095c8cf2816a36f61bd950e213a5 )
Conflicts:
src/cephadm/cephadm.py
Prashant D [Fri, 3 May 2024 23:32:32 +0000 (19:32 -0400)]
mgr/cephadm: Fix unfound progress events
While applying service specs, cephadm creates a progress event for
the daemons to be added or deleted from the hosts. The progress
event is initialized if progress_total is greater than 0
but at the end cephadm tries to mark the progress event as
complete/fail even though progress event has not been initialized.
Mark progress events as complete/fail only if they are initialized.
Fixes: https://tracker.ceph.com/issues/65799
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit
cfcdfd6ae2e0580450cc857123ca35e0d4d2ebea )
Adam King [Tue, 30 Apr 2024 17:49:16 +0000 (13:49 -0400)]
mgr/cephadm: clean up iscsi auth keyring when removing daemon
The parent class (CephService) handles the cleanup of
the auth keyring
Fixes: https://tracker.ceph.com/issues/65717
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
f7e8ee74d5bfb941a5f67d0e03c3845f5cdb1525 )
John Mulligan [Wed, 27 Mar 2024 22:45:15 +0000 (18:45 -0400)]
cephadm: fix host-maintenance command always exiting with a failure
The host-maintenance command would always fail because
command_maintenance always returns a string. This string is passed to
sys.exit and thus always gets printed and causes a non-zero exit code.
Fix the command line behavior by renaming the original function and
adding a new command_maintenance that prints the string and returns an
int like other command_* functions do.
Fixes: https://tracker.ceph.com/issues/65122
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
0a137b140e47d02b03d133adb55e62aa0de7b984 )
Conflicts:
src/cephadm/cephadm.py
src/cephadm/tests/test_cephadm.py
Adam King [Thu, 4 Apr 2024 19:05:34 +0000 (15:05 -0400)]
doc/cephadm: document new --no-ceph-conf flag for `orch client-keyring set`
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
2741d9471c959f07f9b55c52114ea9d71916345e )
Adam King [Thu, 4 Apr 2024 18:11:11 +0000 (14:11 -0400)]
mgr/cephadm: make client-keyring deploying ceph.conf optional
There are cases where users would like to manage their own
ceph.conf but still have cephadm deploy the client keyrings,
so this is being added to facilitate that.
Fixes: https://tracker.ceph.com/issues/65335
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
0dab95eb4fffb493edc3e542a6613bdb5332a670 )
Adam King [Thu, 4 Apr 2024 16:28:45 +0000 (12:28 -0400)]
mgr/cephadm: rename ceph_admin_key -> client_key in _calc_client_files
I think this variable name is misleading, as we use this same
logic for all client-keyrings that can be setup, not just
the client.admin keyring
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
9e2327f0c5f0c103e2db8c7d86ceddd177179df9 )
Anthony D'Atri [Mon, 22 Jul 2024 20:15:36 +0000 (16:15 -0400)]
Merge pull request #58731 from zdover23/wip-doc-2024-07-23-backport-58725-to-quincy
quincy: doc/dev_guide: add needs-upgrade-testing label info
Anthony D'Atri [Mon, 22 Jul 2024 20:12:17 +0000 (16:12 -0400)]
Merge pull request #58739 from zdover23/wip-doc-2024-07-23-backport-58600-to-quincy
quincy: doc/dev: add formatting to basic workflow
Zac Dover [Mon, 15 Jul 2024 16:03:37 +0000 (02:03 +1000)]
doc/dev: add formatting to basic workflow
Add some formatting to a few sections near the end of
doc/dev/developer_guide_basic-workflow.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
4c4063a09759dc3412d89ecafb9ac55a55e6bc01 )
Zac Dover [Mon, 22 Jul 2024 15:36:53 +0000 (01:36 +1000)]
doc/dev_guide: add needs-upgrade-testing label info
Add an explanation of the "needs-upgrade-testing" label and explain when
to use it.
Laura is the true author of this text.
Co-authored-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
02d5a6a3371c9fa52a32124cf07da16b89a11e27 )
Zac Dover [Mon, 22 Jul 2024 15:45:53 +0000 (01:45 +1000)]
Merge pull request #58637 from zdover23/wip-doc-2024-07-16-backport-57685-to-quincy
quincy: cephadm: use importlib.metadata for querying ceph_iscsi's version
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Mon, 22 Jul 2024 15:27:26 +0000 (11:27 -0400)]
pybind/mgr/mgr_util: convert certs to bytes before loading them
This function expects to be passed bytes rather than a string.
Mypy complains about failing to do this conversion
mgr_util.py: note: In function "verify_cacrt_content":
mgr_util.py:547: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
mgr_util.py: note: In function "verify_tls":
mgr_util.py:584: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
Signed-off-by: Adam King <adking@redhat.com>
Anthony D'Atri [Sat, 20 Jul 2024 19:13:21 +0000 (15:13 -0400)]
Merge pull request #58698 from zdover23/wip-doc-2024-07-21-backport-58695-to-quincy
quincy: doc: Amend dev mailing list subscribe instructions.
Paulo E. Castro [Sat, 20 Jul 2024 16:32:17 +0000 (17:32 +0100)]
doc: Amend dev mailing list subscribe instructions.
Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
(cherry picked from commit
3b0360bc2ea1e0b5f7a7c6b04ade483f77e4b5c6 )
Anthony D'Atri [Fri, 19 Jul 2024 17:50:19 +0000 (13:50 -0400)]
Merge pull request #58682 from zdover23/wip-doc-2024-07-20-backport-58678-to-quincy
quincy: doc/cephadm/upgrade: ceph-ci containers are hosted by quay.ceph.io
Anthony D'Atri [Fri, 19 Jul 2024 17:44:31 +0000 (13:44 -0400)]
Merge pull request #58685 from zdover23/wip-doc-2024-07-20-backport-58671-to-quincy
quincy: doc/start: update mailing list links
Zac Dover [Fri, 19 Jul 2024 06:44:44 +0000 (16:44 +1000)]
doc/start: update mailing list links
Update the User and Dev mailing list subscription links. This commit is
made in response to a request from Dan van der Ster.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a242fe3d940d5764cd766dba8e42449501986765 )
Casey Bodley [Fri, 19 Jul 2024 14:10:38 +0000 (10:10 -0400)]
doc/cephadm/upgrade: ceph-ci containers are hosted by quay.ceph.io
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
9c77963300fee804f249d512c980cdeac06f14f7 )
Laura Flores [Thu, 18 Jul 2024 18:20:37 +0000 (13:20 -0500)]
Merge pull request #58520 from ljflores/wip-add-c9-rados-quincy
quincy: qa/distros: replace centos 8 references with centos 9 in the rados suite
Zac Dover [Thu, 18 Jul 2024 00:39:50 +0000 (10:39 +1000)]
Merge pull request #58616 from zdover23/wip-doc-2024-07-16-backport-58596-to-quincy
quincy: doc: clarify superuser note for ceph-fuse
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>