]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 months agosrc/exporter: improve usage message 61331/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)

6 months agoMerge pull request #61306 from adamemerson/wip-69303-squid
Adam Emerson [Fri, 10 Jan 2025 06:32:36 +0000 (01:32 -0500)]
Merge pull request #61306 from adamemerson/wip-69303-squid

squid: rgw: Don't crash on exceptions from pool listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agorgw: Don't crash on exceptions from pool listing 61306/head
Adam Emerson [Thu, 9 Jan 2025 16:46:32 +0000 (11:46 -0500)]
rgw: Don't crash on exceptions from pool listing

Fixes: https://tracker.ceph.com/issues/69303
Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit 4318b188740634ead65a986680f9186541c9d1b0)

Fixes: https://tracker.ceph.com/issues/69476
Signed-off-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #61260 from guits/wip-69437-squid
Guillaume Abrioux [Wed, 8 Jan 2025 15:16:00 +0000 (16:16 +0100)]
Merge pull request #61260 from guits/wip-69437-squid

ceph-volume: fix Zap.ensure_associated_raw()

6 months agoceph-volume: fix Zap.ensure_associated_raw() 61260/head
Guillaume Abrioux [Mon, 6 Jan 2025 16:12:22 +0000 (16:12 +0000)]
ceph-volume: fix Zap.ensure_associated_raw()

When an OSD creation fails, ceph-volume can zaps unrelated
existing raw based OSD as part of the 'rollback step'.

Fixes: https://tracker.ceph.com/issues/69430
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 95bdcbfd813d41aa07069cc95a5da7c321936afd)

6 months agoMerge pull request #60487 from guits/wip-68720-squid
Guillaume Abrioux [Wed, 8 Jan 2025 07:59:59 +0000 (08:59 +0100)]
Merge pull request #60487 from guits/wip-68720-squid

squid: ceph-volume: support zapping by osd-id for RAW OSDs

6 months agoMerge pull request #61023 from cbodley/wip-69181-squid
Adam Emerson [Tue, 7 Jan 2025 16:55:49 +0000 (11:55 -0500)]
Merge pull request #61023 from cbodley/wip-69181-squid

squid: qa/rgw: bump keystone/barbican from 2023.1 to 2024.1

Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #61185 from ronen-fr/wip-rf-61184-squid
Ronen Friedman [Tue, 7 Jan 2025 12:53:22 +0000 (14:53 +0200)]
Merge pull request #61185 from ronen-fr/wip-rf-61184-squid

squid: osd/scrub: register for 'osd_max_scrubs' config changes
Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #61118 from ronen-fr/wip-rf-61115-squid
Ronen Friedman [Tue, 7 Jan 2025 11:18:52 +0000 (13:18 +0200)]
Merge pull request #61118 from ronen-fr/wip-rf-61115-squid

squid: qa/standalone/scrub: fix TEST_periodic_scrub_replicated
Reviewed-by: Laura Flores <lflores@redhat.com>
6 months agoMerge pull request #60752 from chrisphoffman/wip-68942-squid
Milind Changire [Fri, 3 Jan 2025 09:50:51 +0000 (15:20 +0530)]
Merge pull request #60752 from chrisphoffman/wip-68942-squid

squid: mds: Implement remove for ceph vxattrs

6 months agoMerge pull request #59919 from mchangir/wip-67826-squid
Milind Changire [Fri, 3 Jan 2025 04:28:53 +0000 (09:58 +0530)]
Merge pull request #59919 from mchangir/wip-67826-squid

squid: qa: failfast mount for better performance and unblock `fs volume ls`

6 months agoMerge pull request #59395 from lxbsz/wip-67587
Milind Changire [Thu, 2 Jan 2025 10:18:03 +0000 (15:48 +0530)]
Merge pull request #59395 from lxbsz/wip-67587

squid: client: flush the caps release in filesystem sync

6 months agoMerge pull request #59518 from batrick/wip-67751-squid
Milind Changire [Thu, 2 Jan 2025 10:17:08 +0000 (15:47 +0530)]
Merge pull request #59518 from batrick/wip-67751-squid

