]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agotest: ceph daemon command with asok path 61481/head
Nitzan Mordechai [Wed, 1 May 2024 13:08:03 +0000 (13:08 +0000)]
test: ceph daemon command with asok path

pg-split-merge using ceph daemon command to check merge.
but it doesn't use asok path, which causes the check not to
return the correct output. change the command to use asok path.

Fixes: https://tracker.ceph.com/issues/65737
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit a76bf0de58547961d5fbc6d644005a3a5506d443)

5 months agoMerge pull request #61360 from zdover23/wip-doc-2025-01-14-backport-61352-to-reef
Zac Dover [Wed, 22 Jan 2025 12:02:02 +0000 (22:02 +1000)]
Merge pull request #61360 from zdover23/wip-doc-2025-01-14-backport-61352-to-reef

reef: doc/releases: add actual_eol for quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61059 from zdover23/wip-doc-2024-12-12-backport-61049-to-reef
Zac Dover [Wed, 22 Jan 2025 12:01:34 +0000 (22:01 +1000)]
Merge pull request #61059 from zdover23/wip-doc-2024-12-12-backport-61049-to-reef

reef: doc/cephfs: edit 2nd 3rd of mount-using-kernel-driver

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61460 from zdover23/wip-doc-2025-01-21-backport-61249-to-reef
Anthony D'Atri [Tue, 21 Jan 2025 15:22:17 +0000 (10:22 -0500)]
Merge pull request #61460 from zdover23/wip-doc-2025-01-21-backport-61249-to-reef

reef: doc/cephfs: edit grammar in snapshots.rst

5 months agoMerge pull request #59786 from zdover23/wip-doc-2024-09-14-backport-59732-to-reef
Zac Dover [Tue, 21 Jan 2025 09:44:27 +0000 (19:44 +1000)]
Merge pull request #59786 from zdover23/wip-doc-2024-09-14-backport-59732-to-reef

reef: doc/README.md: improve formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agodoc/cephfs: edit grammar in snapshots.rst 61460/head
Zac Dover [Tue, 7 Jan 2025 06:42:52 +0000 (16:42 +1000)]
doc/cephfs: edit grammar in snapshots.rst

This commit improves the grammar in doc/cephfs/snapshots.rst. The PR
associated with this commit follows from
https://github.com/ceph/ceph/pull/61240, the PR raised by Neeraj Pratap
Singh to introduce information about snapshots into the CephFS
documentation.

See also https://tracker.ceph.com/issues/68974.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 9a34ae55ede6dea5bb784a3e6cd45b9e60d4475d)

5 months agoMerge pull request #61247 from zdover23/wip-doc-2025-01-07-backport-61240-to-reef
Zac Dover [Tue, 21 Jan 2025 05:32:47 +0000 (15:32 +1000)]
Merge pull request #61247 from zdover23/wip-doc-2025-01-07-backport-61240-to-reef

reef: doc: add snapshots in docs under Cephfs concepts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61309 from zdover23/wip-doc-2025-01-10-backport-61243-to-reef
Zac Dover [Tue, 21 Jan 2025 05:23:11 +0000 (15:23 +1000)]
Merge pull request #61309 from zdover23/wip-doc-2025-01-10-backport-61243-to-reef

reef: doc/radosgw/s3: correct eTag op match tables

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 months agoMerge pull request #61332 from zdover23/wip-doc-2025-01-11-backport-60081-to-reef
Anthony D'Atri [Mon, 20 Jan 2025 18:01:09 +0000 (13:01 -0500)]
Merge pull request #61332 from zdover23/wip-doc-2025-01-11-backport-60081-to-reef

reef: src/exporter: improve usage message

5 months agoMerge pull request #61454 from zdover23/wip-doc-2025-01-20-backport-61442-to-reef
Anthony D'Atri [Mon, 20 Jan 2025 16:09:41 +0000 (11:09 -0500)]
Merge pull request #61454 from zdover23/wip-doc-2025-01-20-backport-61442-to-reef

reef: doc/cephfs: edit disaster-recovery-experts (3 of x)

5 months agodoc/cephfs: edit disaster-recovery-experts (3 of x) 61454/head
Zac Dover [Sat, 18 Jan 2025 04:04:14 +0000 (14:04 +1000)]
doc/cephfs: edit disaster-recovery-experts (3 of x)

Edit the fifth and sixth sections of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

The sections edited in this commit are

 - MDS Map Reset
 - Recovery From Mission Metadata Objects

Follows https://github.com/ceph/ceph/pull/61427

https://tracker.ceph.com/issues/69557

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a69c4142b7f99146af690933b3cfe897a64c7c59)

5 months agoMerge pull request #61097 from afreen23/wip-69200-reef
afreen23 [Mon, 20 Jan 2025 09:36:20 +0000 (15:06 +0530)]
Merge pull request #61097 from afreen23/wip-69200-reef

reef: mgr/dashboard: handle infinite values for pools

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agosrc/exporter: improve usage message 61332/head
Anthony D'Atri [Tue, 1 Oct 2024 16:21:56 +0000 (12:21 -0400)]
src/exporter: improve usage message

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 725b4e184798dc38ec60ab81766577b39fd6e488)

5 months agoMerge pull request #61447 from zdover23/wip-doc-2025-01-20-backport-61445-to-reef
Anthony D'Atri [Mon, 20 Jan 2025 02:57:45 +0000 (21:57 -0500)]
Merge pull request #61447 from zdover23/wip-doc-2025-01-20-backport-61445-to-reef

doc/cephfs: disaster-recovery-experts cleanup