squid: mds: cephx path restriction incorrectly rejects snapshots of deleted directory

6 months agoMerge pull request #59704 from vshankar/wip-67374-squid
Milind Changire [Thu, 2 Jan 2025 10:16:00 +0000 (15:46 +0530)]
Merge pull request #59704 from vshankar/wip-67374-squid

squid: mon: fix `fs set down` to adjust max_mds only when cluster is not down

6 months agoMerge pull request #60059 from vshankar/wip-68321-squid
Milind Changire [Thu, 2 Jan 2025 10:12:01 +0000 (15:42 +0530)]
Merge pull request #60059 from vshankar/wip-68321-squid

squid: mds: invalid id for client eviction is to be treated as success

6 months agoMerge pull request #60687 from vshankar/wip-67532-squid
Milind Changire [Thu, 2 Jan 2025 10:11:21 +0000 (15:41 +0530)]
Merge pull request #60687 from vshankar/wip-67532-squid

squid: tools/rados: Fix extra NL in getxattr

6 months agoMerge pull request #60688 from vshankar/wip-68112-squid
Milind Changire [Thu, 2 Jan 2025 09:56:39 +0000 (15:26 +0530)]
Merge pull request #60688 from vshankar/wip-68112-squid

squid: mds: batch backtrace updates by pool-id when expiring a log segment

6 months agoMerge pull request #60691 from vshankar/wip-67693-squid
Milind Changire [Thu, 2 Jan 2025 09:55:56 +0000 (15:25 +0530)]
Merge pull request #60691 from vshankar/wip-67693-squid

squid: mds: getattr just waits the xlock to be released by the previous client

6 months agoMerge pull request #60694 from vshankar/wip-68694-squid
Milind Changire [Thu, 2 Jan 2025 09:55:10 +0000 (15:25 +0530)]
Merge pull request #60694 from vshankar/wip-68694-squid

squid: client: fixed a bug that read operation hung

6 months agoMerge pull request #59685 from vshankar/wip-67744-squid
Milind Changire [Thu, 2 Jan 2025 09:49:57 +0000 (15:19 +0530)]
Merge pull request #59685 from vshankar/wip-67744-squid

squid: qa: wait for file creation before changing mode

6 months agoMerge pull request #59866 from dparmar18/wip-66620-squid
Milind Changire [Thu, 2 Jan 2025 09:48:51 +0000 (15:18 +0530)]
Merge pull request #59866 from dparmar18/wip-66620-squid

squid: mds: drop client metrics during recovery

6 months agoMerge pull request #59899 from joscollin/wip-68168-squid
Milind Changire [Thu, 2 Jan 2025 09:44:03 +0000 (15:14 +0530)]
Merge pull request #59899 from joscollin/wip-68168-squid

squid: cephfs-top: fix exceptions on small/large sized windows

6 months agoMerge pull request #60181 from joscollin/wip-68408-squid
Milind Changire [Thu, 2 Jan 2025 09:43:27 +0000 (15:13 +0530)]
Merge pull request #60181 from joscollin/wip-68408-squid

squid: qa: fix test failure test_cephfs_mirror_cancel_mirroring_and_readd

6 months agoMerge pull request #60218 from dparmar18/wip-67674-squid
Milind Changire [Thu, 2 Jan 2025 09:42:30 +0000 (15:12 +0530)]
Merge pull request #60218 from dparmar18/wip-67674-squid

squid: client: contiguous read fails for non-contiguous write (in async I/O api)

6 months agoMerge pull request #61181 from rhcs-dashboard/squid-configuration-not-updatable
Pedro Gonzalez Gomez [Thu, 2 Jan 2025 09:27:50 +0000 (10:27 +0100)]
Merge pull request #61181 from rhcs-dashboard/squid-configuration-not-updatable

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

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
6 months agoMerge pull request #61193 from zdover23/wip-doc-2024-12-30-backport-60794-to-squid
Anthony D'Atri [Mon, 30 Dec 2024 15:11:26 +0000 (10:11 -0500)]
Merge pull request #61193 from zdover23/wip-doc-2024-12-30-backport-60794-to-squid

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