5 months agodoc/cephfs: disaster-recovery-experts cleanup 61447/head
Zac Dover [Sun, 19 Jan 2025 12:49:52 +0000 (22:49 +1000)]
doc/cephfs: disaster-recovery-experts cleanup

Properly wrap a poorly-formatted paragraph that looks just awful in an
80-column viewport and change MDS to "MDS daemons" where the latter
makes the sentence a lot clearer.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dceaab9a1a479ea3a10b6eff5bb4ae23d2ad6aa0)

5 months agoMerge pull request #61444 from zdover23/wip-doc-2025-01-19-backport-61427-to-reef
Anthony D'Atri [Sun, 19 Jan 2025 16:02:45 +0000 (11:02 -0500)]
Merge pull request #61444 from zdover23/wip-doc-2025-01-19-backport-61427-to-reef

reef: doc/cephfs: edit disaster-recovery-experts (2 of x)

5 months agodoc/cephfs: edit disaster-recovery-experts (2 of x) 61444/head
Zac Dover [Fri, 17 Jan 2025 12:33:49 +0000 (22:33 +1000)]
doc/cephfs: edit disaster-recovery-experts (2 of x)

Edit the third and fourth sections of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

Follows https://github.com/ceph/ceph/pull/61426

https://tracker.ceph.com/issues/69557

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4f3a69eb919fc0d99cdf943f095ca3a951c82897)

6 months agoMerge pull request #61438 from zdover23/wip-doc-2025-01-18-backport-61272-to-reef
Zac Dover [Sat, 18 Jan 2025 03:44:23 +0000 (13:44 +1000)]
Merge pull request #61438 from zdover23/wip-doc-2025-01-18-backport-61272-to-reef

reef: doc/radosgw/config-ref: fix lc worker thread tuning

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61424 from zdover23/wip-doc-2025-01-17-backport-61411-to-reef
Zac Dover [Sat, 18 Jan 2025 03:42:57 +0000 (13:42 +1000)]
Merge pull request #61424 from zdover23/wip-doc-2025-01-17-backport-61411-to-reef

reef: doc/cephfs: edit disaster-recovery-experts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61402 from zdover23/wip-doc-2025-01-16-backport-61373-to-reef
Zac Dover [Sat, 18 Jan 2025 03:42:28 +0000 (13:42 +1000)]
Merge pull request #61402 from zdover23/wip-doc-2025-01-16-backport-61373-to-reef

reef: AsyncMessenger.cc : improve error messages

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agodoc/radosgw/config-ref: fix lc worker thread tuning 61438/head
Laimis Juzeliƫnas [Wed, 8 Jan 2025 22:05:34 +0000 (00:05 +0200)]
doc/radosgw/config-ref: fix lc worker thread tuning

This commit updates RGW Config Reference - Lifecycle Settings section. In particular it addresses an incorrect suggestion to decrease parallel threads in the workers pool for a more aggressive/accelerated per-bucket lifecycle processing. A more aggressive lifecycle processing for a bucket containing higher number of objects is achieved by increasing, not decreasing parallel threads.
Current suggestion is miss-leading.

Fixes: https://tracker.ceph.com/issues/63659
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit b7ae18a292c7d1d5139dfb74c575f1af0de29a3e)

6 months agoMerge pull request #58920 from mohit84/wip-67235-reef
Yuri Weinstein [Fri, 17 Jan 2025 16:05:35 +0000 (08:05 -0800)]
Merge pull request #58920 from mohit84/wip-67235-reef

reef: test: Create ParallelPGMapper object before start threadpool

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
6 months agodoc/cephfs: edit disaster-recovery-experts 61424/head
Zac Dover [Thu, 16 Jan 2025 11:51:46 +0000 (21:51 +1000)]
doc/cephfs: edit disaster-recovery-experts

Edit the first two sections of doc/cephfs/disaster-recovery-experts.rst
in preparation for adding deeper explanations of the contexts in which
one should use the various commands listed on that page.

https://tracker.ceph.com/issues/69557

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit cc8cfeddbd290ef9b5e4e0c68ae94cefb34e1be9)

6 months agoMerge pull request #59285 from k0ste/wip-64168-reef
SrinivasaBharathKanta [Fri, 17 Jan 2025 10:17:13 +0000 (15:47 +0530)]
Merge pull request #59285 from k0ste/wip-64168-reef

reef: osd: Add memstore to unsupported objstores for QoS

6 months agoMerge pull request #61259 from idryomov/wip-fsx-try-netlink-reef
Sunil Angadi [Fri, 17 Jan 2025 09:45:53 +0000 (15:15 +0530)]
Merge pull request #61259 from idryomov/wip-fsx-try-netlink-reef

reef: test/librbd/fsx: switch to netlink interface for rbd-nbd

6 months agoMerge pull request #61171 from idryomov/wip-69324-reef
Sunil Angadi [Fri, 17 Jan 2025 09:45:37 +0000 (15:15 +0530)]
Merge pull request #61171 from idryomov/wip-69324-reef

reef: rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

6 months agoMerge pull request #61167 from idryomov/wip-68998-reef
Sunil Angadi [Fri, 17 Jan 2025 09:45:17 +0000 (15:15 +0530)]
Merge pull request #61167 from idryomov/wip-68998-reef

reef: librbd: avoid data corruption on flatten when object map is inconsistent

6 months agoMerge pull request #61094 from idryomov/wip-69178-reef
Sunil Angadi [Fri, 17 Jan 2025 09:44:51 +0000 (15:14 +0530)]
Merge pull request #61094 from idryomov/wip-69178-reef

reef: librbd/migration/HttpClient: avoid reusing ssl_stream after shut down

6 months agoMerge pull request #61182 from rhcs-dashboard/reef-configuration-not-updatable
afreen23 [Fri, 17 Jan 2025 09:29:50 +0000 (14:59 +0530)]
Merge pull request #61182 from rhcs-dashboard/reef-configuration-not-updatable

reef: mgr/dashboard: Administration > Configuration > Some of the config options are not updatable at runtime

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #59266 from k0ste/wip-65924-reef
Kamoltat (Junior) Sirivadhna [Fri, 17 Jan 2025 08:33:42 +0000 (15:33 +0700)]
Merge pull request #59266 from k0ste/wip-65924-reef

reef: CephContext: acquire _fork_watchers_lock in notify_post_fork()
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
6 months agoMerge pull request #60981 from sseshasa/wip-69150-reef
SrinivasaBharathKanta [Fri, 17 Jan 2025 05:09:45 +0000 (10:39 +0530)]
Merge pull request #60981 from sseshasa/wip-69150-reef

reef: osd: adding 'reef' to pending_require_osd_release

6 months agoMerge pull request #60780 from shraddhaag/wip-68948-reef
Shraddha Agrawal [Thu, 16 Jan 2025 08:13:15 +0000 (13:43 +0530)]
Merge pull request #60780 from shraddhaag/wip-68948-reef

reef: qa/standalone/mon/mon_cluster_log.sh: retry check for log line

6 months agoqa/standalone/mon/mon_cluster_log.sh: retry check for log line 60780/head
Shraddha Agrawal [Mon, 30 Sep 2024 15:37:35 +0000 (21:07 +0530)]
qa/standalone/mon/mon_cluster_log.sh: retry check for log line

Issue: The test was failing as we were checking for the osd boot
log before it was actually emitted in the log file.

Solution: We retry checking for the desired string in the log file
for a duration of 60s after OSD has come up successfully.

Fixes: https://tracker.ceph.com/issues/67282
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
(cherry picked from commit 67928a27357e2d600114db1891db5e7b30c8d1a9)

6 months agoAsyncMessenger.cc : improve error messages 61402/head
Anthony D'Atri [Wed, 15 Jan 2025 00:17:14 +0000 (19:17 -0500)]
AsyncMessenger.cc : improve error messages

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 3d36a3b9bbeb8b21b99046aab0d0bdf8f1c30aa2)

6 months agodoc/releases: add actual_eol for quincy 61360/head
Zac Dover [Mon, 13 Jan 2025 19:00:00 +0000 (05:00 +1000)]
doc/releases: add actual_eol for quincy

Add the actual EOL date for the Quincy release (it's 2025-01-13).

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2c4ab9c571218bc09d14de0b101166fbab965f85)

6 months agoMerge pull request #61292 from phlogistonjohn/jjm-fix-reef-mypy-69471
Adam King [Mon, 13 Jan 2025 15:37:47 +0000 (10:37 -0500)]
Merge pull request #61292 from phlogistonjohn/jjm-fix-reef-mypy-69471

reef: mgr/diskprediction_local: avoid mypy error

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #61343 from zdover23/wip-doc-2025-01-13-backport-61313-to-reef
Anthony D'Atri [Mon, 13 Jan 2025 15:09:01 +0000 (10:09 -0500)]
Merge pull request #61343 from zdover23/wip-doc-2025-01-13-backport-61313-to-reef

reef: doc: improve tests-integration-testing-teuthology-workflow.rst

6 months agoMerge pull request #60445 from mohit84/wip-68663-reef
Yuri Weinstein [Mon, 13 Jan 2025 14:04:09 +0000 (06:04 -0800)]
Merge pull request #60445 from mohit84/wip-68663-reef

reef: AsyncMessenger: Don't decrease l_msgr_active_connections if it is negative

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
6 months agodoc: improve tests-integration-testing-teuthology-workflow.rst 61343/head
Vallari Agrawal [Thu, 9 Jan 2025 12:27:42 +0000 (17:57 +0530)]
doc: improve tests-integration-testing-teuthology-workflow.rst

This commit adds:
1. workflow summary in the first section along with an image.
2. sub-section "Pushing to ceph-ci repository" to second section.
3. file doc/dev/developer_guide/testing_integration_tests/workflow.png

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
(cherry picked from commit dc539b3ea8031d2b02da9d5a5b1f856d96d70362)

6 months agoCephContext: acquire _fork_watchers_lock in notify_post_fork() 59266/head
Venky Shankar [Thu, 9 Nov 2023 10:31:26 +0000 (05:31 -0500)]
CephContext: acquire _fork_watchers_lock in notify_post_fork()

The ceph::spin_unlock() seems incorrect here.

Fixes: http://tracker.ceph.com/issues/63494
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit faef266331ae0e372a345ef1926c239aa6c3bf45)

6 months agoosd: Remove usage of unsupported objstores for QoS 59285/head
Aishwarya Mathuria [Thu, 13 Jul 2023 18:05:42 +0000 (23:35 +0530)]
osd: Remove usage of unsupported objstores for QoS

mClock is supported on Bluestore and a check is currently done to eliminate other unsupported object stores.
With Filestore no longer in the code base, this check can be removed.
In addition, make sure that osd bench will no longer run on setups with memstore.

Fixes: https://tracker.ceph.com/issues/59531
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit 18043c5e88d241f43b8fd23a8cbc1b15a3854de9)

Conflicts:
  - file: src/osd/OSD.cc
    comment: `OSD::maybe_override_cost_for_qos()` was removed as part of the backport
      that included mClock changes for PG delete operation

6 months agoMerge pull request #60612 from cbodley/wip-68824-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:19:42 +0000 (08:19 -0800)]
Merge pull request #60612 from cbodley/wip-68824-reef