6 months agodoc/cephfs: document purge queue and its perf counters 61193/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 agoMerge pull request #61189 from rhcs-dashboard/squid-multisite-e2e-fixes
Pedro Gonzalez Gomez [Fri, 27 Dec 2024 12:30:44 +0000 (13:30 +0100)]
Merge pull request #61189 from rhcs-dashboard/squid-multisite-e2e-fixes

Squid: mgr/dashboard: fix multisite e2e failures

Reviewed-by: Pedro Gonzaez Gomez <pegonzal@redhat.com>
6 months agomgr/dashboard: Administration > Configuration > Some of the config options are not... 61181/head
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.
2) when navigated to Administration >> Configuration, modified configuration will be seen as we see in cli "ceph config dump",
instead of configuration with filter level:basic

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

6 months agomgr/dashboard: fix multisite e2e failures 61189/head
Naman Munet [Wed, 27 Nov 2024 17:27:39 +0000 (22:57 +0530)]
mgr/dashboard: fix multisite e2e failures

Fixes: https://tracker.ceph.com/issues/69072
Signed-off-by: Naman Munet <namanmunet@li-ff83bccc-26af-11b2-a85c-a4b04bfb1003.ibm.com>
(cherry picked from commit 3ae0e6d05375e41e002c262fec526e40120500ec)

6 months agoosd/scrub: register for 'osd_max_scrubs' config changes 61185/head
Ronen Friedman [Thu, 26 Dec 2024 13:06:10 +0000 (07:06 -0600)]
osd/scrub: register for 'osd_max_scrubs' config changes

Since https://github.com/ceph/ceph/pull/55340, the
osd_max_scrubs (also) affects the parameters of the
async scrub reserver used by the replicas. Thus,
the code must notice and acknowledge changes to this config.

Fixes: https://tracker.ceph.com/issues/69362
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 31e6bacfbf60e3e9222cae354d8527fa92282dbc)

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

doc: Fixes a typo in controllers section of hardware recommendations

6 months agodoc: Fixes a typo in controllers section of hardware recommendations 61178/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 agoMerge pull request #61172 from idryomov/wip-69324-squid
Ilya Dryomov [Mon, 23 Dec 2024 22:05:46 +0000 (23:05 +0100)]
Merge pull request #61172 from idryomov/wip-69324-squid

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

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agoMerge pull request #61168 from idryomov/wip-68998-squid
Ilya Dryomov [Mon, 23 Dec 2024 22:04:58 +0000 (23:04 +0100)]
Merge pull request #61168 from idryomov/wip-68998-squid

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

Reviewed-by: Ramana Raja <rraja@redhat.com>
7 months agorbd: drop --pool option from "rbd group image {add,rm}" 61172/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)

7 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 squid ]

7 months agotest/librbd: add TestInternal.FlattenInconsistentObjectMap 61168/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)

7 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 agoMerge pull request #61070 from ivancich/wip-69209-squid
Casey Bodley [Thu, 19 Dec 2024 18:04:21 +0000 (13:04 -0500)]
Merge pull request #61070 from ivancich/wip-69209-squid

squid: rgw: optimize bucket listing to skip past regions of namespaced entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #61138 from cbodley/wip-69308-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:44:03 +0000 (08:44 -0800)]
Merge pull request #61138 from cbodley/wip-69308-squid

squid: rgw/lc: Fix lifecycle not working while bucket versioning is suspended

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #61120 from ivancich/wip-69269-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:43:26 +0000 (08:43 -0800)]
Merge pull request #61120 from ivancich/wip-69269-squid

squid: qa/rgw: force Hadoop to run under Java 1.8

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #61119 from yuvalif/wip-yuval-fix-notif-test-regression
Yuri Weinstein [Thu, 19 Dec 2024 16:42:58 +0000 (08:42 -0800)]
Merge pull request #61119 from yuvalif/wip-yuval-fix-notif-test-regression

squid: test/rgw/notifications: fix test regression

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 months agoMerge pull request #61101 from ivancich/wip-69256-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:41:54 +0000 (08:41 -0800)]
Merge pull request #61101 from ivancich/wip-69256-squid