reef: os: remove unused btrfs_ioctl.h and tests

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #59280 from k0ste/wip-67458-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:17:35 +0000 (08:17 -0800)]
Merge pull request #59280 from k0ste/wip-67458-reef

reef: common/TrackedOp: rename and raise prio of slow op perfcounter

Reviewed-by: YiteGu <yitegu0@gmail.com>
6 months agoMerge pull request #57067 from batrick/wip-65377-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:13:09 +0000 (08:13 -0800)]
Merge pull request #57067 from batrick/wip-65377-reef

reef: osd/OSDMonitor: check svc is writeable before changing pending

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 months agoMerge pull request #59444 from kamoltat/wip-67721-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:07:00 +0000 (08:07 -0800)]
Merge pull request #59444 from kamoltat/wip-67721-reef

reef: src/pybind/mgr/pg_autoscaler/module.py: fix 'pg_autoscale_mode' output

Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #59404 from Matan-B/wip-67666-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:06:07 +0000 (08:06 -0800)]
Merge pull request #59404 from Matan-B/wip-67666-reef

reef: mon/OSDMonitor: Add force-remove-snap mon command

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #59371 from NitzanMordhai/wip-67644-reef
Yuri Weinstein [Fri, 10 Jan 2025 16:05:16 +0000 (08:05 -0800)]
Merge pull request #59371 from NitzanMordhai/wip-67644-reef

reef: mgr/rest: Trim  requests array and limit size

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 months agodoc/radosgw/s3: correct eTag op match tables 61309/head
Anthony D'Atri [Mon, 6 Jan 2025 17:48:04 +0000 (12:48 -0500)]
doc/radosgw/s3: correct eTag op match tables

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit f108a3739700c49a46472fb7b936acb9c53f0c0d)

6 months agoreef: mgr/diskprediction_local: avoid mypy error 61292/head
John Mulligan [Thu, 9 Jan 2025 18:35:28 +0000 (13:35 -0500)]
reef: mgr/diskprediction_local: avoid mypy error

Patch is for reef ONLY, not a traditional backport.
Disable mypy check for the given line. This check is triggerin all
reef CI jobs to fail.

Fixes: https://tracker.ceph.com/issues/69471
Signed-off-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #56139 from ifed01/wip-ifed-fix-global-repair-stats-reef
Igor Fedotov [Thu, 9 Jan 2025 10:20:31 +0000 (13:20 +0300)]
Merge pull request #56139 from ifed01/wip-ifed-fix-global-repair-stats-reef

reef: os/store_test: Retune tests to current code

Revewed-by: Md Mahamudur Rahaman Sajib mahamudur.sajib@croit.io
6 months agoMerge pull request #59499 from pponnuvel/wip-67607-reef
Igor Fedotov [Thu, 9 Jan 2025 10:16:38 +0000 (13:16 +0300)]
Merge pull request #59499 from pponnuvel/wip-67607-reef

reef: os/bluestore: allow use BtreeAllocator

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
6 months agoMerge pull request #59270 from k0ste/wip-67246-reef
SrinivasaBharathKanta [Wed, 8 Jan 2025 15:22:32 +0000 (20:52 +0530)]
Merge pull request #59270 from k0ste/wip-67246-reef

reef: mon: Remove any pg_upmap_primary mapping during remove a pool

6 months agotest/librbd/fsx: switch to netlink interface for rbd-nbd 61259/head
Ilya Dryomov [Tue, 7 Jan 2025 16:29:03 +0000 (17:29 +0100)]
test/librbd/fsx: switch to netlink interface for rbd-nbd

The default was flipped in commit fcbf7367d285 ("rbd-nbd: map using
netlink interface by default") in squid.  This is a reef-only fixup for
fsx to counter failures like "Size error: expected 0xa5cac00 stat 0x0"
which seem to be quite persistent on CentOS Stream 9.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 months agodoc: add snapshots in docs under Cephfs concepts 61247/head
neeraj pratap singh [Mon, 6 Jan 2025 11:00:32 +0000 (16:30 +0530)]
doc: add snapshots in docs under Cephfs concepts

Fixes: https://tracker.ceph.com/issues/68974
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 885b1bf88ee28b05cc9ed91e8ea5146511b6cf34)

6 months agoMerge pull request #60741 from mkogan1/wip-62255-reef
Shilpa Jagannath [Fri, 3 Jan 2025 21:52:42 +0000 (13:52 -0800)]
Merge pull request #60741 from mkogan1/wip-62255-reef

reef: rgw: fix the Content-Length in response header of static website

6 months agoMerge pull request #60701 from cbodley/wip-68898-reef
Shilpa Jagannath [Fri, 3 Jan 2025 21:30:36 +0000 (13:30 -0800)]
Merge pull request #60701 from cbodley/wip-68898-reef

reef: qa/rgw/crypt: disable failing kmip testing

6 months agomgr/dashboard: adding & exposing Param Class to support EndpointDoc creation 61182/head
Naman Munet [Thu, 26 Dec 2024 08:48:00 +0000 (14:18 +0530)]
mgr/dashboard: adding & exposing Param Class to support EndpointDoc creation

Fixes: https://tracker.ceph.com/issues/69272
Signed-off-by: Naman Munet <naman.munet@ibm.com>
6 months agoMerge pull request #60849 from smanjara/wip-reef-60801
Shilpa Jagannath [Thu, 2 Jan 2025 23:00:12 +0000 (15:00 -0800)]
Merge pull request #60849 from smanjara/wip-reef-60801

[reef] qa/rgw: the rgw/verify suite runs java tests last