squid: qa/rgw: pull Apache artifacts from mirror instead of archive.apache.org

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #61053 from smanjara/wip-69210-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:40:41 +0000 (08:40 -0800)]
Merge pull request #61053 from smanjara/wip-69210-squid

squid: qa/rgw: fix s3 java tests by forcing gradle to run on Java 8

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #60467 from zdover23/wip-doc-2024-10-24-backport-60465-to-squid
Zac Dover [Wed, 18 Dec 2024 21:44:56 +0000 (07:44 +1000)]
Merge pull request #60467 from zdover23/wip-doc-2024-10-24-backport-60465-to-squid

squid: doc/cephfs: edit "Disabling Volumes Plugin"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agorgw/lc: Fix lifecycle not working while bucket versioning is suspended 61138/head
Trang Tran [Thu, 24 Oct 2024 10:49:20 +0000 (17:49 +0700)]
rgw/lc: Fix lifecycle not working while bucket versioning is suspended

Signed-off-by: Trang Tran <tttrangptit@gmail.com>
(cherry picked from commit e1f3344216011a61b65013aec26220f180f4cfaf)

7 months agoMerge pull request #61095 from idryomov/wip-69178-squid
Ilya Dryomov [Wed, 18 Dec 2024 08:00:10 +0000 (09:00 +0100)]
Merge pull request #61095 from idryomov/wip-69178-squid

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

Reviewed-by: Ramana Raja <rraja@redhat.com>
7 months agoMerge pull request #58144 from ljflores/wip-66463-squid
Laura Flores [Tue, 17 Dec 2024 18:35:24 +0000 (12:35 -0600)]
Merge pull request #58144 from ljflores/wip-66463-squid

squid: test/neorados: remove depreciated RemoteReads cls test

7 months agoqa/rgw: force Hadoop to run under Java 1.8 61120/head
J. Eric Ivancich [Mon, 16 Dec 2024 18:21:35 +0000 (13:21 -0500)]
qa/rgw: force Hadoop to run under Java 1.8

The Hadoop test installs Java 1.8 but then just runs the default
version. This makes sure it will run the version it installed.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit c5503187af96dc0179265dc84b2716df851e4cdf)

7 months agosquid: test/rgw/notifications: fix test regression 61119/head
Yuval Lifshitz [Tue, 17 Dec 2024 17:52:23 +0000 (17:52 +0000)]
squid: test/rgw/notifications: fix test regression

from commit: 05e2ade13292e7d924e6385ea234f58c13eb2d51

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agoqa/standalone/scrub: fix TEST_periodic_scrub_replicated 61118/head
Ronen Friedman [Tue, 17 Dec 2024 13:51:48 +0000 (15:51 +0200)]
qa/standalone/scrub: fix TEST_periodic_scrub_replicated

A bogus change introduced as part of PR#54363 (commit
fbb7d73) changed multiple 'scrub' commands to 'scheduled-scrub'.
In this one instance - that was wrong.

Fixes: https://tracker.ceph.com/issues/69276
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit ca189fb511f18fc82c62702bf904201b6347395b)

7 months agoMerge pull request #60604 from rhcs-dashboard/wip-68811-squid
afreen23 [Tue, 17 Dec 2024 15:20:59 +0000 (20:50 +0530)]
Merge pull request #60604 from rhcs-dashboard/wip-68811-squid

squid: mgr/dashboard: rm nvmeof conf based on its daemon name

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agoMerge pull request #61109 from NitzanMordhai/wip-68972-squid
Matan Breizman [Tue, 17 Dec 2024 13:41:53 +0000 (15:41 +0200)]
Merge pull request #61109 from NitzanMordhai/wip-68972-squid

squid: qa/suites/crimson-rados/perf: add ssh keys

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 months agoMerge pull request #61096 from afreen23/wip-69201-squid
afreen23 [Tue, 17 Dec 2024 08:05:51 +0000 (13:35 +0530)]
Merge pull request #61096 from afreen23/wip-69201-squid

squid: mgr/dashboard: handle infinite values for pools

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agoqa/suites/crimson-rados/perf: add ssh keys 61109/head
Nitzan Mordechai [Mon, 7 Oct 2024 10:21:58 +0000 (10:21 +0000)]
qa/suites/crimson-rados/perf: add ssh keys

cbt use ssh connection by defualt, without ssh_keys the task
won't generate public key and the cbt task will fail

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

7 months agoqa/rgw: pull Apache artifacts from mirror instead of archive.apache.org 61101/head
J. Eric Ivancich [Fri, 13 Dec 2024 20:47:30 +0000 (15:47 -0500)]
qa/rgw: pull Apache artifacts from mirror instead of archive.apache.org

Currently maven and kafka are pulled from archive.apache.org. This
uses Apache's "closer" calculator to find a mirror to use instead.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 3aae66611dd7f05612056a757cb7a87dfcf95de0)

7 months agomgr/dashboard: handle infinite values for pools 61096/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 61095/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 #61080 from zdover23/wip-doc-2024-12-14-backport-61077-to-squid
Anthony D'Atri [Fri, 13 Dec 2024 20:08:29 +0000 (15:08 -0500)]
Merge pull request #61080 from zdover23/wip-doc-2024-12-14-backport-61077-to-squid

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

7 months agodoc/cephfs: edit 3rd 3rd of mount-using-kernel-driver 61080/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 agorgw: optimize bucket listing to skip past regions of namespaced entries 61070/head
J. Eric Ivancich [Fri, 22 Nov 2024 17:40:24 +0000 (12:40 -0500)]
rgw: optimize bucket listing to skip past regions of namespaced entries

When listing a bucket and the parameters are such that we're not
listing namespaced entries, this commit adds an optimization to
advance the marker such that we skip past a whole region of namespaced
entries rather than evaluating each entry one-by-one.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 91488321277d15b877d8b5c5a5204e18d7ab7fad)

7 months agoMerge pull request #61026 from adk3798/wip-69184-squid
Yuri Weinstein [Thu, 12 Dec 2024 16:59:31 +0000 (08:59 -0800)]
Merge pull request #61026 from adk3798/wip-69184-squid

squid: qa/tasks/nvme_loop: update task to work with new nvme list format

Reviewed-by: Laura Flores <lflores@redhat.com>
7 months agoMerge pull request #59624 from NitzanMordhai/wip-67138-squid
Yuri Weinstein [Thu, 12 Dec 2024 16:58:40 +0000 (08:58 -0800)]
Merge pull request #59624 from NitzanMordhai/wip-67138-squid

squid: suites/upgrade/quincy-x: update the ignore list

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
7 months agoMerge pull request #61063 from zdover23/wip-doc-2024-12-12-backport-60955-to-squid
Anthony D'Atri [Thu, 12 Dec 2024 13:45:12 +0000 (08:45 -0500)]
Merge pull request #61063 from zdover23/wip-doc-2024-12-12-backport-60955-to-squid

squid: doc/dev: instruct devs to backport

7 months agodoc/dev: instruct devs to backport 61063/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 agoqa/rgw: force s3 java tests to run gradle on Java 8 61053/head
J. Eric Ivancich [Mon, 9 Dec 2024 22:23:59 +0000 (17:23 -0500)]
qa/rgw: force s3 java tests to run gradle on Java 8

Previously gradle would run using the default Java version. This looks
for Java 8 using `alternatives` and sets JAVA_HOME to the
corresponding directory prior to launching gradle.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 1c2954648362c450c3e90fa6b72814de8eeeafa2)

7 months agoqa/tasks/nvme_loop: update task to work with new nvme list format 61026/head
Adam King [Tue, 3 Dec 2024 20:22:22 +0000 (15:22 -0500)]
qa/tasks/nvme_loop: update task to work with new nvme list format

Specifically on some centos 9 tests, we've seen that a newer
version of some nvme related package is causing this task to fail
with "KeyError: 'DevicePath'" due to the format of the output
of the nvme list command changing. This patch adds handling for
the new format we've seen while also still supporting the old
format (necessary for the tests running on ubuntu).

Fixes: https://tracker.ceph.com/issues/69067
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit ce487613d08b0c0d73172ce6ababcb75855f6ae6)