6 months agoMerge pull request #60165 from cbodley/wip-68426-reef
Shilpa Jagannath [Thu, 2 Jan 2025 22:54:10 +0000 (14:54 -0800)]
Merge pull request #60165 from cbodley/wip-68426-reef

reef: cls/user: reset stats only returns marker when truncated

6 months agoMerge pull request #60455 from cbodley/wip-64398-reef
Shilpa Jagannath [Thu, 2 Jan 2025 22:49:32 +0000 (14:49 -0800)]
Merge pull request #60455 from cbodley/wip-64398-reef

reef: rgw/auth: ignoring signatures for HTTP OPTIONS calls

6 months agoMerge pull request #61194 from zdover23/wip-doc-2024-12-30-backport-60794-to-reef
Anthony D'Atri [Mon, 30 Dec 2024 15:12:06 +0000 (10:12 -0500)]
Merge pull request #61194 from zdover23/wip-doc-2024-12-30-backport-60794-to-reef

reef: doc/cephfs: document purge queue and its perf counters

6 months agodoc/README.md: improve formatting 59786/head
Zac Dover [Wed, 11 Sep 2024 12:50:35 +0000 (22:50 +1000)]
doc/README.md: improve formatting

Improve the formatting in the section "Building Ceph" in the file
README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b9ca3957303989bbba9301cbbd18ba8faa0b8168)

6 months agodoc/cephfs: document purge queue and its perf counters 61194/head
Dhairya Parmar [Thu, 21 Nov 2024 22:10:33 +0000 (03:40 +0530)]
doc/cephfs: document purge queue and its perf counters

Fixes: https://tracker.ceph.com/issues/68571
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit ae9277398840bf8576ea5a8c4a2ba4e23f8b9613)

6 months agomgr/dashboard: Administration > Configuration > Some of the config options are not...
Naman Munet [Fri, 22 Nov 2024 09:57:44 +0000 (15:27 +0530)]
mgr/dashboard: Administration > Configuration > Some of the config options are not updatable at runtime

Fixes: https://tracker.ceph.com/issues/68976
Fixes Includes:
1) by-passing 'can_update_at_runtime' flag for 'rgw' related configurations as the same can be updated at runtime via CLI.
Also implemented a warning popup for user to make force edit to rgw related configurations.

Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit 3181acc223dafd04e3fc56d418389ad50c5868e4)

6 months agoMerge pull request #61179 from zdover23/wip-doc-2024-12-26-backport-61177-to-reef
Anthony D'Atri [Thu, 26 Dec 2024 00:27:50 +0000 (19:27 -0500)]
Merge pull request #61179 from zdover23/wip-doc-2024-12-26-backport-61177-to-reef

reef: doc: Fixes a typo in controllers section of hardware recommendations

6 months agodoc: Fixes a typo in controllers section of hardware recommendations 61179/head
Skalador [Wed, 25 Dec 2024 22:57:00 +0000 (23:57 +0100)]
doc: Fixes a typo in controllers section of hardware recommendations

Signed-off-by: Kevin Niederwanger <k.niederwanger@gmail.com>
(cherry picked from commit 089636224910e1cd6231cadd2c422a78c3d08fea)

6 months agorbd: drop --pool option from "rbd group image {add,rm}" 61171/head
Ilya Dryomov [Fri, 20 Dec 2024 10:16:58 +0000 (11:16 +0100)]
rbd: drop --pool option from "rbd group image {add,rm}"

It stopped working with removal of get_special_pool_group_names() in
commit 3e8624f157a1 ("rbd: add support for namespaces") over six years
ago.  Given how much time has passed, stop accepting this option.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 1f71671dc65fa9e35d451e55d8963d60f3198a93)

6 months agorbd: handle --{group,image}-namespace in "rbd group image {add,rm}"
Ilya Dryomov [Tue, 17 Dec 2024 15:06:17 +0000 (16:06 +0100)]
rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

Currently only passing the namespace as part of the group or image spec
works.  If --group-namespace or --image-namespace options are used, the
namespace isn't picked up.

Fixes: https://tracker.ceph.com/issues/69324
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f35e3a6e9d93c2d2122c31d5eeb9fabaef89f2e1)

Conflicts:
src/tools/rbd/action/Group.cc [ "rbd group info" and "rbd group
  snap info" commands not in reef ]

6 months agotest/librbd: add TestInternal.FlattenInconsistentObjectMap 61167/head
Ilya Dryomov [Tue, 17 Dec 2024 08:57:44 +0000 (09:57 +0100)]
test/librbd: add TestInternal.FlattenInconsistentObjectMap

Inject an object map with all possible inconsistencies before
flattening to ensure that something similar to commit 40af4f87b64f
("librbd: flatten operation should use object map") doesn't reappear
in a different form.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ffcd90313b9dd6e5aab8df0f9a5335a69785133c)

6 months agolibrbd: avoid data corruption on flatten when object map is inconsistent
Ilya Dryomov [Wed, 27 Nov 2024 10:11:16 +0000 (11:11 +0100)]
librbd: avoid data corruption on flatten when object map is inconsistent