7 months agoqa/rgw: bump keystone/barbican from 2023.1 to 2024.1 61023/head
Casey Bodley [Thu, 5 Dec 2024 19:57:14 +0000 (14:57 -0500)]
qa/rgw: bump keystone/barbican from 2023.1 to 2024.1

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3162581d2dec6d7006081ef052cfbc0f9bc9d615)

7 months agoqa: make all replayer threads busy and query 'syncing' status 60181/head
Jos Collin [Mon, 11 Mar 2024 10:41:54 +0000 (16:11 +0530)]
qa: make all replayer threads busy and query 'syncing' status

* Make all replayer threads busy and then query for 'syncing' state
instead of just fetching the current status.

* Dropped 'current_syncing_snap' check, as it's not compulsory for
this test. The actual intension is to make threads in 'syncing' status
and 'current_syncing_snap' check is not necessary for that.

* Drop 'snaps_deleted' metrics check in test_cephfs_mirror_cancel_mirroring_and_readd.
test_cephfs_mirror_cancel_mirroring_and_readd primarily focusses
on the synchronization of the newly added directory paths post removal
of the previously added/syncing directory paths. So checking of 'snaps_deleted'
metrics is unnecessary here.

* Wait for more time to finish the new snapshot creations and the sync backoff.
We need to wait for more time in test_cephfs_mirror_cancel_mirroring_and_readd,
as the test makes all replayer threads busy.

Fixes: https://tracker.ceph.com/issues/64711
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit db9825d3142d2f886ef4719adfbac51209136300)

7 months agoMerge pull request #59896 from avanthakkar/wip-68166-squid
Adam King [Mon, 9 Dec 2024 15:34:42 +0000 (10:34 -0500)]
Merge pull request #59896 from avanthakkar/wip-68166-squid

squid: mgr/nfs: generate user_id & access_key for apply_export(CephFS)

Reviewed-by: Adam King <adking@redhat.com>
7 months agodoc: nit fixes for nfs doc 59896/head
Avan Thakkar [Tue, 3 Sep 2024 13:15:47 +0000 (18:45 +0530)]
doc: nit fixes for nfs doc

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes some doc lint and also fixed qa tests for having both 3 & 4 protocols
by default in expot config.

(cherry picked from commit b895e596a88a9f4b0fe07dce082b369f4f04b8d2)

7 months agomgr/nfs: add additional tests for cmount_path & user_id deletion
Avan Thakkar [Thu, 29 Aug 2024 10:39:14 +0000 (16:09 +0530)]
mgr/nfs: add additional tests for cmount_path & user_id deletion

Add unit tests for unique user ID generation, deletion and `cmount_path` handling in FSAL exports

- Ensure unique user ID generation for different FSAL blocks when creating exports.
- Test deletion behavior when multiple exports share the same user ID and one has a unique ID.
- Test default behavior when no `cmount_path` is provided (defaults to `/`).
- Add tests to validate error handling for invalid `cmount_path` values.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit b8f3db5b4042b737a4146833269f82512421e0a5)

7 months agomgr/nfs: ensure user_id for create_export_from_dict
Avan Thakkar [Wed, 28 Aug 2024 14:30:10 +0000 (20:00 +0530)]
mgr/nfs: ensure user_id for create_export_from_dict

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit d02b94d8200a681f14d868387d155f081400ef34)

7 months agodoc: Update pendingreleasenotes for CephFS NFS exports
Avan Thakkar [Tue, 27 Aug 2024 07:43:11 +0000 (13:13 +0530)]
doc: Update pendingreleasenotes for CephFS NFS exports

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit af63b4742548e6552273948022b4160b3816c63b)

7 months agodoc: cmount_path documentation for CEPHFS nfs exports
Avan Thakkar [Tue, 27 Aug 2024 07:42:06 +0000 (13:12 +0530)]
doc: cmount_path documentation for CEPHFS nfs exports

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit d38858da360afdaf15b331d89ddd72c689465dfe)