By making flatten skip copyup in case the object is marked
OBJECT_EXISTS or OBJECT_EXISTS_CLEAN, commit 40af4f87b64f ("librbd:
flatten operation should use object map") introduced a critical
regression.  If the object map becomes inconsistent (e.g. because
flatten gets interrupted by killing "rbd flatten" process or a client
running on the clone crashes after updating the object map but before
writing to the image), the following attempt to flatten would corrupt
the clone if the copyup is actually still needed.

By design, it's impossible to tell whether the object is "known to
exist" based on the object map -- only telling whether the object is
"known to NOT exist" is possible (i.e. only OBJECT_NONEXISTENT state
is reliable).  Negating OBJECT_NONEXISTENT tells that the object "may
exist", not that the object is "known to exist".  This is reflected in
the name of object_may_exist() helper that was introduced together with
the object map implementation.  Something like object_may_not_exist()
simply can't be constructed given the rest of librbd.

This effectively reverts commits 4c86bccf07b8 ("librbd: add
object_may_not_exist helper") and 40af4f87b64f ("librbd: flatten
operation should use object map").

Fixes: https://tracker.ceph.com/issues/68998
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 97ed3fced13dd48520ec9c165537ff0bbc7cbb64)

7 months agomgr/dashboard: handle infinite values for pools 61097/head
Afreen [Wed, 6 Mar 2024 20:22:16 +0000 (01:52 +0530)]
mgr/dashboard: handle infinite values for pools

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

Issue:
======
Json parsing is failing because of Infinity values present in pools
meteadata. "read_balance": {"score_acting": Infinity, "score_stable":
Infinity,}
Due to this entire pool list is not rendered.

Fix:
====
Added a handler for checking "inf" values and replacing them with a
string "Infinity" so that json parsing does not fail on frontend.

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 82d100ad264c35d79262c1983a8005d8d4791855)

7 months agolibrbd/migration/HttpClient: socket isn't shut down on some state transitions 61094/head
Ilya Dryomov [Thu, 12 Dec 2024 20:32:39 +0000 (21:32 +0100)]
librbd/migration/HttpClient: socket isn't shut down on some state transitions

If shut_down() gets delayed until a) the state transition from
STATE_RESET_CONNECTING completes and the reconnect is unsuccessful or
b) the state transition from STATE_RESET_DISCONNECTING completes (i.e.
next_state is STATE_UNINITIALIZED or STATE_RESET_CONNECTING), the
socket needs to be shut down before m_on_shutdown is invoked.  The line
of thought here is the same as for the corresponding state transitions
that don't involve STATE_SHUTTING_DOWN.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 88557dff2fe14c7df96992fbb0a5208979c20bf1)

7 months agolibrbd/migration/HttpClient: avoid hitting an assert in advance_state()
Ilya Dryomov [Wed, 11 Dec 2024 15:25:13 +0000 (16:25 +0100)]
librbd/migration/HttpClient: avoid hitting an assert in advance_state()

If the shutdown gets delayed until the state transition from
STATE_RESET_CONNECTING completes and the reconnect is successful
(i.e. next_state is STATE_READY), we eventually hit "unexpected
state transition" assert in advance_state().  The reason is that
advance_state() would update m_state and call disconnect() under
STATE_READY instead of STATE_SHUTTING_DOWN.  After the disconnect
maybe_finalize_shutdown() would enter advance_state() again with
STATE_SHUTDOWN as next_state, but the transition to that from
STATE_READY is invalid.

Plug this by not transitioning to next_state if current_state is
STATE_SHUTTING_DOWN.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 1046d610e3d6852258e6c4bf0355d0d13fb197b4)

7 months agolibrbd/migration/HttpClient: ignore stream_truncated when shutting down SSL
Ilya Dryomov [Mon, 9 Dec 2024 10:19:57 +0000 (11:19 +0100)]
librbd/migration/HttpClient: ignore stream_truncated when shutting down SSL

Propagate ec to handle_disconnect() and use it to suppress
stream_truncated errors.  Here is a quote from Beast documentation [1]:

  // Gracefully shutdown the SSL/TLS connection
  error_code ec;
  stream.shutdown(ec);
  // Non-compliant servers don't participate in the SSL/TLS shutdown process and
  // close the underlying transport layer. This causes the shutdown operation to
  // complete with a `stream_truncated` error. One might decide not to log such
  // errors as there are many non-compliant servers in the wild.
  if(ec != net::ssl::error::stream_truncated)
      log(ec);

... and a commit that made ignoring stream_truncated safe [2]:

  // ssl::error::stream_truncated, also known as an SSL "short read",
  // indicates the peer closed the connection without performing the
  // required closing handshake
  // [...]
  // When a short read would cut off the end of an HTTP message,
  // Beast returns the error beast::http::error::partial_message.
  // Therefore, if we see a short read here, it has occurred
  // after the message has been completed, so it is safe to ignore it.

[1] https://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast/using_io/ssl_tls_shutdown.html
[2] https://github.com/boostorg/beast/commit/094f5ec5cb3be1c3ce2d985564f1f39e9bed74ff

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 9fa0bcc67d79d90996cd4ec2b5af56d051ef6be7)

7 months agolibrbd/migration/HttpClient: propagate ec to handle_handshake()
Ilya Dryomov [Sat, 7 Dec 2024 11:37:29 +0000 (12:37 +0100)]
librbd/migration/HttpClient: propagate ec to handle_handshake()

Get rid of get_callback_adapter() which only obfuscates the error:

  handle_handshake: failed to complete SSL handshake: (337047686) Unknown error 337047686

vs

  handle_handshake: failed to complete SSL handshake: certificate verify failed (SSL routines, tls_process_server_certificate)

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit e305a5908bd7bd3f2fa906af8521aea989f0c0ca)

7 months agolibrbd/migration/HttpClient: drop SslHttpSession::m_ssl_enabled
Ilya Dryomov [Sat, 7 Dec 2024 12:52:41 +0000 (13:52 +0100)]
librbd/migration/HttpClient: drop SslHttpSession::m_ssl_enabled

The remaining callers of disconnect() call it only when m_ssl_enabled
is set to true (i.e. after the handshake is completed):

- shut_down(), in STATE_READY
- maybe_finalize_reset(), very shortly after transitioning out of
  STATE_READY as part of performing a reset
- advance_state(), on a transition to STATE_READY that is intercepted
  by a previously delayed shut down

m_ssl_enabled isn't used outside of disconnect() and on top of that
is never cleared.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 8566224e9406abca42925f8045077141c2724bed)

7 months agolibrbd/migration/HttpClient: don't call disconnect() in handle_handshake()
Ilya Dryomov [Sat, 7 Dec 2024 11:22:52 +0000 (12:22 +0100)]
librbd/migration/HttpClient: don't call disconnect() in handle_handshake()

With m_ssl_enabled set to false, disconnect() is a no-op.  Since
m_ssl_enabled is flipped to true only when the handshake succeeds,
calling disconnect() on "failed to complete handshake" error is bogus
(as would be attempting to shut down SSL there).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 331b5ea322537d380996ac6b250898ba474500be)

7 months agolibrbd/migration/HttpClient: avoid reusing ssl_stream after shut down
Ilya Dryomov [Fri, 6 Dec 2024 15:51:51 +0000 (16:51 +0100)]
librbd/migration/HttpClient: avoid reusing ssl_stream after shut down

ssl_stream objects can't be reused after shut down: despite
a successful reconnect and handshake, any attempt to read or write
fails with "end of stream" (beast.http:1) or "protocol is shutdown"
(asio.ssl:337690831) error respectively.  This doesn't appear to be
documented, but Beast and ASIO authors both mention that the stream
must be destroyed and recreated [1][2].

This was missed because the only integration test with a big enough
image used http instead of https.

[1] https://github.com/boostorg/beast/issues/821#issuecomment-338354949
[2] https://github.com/chriskohlhoff/asio/issues/804#issuecomment-872746894

Fixes: https://tracker.ceph.com/issues/69178
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 20885b11794ba80d5cddd178994865a83da7240f)

7 months agolibrbd/migration/HttpClient: don't shut down socket in resolve_host()
Ilya Dryomov [Fri, 6 Dec 2024 13:42:55 +0000 (14:42 +0100)]
librbd/migration/HttpClient: don't shut down socket in resolve_host()

resolve_host() is called from init() and issue() when transitioning out
of STATE_UNINITIALIZED and from advance_state() right after the call to
shutdown_socket().  In all three cases the socket should get closed, so
drop the redundant call and place asserts in connect() implementations
instead.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 5699e4b871c66035c2c425bc9de7022fa2474c78)

7 months agolibrbd/migration/HttpClient: fix some error messages in handle_receive()
Ilya Dryomov [Tue, 3 Dec 2024 15:20:16 +0000 (16:20 +0100)]
librbd/migration/HttpClient: fix some error messages in handle_receive()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d1a83f264ae97ec56004e6bf67a00f5753c6d611)

7 months agolibrbd/migration/HttpClient: log ec details in handle_{issue,receive}()
Ilya Dryomov [Tue, 3 Dec 2024 15:16:39 +0000 (16:16 +0100)]
librbd/migration/HttpClient: log ec details in handle_{issue,receive}()

Logging just the (negated) value makes tracking down the error category
and message unnecessarily hard.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit eb773496d53e924e6ff99ab1c3a9bcd36a8f81ea)

7 months agoMerge pull request #61081 from zdover23/wip-doc-2024-12-14-backport-61077-to-reef
Anthony D'Atri [Fri, 13 Dec 2024 20:08:14 +0000 (15:08 -0500)]
Merge pull request #61081 from zdover23/wip-doc-2024-12-14-backport-61077-to-reef

reef: doc/cephfs: edit 3rd 3rd of mount-using-kernel-driver

7 months agodoc/cephfs: edit 3rd 3rd of mount-using-kernel-driver 61081/head
Zac Dover [Fri, 13 Dec 2024 06:12:49 +0000 (16:12 +1000)]
doc/cephfs: edit 3rd 3rd of mount-using-kernel-driver

Edit the third third of doc/cephfs/mount-using-kernel-driver.rst in
preparation for correcting mount commands that may not work in Reef as
described in this documentation.

This commit edits only English-language strings in
doc/cephfs/mount-using-kernel-driver.rst. No technical content (that is,
no commands and no settings) have been altered in this commit.

Technical alterations to this file will be made only after the English
is unambiguous.

This PR follows the following two PRs:
https://github.com/ceph/ceph/pull/61048 - 1st 3rd
https://github.com/ceph/ceph/pull/61049 - 2nd 3rd

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 9c7580a2935511d009c9e66885e76635aa504ee8)

7 months agoMerge pull request #61064 from zdover23/wip-doc-2024-12-12-backport-60955-to-reef
Anthony D'Atri [Thu, 12 Dec 2024 13:44:52 +0000 (08:44 -0500)]
Merge pull request #61064 from zdover23/wip-doc-2024-12-12-backport-60955-to-reef

reef: doc/dev: instruct devs to backport

7 months agodoc/dev: instruct devs to backport 61064/head
Zac Dover [Wed, 4 Dec 2024 20:43:12 +0000 (21:43 +0100)]
doc/dev: instruct devs to backport

Add a note to doc/dec/development-workflow.rst that instructs developers
to do their own backports. This change was requested by Laura Flores on
04 Dec 2024.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5d584b4badb606d372c266424f59076408f62f40)

7 months agodoc/cephfs: edit 2nd 3rd of mount-using-kernel-driver 61059/head
Zac Dover [Wed, 11 Dec 2024 21:17:40 +0000 (07:17 +1000)]
doc/cephfs: edit 2nd 3rd of mount-using-kernel-driver

Edit the second third of doc/cephfs/mount-using-kernel-driver.rst in
preparation for correcting mount commands that may not work in Reef as
described in this documentation.