7 months agomgr/nfs: adopt API & unit tests for nfs exports
Avan Thakkar [Tue, 27 Aug 2024 06:33:17 +0000 (12:03 +0530)]
mgr/nfs: adopt API & unit tests for nfs exports

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 1abb4113ca121ff4ed152c868eabd9bba7812a9e)

7 months agomgr/nfs: add cmount_path
avanthakkar [Tue, 10 Oct 2023 17:06:28 +0000 (22:36 +0530)]
mgr/nfs: add cmount_path

Implementing necessary changes for the NFS module to align with the new export block format introduced in nfs-ganesha-V5.6.
The purpose of these changes is to enhance memory efficiency for exports. To achieve this goal, we have introduced a new field
called cmount_path under the FSAL block of export. Initially, this is applicable only to CephFS-based exports.

Furthermore, the newly created CephFS exports will now share the same user_id and secret_access_key, which are determined based
on the NFS cluster name and filesystem name. This results in each export on the same filesystem using a shared connection,
thereby optimizing resource usage.

Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: enable user management on a per-fs basis

Add back the ability to create a user for a cephfs export but do
it only for a cluster+filesystem combination. According to the
ganesha devs this ought to continue sharing a cephfs client connection
across multiple exports.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: add more unit tests with cmount_path

Add more unit tests for CEPHFS based NFS exports with
newly added cmount_path field under FSAL.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: fix rgw nfs export when no existing exports

Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: generate user_id & access_key for apply_export(CEPHFS)

Generate user_id & secret_access_key for CephFS based exports
for apply export. Also ensure the export FSAL block has
`cmount_path`.

Fixes: https://tracker.ceph.com/issues/63377
Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: simplify validation, update f-strings, add generate_user_id function

- Improved validation to check cmount_path as a superset of path
- Replaced format method with f-strings
- Added generate_user_id function using SHA-1 hash
- Enhanced error handling and integrated new user_id generation

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 9c70adf8080c053950e89b220195e3aa47991f86)

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

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

7 months agodoc/dev/release-process.rst: New container build/release process 60971/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 #60962 from dmick/wip-69119-squid
Dan Mick [Thu, 5 Dec 2024 23:25:30 +0000 (15:25 -0800)]
Merge pull request #60962 from dmick/wip-69119-squid

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

7 months agoMerge pull request #60447 from mohit84/wip-68665-squid
SrinivasaBharathKanta [Thu, 5 Dec 2024 09:26:08 +0000 (14:56 +0530)]
Merge pull request #60447 from mohit84/wip-68665-squid

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

7 months agoMerge pull request #59973 from sseshasa/wip-68223-squid
SrinivasaBharathKanta [Thu, 5 Dec 2024 09:25:20 +0000 (14:55 +0530)]
Merge pull request #59973 from sseshasa/wip-68223-squid

squid: common/options: Change HDD OSD shard configuration defaults for mClock

7 months agocontainer/{Containerfile,build.sh}: use a secret to pass secrets 60962/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)

7 months agocontainer/Containerfile fix boolean IS_RELEASE usage
Dan Mick [Wed, 20 Nov 2024 00:44:17 +0000 (16:44 -0800)]
container/Containerfile fix boolean IS_RELEASE usage

Existing syntax was just wrong.

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

7 months agocontainer/make-manifest-list.py: use LOCALMANIFEST throughout
Dan Mick [Wed, 20 Nov 2024 00:40:05 +0000 (16:40 -0800)]
container/make-manifest-list.py: use LOCALMANIFEST throughout

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

7 months agocontainers/make-manifest.py: Add --promote
Dan Mick [Sat, 16 Nov 2024 00:21:26 +0000 (16:21 -0800)]
containers/make-manifest.py: Add --promote

The promote function finds the latest image on the prerelease repo,
finds all its tags, and copies them all to the release repo.

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

7 months agocontainer/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD
Dan Mick [Fri, 15 Nov 2024 01:49:15 +0000 (17:49 -0800)]
container/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD

Used for accessing download.ceph.com

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

7 months agocontainer/build.sh:
Dan Mick [Thu, 14 Nov 2024 22:28:32 +0000 (14:28 -0800)]
container/build.sh:

- change repo path to prerelease
- remove image id arg for release push
- include 'v' in version name for release push

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