This commit edits only English-language strings in
doc/cephfs/mount-using-kernel-driver.rst. No technical content (that is,
no commands and no settings) have been altered in this commit.

Technical alterations to this file will be made only after the English
is unambiguous.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0526124b60500f97f536060ba372d2753b936c9e)

7 months agoMerge pull request #61042 from zdover23/wip-doc-2024-12-11-mount-using-kernel-driver
Zac Dover [Wed, 11 Dec 2024 21:02:11 +0000 (22:02 +0100)]
Merge pull request #61042 from zdover23/wip-doc-2024-12-11-mount-using-kernel-driver

doc/cephfs: edit first 3rd of mount-using-kernel-driver

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agodoc/cephfs: edit first 3rd of mount-using-kernel-driver 61042/head
Zac Dover [Wed, 11 Dec 2024 14:15:14 +0000 (15:15 +0100)]
doc/cephfs: edit first 3rd of mount-using-kernel-driver

Edit the first third of doc/cephfs/mount-using-kernel-driver.rst in
preparation for correcting mount commands that may not work in Reef as
described in this documentation.

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agoMerge pull request #61032 from neha-ojha/wip-update-foundation-reef
Zac Dover [Wed, 11 Dec 2024 13:33:17 +0000 (14:33 +0100)]
Merge pull request #61032 from neha-ojha/wip-update-foundation-reef

reef: doc/foundation.rst: update Intel point of contact

Reviewed-by: Zac Dover <zac.dover@proton.me>
7 months agodoc/foundation.rst: update Intel point of contact 61032/head
Neha Ojha [Tue, 10 Dec 2024 22:36:07 +0000 (22:36 +0000)]
doc/foundation.rst: update Intel point of contact

This is for reef since the new foundation structure has changed.

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 months agoMerge pull request #60750 from idryomov/wip-68743-reef
Ilya Dryomov [Tue, 10 Dec 2024 08:43:44 +0000 (09:43 +0100)]
Merge pull request #60750 from idryomov/wip-68743-reef

reef: Make mon addrs consistent with mon info

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
7 months agoMerge pull request #60061 from sajibreadd/wip-68324-reef
Yuri Weinstein [Mon, 9 Dec 2024 19:29:40 +0000 (11:29 -0800)]
Merge pull request #60061 from sajibreadd/wip-68324-reef

reef: common/Formatter: dump inf/nan as null

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 months agoosd: adding 'reef' to pending_require_osd_release 60981/head
Philipp Hufnagl [Wed, 22 Nov 2023 11:31:41 +0000 (12:31 +0100)]
osd: adding 'reef' to pending_require_osd_release

It appears adding 'reef' to pending_require_osd_release has been
forgotten. This PR adds it

Signed-off-by: Philipp Hufangl <p.hufnagl@proxmox.com>
(cherry picked from commit e443ef3562f9718b224acb550206497b5fdfe82e)
(cherry picked from commit a6dc3b6e69ee591b08943fd00aef4d3e2fad9964)

7 months agoMerge pull request #60972 from zdover23/wip-doc-2024-12-06-backport-60929-to-reef
Anthony D'Atri [Fri, 6 Dec 2024 05:54:39 +0000 (06:54 +0100)]
Merge pull request #60972 from zdover23/wip-doc-2024-12-06-backport-60929-to-reef

reef: doc/dev/release-process.rst: New container build/release process

7 months agodoc/dev/release-process.rst: New container build/release process 60972/head
Dan Mick [Wed, 4 Dec 2024 01:15:41 +0000 (17:15 -0800)]
doc/dev/release-process.rst: New container build/release process

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 178036924e7d1ec8eb62663f00f82d0b092c7ca1)

7 months agoMerge pull request #60961 from dmick/wip-69118-reef
Dan Mick [Thu, 5 Dec 2024 23:25:42 +0000 (15:25 -0800)]
Merge pull request #60961 from dmick/wip-69118-reef

reef: Modify container/ software to support release containers and the promotion of prerelease containers

7 months agoMerge pull request #56199 from ifed01/wip-ifed-fix-64443-reef
SrinivasaBharathKanta [Thu, 5 Dec 2024 10:32:35 +0000 (16:02 +0530)]
Merge pull request #56199 from ifed01/wip-ifed-fix-64443-reef

reef: test/store_test: fix DeferredWrite test when prefer_deferred_size=0

7 months agocontainer/{Containerfile,build.sh}: use a secret to pass secrets 60961/head
Dan Mick [Thu, 21 Nov 2024 03:11:24 +0000 (19:11 -0800)]
container/{Containerfile,build.sh}: use a secret to pass secrets

Use podman's build --secret mechanism to pass credentials for
download.ceph.com

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 4b3c0cb8f3f130563d9e1309beb7a8e0b59ea83e)

7 months agocontainer/Containerfile: allow failure from curl to stop build
Dan Mick [Thu, 21 Nov 2024 02:23:50 +0000 (18:23 -0800)]
container/Containerfile: allow failure from curl to stop build

curl doesn't actually fail unless -f is used; also, add
some sh -e flags.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 18d14b22f31c65ad3db79c7930a841157b68deee)

7 months agocontainer/Containerfile: purge .repo files with secrets before commit
Dan Mick [Thu, 21 Nov 2024 02:18:59 +0000 (18:18 -0800)]
container/Containerfile: purge .repo files with secrets before commit

ceph.repo had creds in it for download.ceph.com/prerelease.
Remove the .repo files we construct, since they're not necessary
once the container is built (no one should be dnf'ing anything
in the container).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 08432ef54212aa2aba724102854082e76f0cd847)