]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
7 weeks agoMerge pull request #65255 from joscollin/wip-72278-tentacle
Igor Golikov [Mon, 5 Jan 2026 10:29:41 +0000 (12:29 +0200)]
Merge pull request #65255 from joscollin/wip-72278-tentacle

tentacle: mds: include auth credential in session dump

7 weeks agoMerge pull request #63345 from k0ste/wip-71359-tentacle
Kefu Chai [Thu, 1 Jan 2026 14:38:48 +0000 (22:38 +0800)]
Merge pull request #63345 from k0ste/wip-71359-tentacle

tentacle: mgr/DaemonServer: fixed mistype for mgr_osd_messages

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
8 weeks agoMerge pull request #66737 from tchaikov/tentacle-backport-pr-66732
David Galloway [Mon, 29 Dec 2025 21:23:42 +0000 (16:23 -0500)]
Merge pull request #66737 from tchaikov/tentacle-backport-pr-66732

tentacle: debian/control: add iproute2 to build dependencies

8 weeks agoMerge pull request #66706 from tchaikov/tentacle-backport-pr-66700
David Galloway [Mon, 29 Dec 2025 21:20:31 +0000 (16:20 -0500)]
Merge pull request #66706 from tchaikov/tentacle-backport-pr-66700

tentacle: mgr/dashboard: update teuth_ref hash in api test

2 months agodebian/control: add iproute2 to build dependencies
Kefu Chai [Wed, 24 Dec 2025 05:55:26 +0000 (13:55 +0800)]
debian/control: add iproute2 to build dependencies

Test scripts like qa/tasks/cephfs/mount.py expect the ip command to be
available in the container environment. Without it, tests fail with:

```
  /bin/bash: line 1: ip: command not found

  File "/ceph/qa/tasks/cephfs/mount.py", line 96, in cleanup_stale_netnses_and_bridge
    p = remote.run(args=['ip', 'netns', 'list'],
  ...
  teuthology.exceptions.CommandFailedError: Command failed with status 127: 'ip netns list'
```

Add iproute2 to the debian package build dependencies when the
<pkg.ceph.check> build profile is enabled. This ensures the package is
available during container-based builds, since buildcontainer-setup.sh
→ script/run-make.sh → install-deps.sh → debian/control → generated
dependency package chain respects build profiles configured via
`FOR_MAKE_CHECK` and `WITH_CRIMSON` environment variables set in
Dockerfile.build.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 599922aa582bbaa6fa8c8e274b780fabafb10a9b)

2 months agomgr/dashboard: update teuth_ref hash in api test
Nizamudeen A [Fri, 19 Dec 2025 12:41:05 +0000 (18:11 +0530)]
mgr/dashboard: update teuth_ref hash in api test

update the hash to the latest commit where Kefu addressed the distutils
error.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 36fb920c5e88f7da24d0c7289d7e6bafd8b367d2)

2 months agoMerge pull request #66672 from ceph/apt-mirror-tentacle wip-tomer-tentacle-centos9-only
David Galloway [Fri, 19 Dec 2025 03:50:50 +0000 (22:50 -0500)]
Merge pull request #66672 from ceph/apt-mirror-tentacle

tentacle: install-deps: Replace apt-mirror

2 months agoinstall-deps: Replace apt-mirror
David Galloway [Tue, 16 Dec 2025 22:08:00 +0000 (17:08 -0500)]
install-deps: Replace apt-mirror

apt-mirror.front.sepia.ceph.com has happened to always work because we set up CNAMEs to gitbuilder.ceph.com.

That host is making its way to a new home upstate (literally and figuratively) so we'll get rid of the front subdomain since it's publicly accessible anyway and add TLS while we're at it.

Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 0b0c73ad860b20912c862b5376057153a5adab40)

2 months agoMerge pull request #66543 from aainscow/wip-74129-tentacle
Laura Flores [Mon, 15 Dec 2025 17:14:33 +0000 (11:14 -0600)]
Merge pull request #66543 from aainscow/wip-74129-tentacle

tentacle: osd: Fix fast EC truncate to whole stripe

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radosław Zarzyński <Radoslaw.Adam.Zarzynski@ibm.com>
2 months agoMerge pull request #66592 from NitzanMordhai/wip-nitzan-pickup-object-corpus-20.2...
NitzanMordhai [Mon, 15 Dec 2025 11:09:57 +0000 (13:09 +0200)]
Merge pull request #66592 from NitzanMordhai/wip-nitzan-pickup-object-corpus-20.2.0-380-gdbcbbd3f281-tentacle

tentacle: pickup object corpus 20.2.0 380 gdbcbbd3f281

2 months agoMerge pull request #66590 from tchaikov/wip-66528-tentacle
Kefu Chai [Fri, 12 Dec 2025 14:26:16 +0000 (22:26 +0800)]
Merge pull request #66590 from tchaikov/wip-66528-tentacle

tentacle: debian/control: record python3-packaging dependency for ceph-volume

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 months agodoc/dev: update release checklist ceph-object-corpus
Nitzan Mordechai [Wed, 10 Dec 2025 13:27:51 +0000 (13:27 +0000)]
doc/dev: update release checklist ceph-object-corpus

Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2 months agoceph-object-corpus: pick up 20.2.0-380-gdbcbbd3f281
Nitzan Mordechai [Wed, 10 Dec 2025 13:25:55 +0000 (13:25 +0000)]
ceph-object-corpus: pick up 20.2.0-380-gdbcbbd3f281
ceph-object-corpus submodule

Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2 months agodebian/control: record python3-packaging dependency for ceph-volume
Thomas Lamprecht [Wed, 31 Jul 2024 07:48:08 +0000 (09:48 +0200)]
debian/control: record python3-packaging dependency for ceph-volume

Commit 0985e201 added `from packaging import version` to
ceph_volume/util/encryption.py. On Debian and its derivatives, the
packaging module is provided by the python3-packaging package.

Add python3-packaging to ceph-volume's runtime dependencies to ensure
this import is satisfied.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Max R. Carrara <m.carrara@proxmox.com>
(cherry picked from commit a6ab6c63853d071f7383b0ce51d278de92fc3960)

2 months agoMerge pull request #65964 from ifed01/wip-ifed-fix-70390-tent
Adam Kupczyk [Tue, 9 Dec 2025 20:31:18 +0000 (21:31 +0100)]
Merge pull request #65964 from ifed01/wip-ifed-fix-70390-tent

tentacle: os/bluestore: cumulative patch to fix extent map resharding and around

2 months agoosd: Fix fast EC truncate to whole stripe wip-74129-tentacle
Alex Ainscow [Sat, 6 Dec 2025 10:14:08 +0000 (10:14 +0000)]
osd: Fix fast EC truncate to whole stripe

WritePlanObj has a key-not-found exception on truncates to exact
stripe lengths.

I have recreated in a unit test as well as on a real system.

It is a concern that ceph_test_rados and ceph_test_rados_io_sequence
never hit this pattern naturally.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 6075be4821e4a03b56c871a3b35fbd3375ee16e6)

2 months agoMerge pull request #66481 from rhcs-dashboard/wip-74029-tentacle
Afreen Misbah [Fri, 5 Dec 2025 09:19:09 +0000 (14:49 +0530)]
Merge pull request #66481 from rhcs-dashboard/wip-74029-tentacle

tentacle: mgr/dashboard: service creation fails if service name is same as sevice type

Reviewed-by: Naman Munet <nmunet@redhat.com>
2 months agoMerge pull request #66350 from rhcs-dashboard/wip-73913-tentacle
Afreen Misbah [Thu, 4 Dec 2025 14:32:58 +0000 (20:02 +0530)]
Merge pull request #66350 from rhcs-dashboard/wip-73913-tentacle

tentacle: mgr/dashboard: replace bootstrap badges with carbon tags

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #66156 from joscollin/wip-73743-tentacle
Neeraj Pratap Singh [Thu, 4 Dec 2025 12:10:30 +0000 (17:40 +0530)]
Merge pull request #66156 from joscollin/wip-73743-tentacle

tentacle: client: fix dump_mds_requests to valid json format

2 months agotentacle mgr/dashboard: replace bootstrap badges with carbon tags
pujaoshahu [Wed, 16 Oct 2024 15:57:58 +0000 (21:27 +0530)]
tentacle mgr/dashboard: replace bootstrap badges with carbon tags

Fixes: https://tracker.ceph.com/issues/68252
Signed-off-by: pujaoshahu <pshahu@redhat.com>
(cherry picked from commit a0da67cb7f0e6066cb1fd0ba164564dc13bb688b)

  Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/cluster.module.ts
        src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-sync-primary-zone/rgw-sync-primary-zone.component.html
        src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation.module.ts
        src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html
        src/pybind/mgr/dashboard/frontend/src/app/shared/components/card/card.component.html
        src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
        src/pybind/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.html
        src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss
        src/pybind/mgr/dashboard/frontend/src/styles.scss

2 months agomgr/dashboard: service creation fails if service name is same as service type
Naman Munet [Fri, 21 Nov 2025 04:41:44 +0000 (10:11 +0530)]
mgr/dashboard: service creation fails if service name is same as service type

Fixes: https://tracker.ceph.com/issues/73948
Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit 57d081d6b5efcbeac6c60e73d50aa5f1f8cab560)

2 months agoMerge pull request #66276 from rhcs-dashboard/wip-73755-tentacle
afreen23 [Tue, 2 Dec 2025 13:15:19 +0000 (18:45 +0530)]
Merge pull request #66276 from rhcs-dashboard/wip-73755-tentacle

tentacle: mgr/dashboard : fix - about model tooltip issue

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #66351 from rhcs-dashboard/wip-73950-tentacle
afreen23 [Tue, 2 Dec 2025 13:14:54 +0000 (18:44 +0530)]
Merge pull request #66351 from rhcs-dashboard/wip-73950-tentacle

tentacle: mgr/dashboard: rgw accounts form group mode disable option is not working

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #66401 from afreen23/wip-73976-tentacle
afreen23 [Tue, 2 Dec 2025 13:04:46 +0000 (18:34 +0530)]
Merge pull request #66401 from afreen23/wip-73976-tentacle

tentacle: mgr/dashboard: Carbonize the Change Password Form

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agomgr/dashboard: Carbonize the Change Password Form
Afreen Misbah [Tue, 21 Oct 2025 16:37:46 +0000 (22:07 +0530)]
mgr/dashboard: Carbonize the Change Password Form

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

-  using carbon based stylings, typography and components
-  used grid layout for form arrangement
-  breadcrumb is slightly off, which needs to be fixed by applying grid layout to the app shell

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 2d43f598b8f4ffa3392632c25265794ea7110933)

2 months agoMerge pull request #66464 from cbodley/wip-doc-release-os-recommendation-tentacle
Casey Bodley [Mon, 1 Dec 2025 21:57:31 +0000 (16:57 -0500)]
Merge pull request #66464 from cbodley/wip-doc-release-os-recommendation-tentacle

tentacle: doc: add Tentacle to os recommendations

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agodoc: remove redundant note about tested container hosts
Casey Bodley [Mon, 1 Dec 2025 17:53:59 +0000 (12:53 -0500)]
doc: remove redundant note about tested container hosts

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

2 months agodoc: remove old distros from os recommendations
Casey Bodley [Mon, 1 Dec 2025 17:53:42 +0000 (12:53 -0500)]
doc: remove old distros from os recommendations

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

2 months agodoc: remove os recommendations for eol releases
Casey Bodley [Wed, 26 Nov 2025 16:06:16 +0000 (11:06 -0500)]
doc: remove os recommendations for eol releases

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

2 months agodoc/dev: add os-recommendations.rst to release checklist
Casey Bodley [Wed, 26 Nov 2025 15:44:14 +0000 (10:44 -0500)]
doc/dev: add os-recommendations.rst to release checklist

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

2 months agodoc: add Tentacle to os recommendations
Casey Bodley [Wed, 26 Nov 2025 15:41:31 +0000 (10:41 -0500)]
doc: add Tentacle to os recommendations

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

2 months agodoc: remove Octopus and Centos7 from os recommendations
Casey Bodley [Wed, 26 Nov 2025 15:36:53 +0000 (10:36 -0500)]
doc: remove Octopus and Centos7 from os recommendations

cleanup to prepare for tentacle

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

2 months agodoc: Update os-recommendations.rst to remove empty rows
Joseph Mundackal [Thu, 9 Oct 2025 17:09:26 +0000 (13:09 -0400)]
doc: Update os-recommendations.rst to remove empty rows

- Removing rows in tables without any supported versions

Signed-off-by: Joseph Mundackal <jmundackal@bloomberg.net>
(cherry picked from commit ab30d60998b926b546cf6ef424ef70498f5d3163)

2 months agoMerge pull request #65605 from adamemerson/wip-70916-tentacle
Yuri Weinstein [Mon, 1 Dec 2025 18:37:25 +0000 (10:37 -0800)]
Merge pull request #65605 from adamemerson/wip-70916-tentacle

tentacle: test/neorados: Catch timeouts in Poll test

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge pull request #66324 from ljflores/wip-73932-tentacle
Laura Flores [Fri, 21 Nov 2025 21:32:21 +0000 (15:32 -0600)]
Merge pull request #66324 from ljflores/wip-73932-tentacle

tentacle: mon: ceph pg repeer should propose a correctly sized pg temp.

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agomgr/dashboard: rgw accounts form group mode disable option is not working
Naman Munet [Wed, 19 Nov 2025 14:58:25 +0000 (20:28 +0530)]
mgr/dashboard: rgw accounts form group mode disable option is not working

Fixes: https://tracker.ceph.com/issues/73926
Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit 89005c0f29ccad9a8bab37dba94f4559e135a238)

3 months agoMerge pull request #66334 from jmundack/wip-73920-tentacle
Radoslaw Zarzynski [Fri, 21 Nov 2025 11:10:00 +0000 (12:10 +0100)]
Merge pull request #66334 from jmundack/wip-73920-tentacle

tentacle: test/ceph_assert.cc: Disable core files

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge pull request #66306 from afreen23/wip-73896-tentacle
afreen23 [Fri, 21 Nov 2025 10:07:18 +0000 (15:37 +0530)]
Merge pull request #66306 from afreen23/wip-73896-tentacle

tentacle: mgr/dashboard: Remove illegible texts from the dashboard

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #66256 from tchaikov/wip-tentacle-bp-pr-65936
Kefu Chai [Fri, 21 Nov 2025 09:36:41 +0000 (17:36 +0800)]
Merge pull request #66256 from tchaikov/wip-tentacle-bp-pr-65936

tentacle: cephadm, debian/rules: Use system packages for cephadm bundled dependencies

Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 months agoMerge pull request #66248 from tchaikov/wip-tentacle-bp-pr-65935
Kefu Chai [Fri, 21 Nov 2025 08:46:59 +0000 (16:46 +0800)]
Merge pull request #66248 from tchaikov/wip-tentacle-bp-pr-65935

tentacle: debian/control: Add libxsimd-dev build dependency for vendored Arrow

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #66302 from rhcs-dashboard/wip-73882-tentacle
afreen23 [Fri, 21 Nov 2025 07:17:53 +0000 (12:47 +0530)]
Merge pull request #66302 from rhcs-dashboard/wip-73882-tentacle

tentacle: mgr/dashboard: Carbonize multisite sync policy forms

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agotest/ceph_assert.cc: Disable core files
Bob Ham [Thu, 10 Apr 2025 12:24:22 +0000 (12:24 +0000)]
test/ceph_assert.cc: Disable core files

Without this, core files are produced which subsequently cause
failures in other tests, specifically smoke.sh and safe-to-destroy.sh.

Fixes: bfa83df6d33ee2238f1389ca4518592b5c4fb267
Signed-off-by: Bob Ham <bham12@bloomberg.net>
test/ceph_assert.cc: Update line numbers

Signed-off-by: Bob Ham <bham12@bloomberg.net>
(cherry picked from commit 430a9aad5538f7f2e7aa0595220b4cae78d252a3)

3 months agoMerge pull request #66102 from shraddhaag/wip-73686-tentacle
Shraddha Agrawal [Thu, 20 Nov 2025 12:28:06 +0000 (17:58 +0530)]
Merge pull request #66102 from shraddhaag/wip-73686-tentacle

tentacle: tasks/cbt_performance: Tolerate exceptions during performance data up…

3 months agotasks/cbt_performance: Tolerate exceptions during performance data updates
Nitzan Mordechai [Wed, 22 Oct 2025 05:41:56 +0000 (05:41 +0000)]
tasks/cbt_performance: Tolerate exceptions during performance data updates

If an exception occurs during the POST request to update CBT performance,
log the error instead of failing the entire job. This ensures that
intermittent update failures do not block the main workflow.

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

3 months agomon: ceph pg repeer should propose a correctly sized pg temp.
Alex Ainscow [Wed, 19 Nov 2025 11:32:14 +0000 (11:32 +0000)]
mon: ceph pg repeer should propose a correctly sized pg temp.

Fixes: https://tracker.ceph.com/issues/73897
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit a3cc500a543d1c2fb9e1d55c144e0a041e3d1f80)

3 months agoMerge pull request #65830 from soumyakoduri/wip-skoduri-tentacle
J. Eric Ivancich [Wed, 19 Nov 2025 18:16:45 +0000 (13:16 -0500)]
Merge pull request #65830 from soumyakoduri/wip-skoduri-tentacle

[rgw][tentacle] backport of cloud-restore related PRs

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
3 months agomgr/dashboard: Remove illegible texts from the dashboard
Afreen Misbah [Mon, 17 Nov 2025 17:18:58 +0000 (22:48 +0530)]
mgr/dashboard: Remove illegible texts from the dashboard

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit d4969e18310b707a0611409461dd85683af06249)

3 months agoMerge pull request #66295 from rhcs-dashboard/wip-73876-tentacle
afreen23 [Tue, 18 Nov 2025 12:16:50 +0000 (17:46 +0530)]
Merge pull request #66295 from rhcs-dashboard/wip-73876-tentacle

tentacle: mgr/dashboard : Remove subalerts details for multiple subalerts

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #66271 from rhcs-dashboard/wip-73855-tentacle
afreen23 [Tue, 18 Nov 2025 07:25:20 +0000 (12:55 +0530)]
Merge pull request #66271 from rhcs-dashboard/wip-73855-tentacle

tentacle: mgr/dashboard : Fixed warning icon colour issue with carbon colour

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #66284 from afreen23/wip-73869-tentacle
afreen23 [Tue, 18 Nov 2025 07:24:55 +0000 (12:54 +0530)]
Merge pull request #66284 from afreen23/wip-73869-tentacle

tentacle: mgr/dashboard: Set max subsystem count to 512 rather than 4096

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 months agoMerge pull request #66209 from rhcs-dashboard/wip-73803-tentacle
Nizamudeen A [Tue, 18 Nov 2025 03:36:57 +0000 (09:06 +0530)]
Merge pull request #66209 from rhcs-dashboard/wip-73803-tentacle

tentacle: mgr/cephadm: update grafana conf for disconnected environment

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
3 months agomgr/dashboard: Carbonize multisite sync policy forms
Naman Munet [Fri, 31 Oct 2025 17:38:49 +0000 (23:08 +0530)]
mgr/dashboard: Carbonize multisite sync policy forms

Fixes: https://tracker.ceph.com/issues/73164
Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit 495f9b74965ea255776b9f4605f7a2df0016bcfd)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-sync-flow-modal/rgw-multisite-sync-flow-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-sync-pipe-modal/rgw-multisite-sync-pipe-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-sync-pipe-modal/rgw-multisite-sync-pipe-modal.component.spec.ts

3 months agoMerge pull request #66164 from VinayBhaskar-V/wip-73737-tentacle
Yuri Weinstein [Mon, 17 Nov 2025 19:51:31 +0000 (11:51 -0800)]
Merge pull request #66164 from VinayBhaskar-V/wip-73737-tentacle

tentacle: rbd-mirror: allow incomplete demote snapshot to sync after rbd-mirror daemon restart

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 months agomgr/dashboard : Remove subalerts details for multiple subalerts
Abhishek Desai [Sun, 9 Nov 2025 19:18:20 +0000 (00:48 +0530)]
mgr/dashboard : Remove subalerts details for multiple subalerts
fixes : https://tracker.ceph.com/issues/73766
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit d6ba31e800648a03f1e62e6f0425391b74f09d67)

3 months agomgr/dashboard: Set max subsystem count to 512 rather than 4096
Afreen Misbah [Mon, 17 Nov 2025 05:01:45 +0000 (10:31 +0530)]
mgr/dashboard: Set max subsystem count to 512 rather than 4096

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

- regression from https://github.com/ceph/ceph/pull/64477/files
- removing frontend valdations as this values are volatiel and require changes every release. Nvmeof is seeting these and validating as well.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit d29084085bab52ef6eba224d35b58c44b6157ef6)

3 months agoMerge pull request #65544 from guits/wip-72981-tentacle
Guillaume Abrioux [Mon, 17 Nov 2025 15:36:30 +0000 (16:36 +0100)]
Merge pull request #65544 from guits/wip-72981-tentacle

tentacle: ceph-volume: support additional dmcrypt params

3 months agomgr/dashboard : fix - about model tooltip issue
Devika Babrekar [Mon, 17 Nov 2025 10:24:51 +0000 (15:54 +0530)]
mgr/dashboard : fix - about model tooltip issue
fixes : https://tracker.ceph.com/issues/73753
Signed-off-by: Devika Babrekar <devika.babrekar@ibm.com>
(cherry picked from commit ea060de8481ec7b5163fcb2d6512e2e7dca569ae)

3 months agoMerge pull request #65098 from idryomov/wip-72544-tentacle
Ilya Dryomov [Mon, 17 Nov 2025 08:25:37 +0000 (09:25 +0100)]
Merge pull request #65098 from idryomov/wip-72544-tentacle

tentacle: pybind/rados: Add list_lockers() and break_lock() to Rados Python interface

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
3 months agomgr/dashboard : Fixed warning icon colour issue with carbon colour
Abhishek Desai [Mon, 10 Nov 2025 06:10:34 +0000 (11:40 +0530)]
mgr/dashboard : Fixed warning icon colour issue with carbon colour
fixes : https://tracker.ceph.com/issues/73769
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 6ee90df0035d1ce501d17b1bc65e13d29b7b8835)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html

3 months agodebian: Use system packages for cephadm bundled dependencies
Kefu Chai [Tue, 21 Oct 2025 03:25:00 +0000 (11:25 +0800)]
debian: Use system packages for cephadm bundled dependencies

Configure the Debian build to use CEPHADM_BUNDLED_DEPENDENCIES=deb,
which instructs the cephadm build script to bundle dependencies from
system-installed Debian packages instead of downloading from PyPI.

This change addresses build failures in restricted network environments
where Debian build tools do not permit internet access. By leveraging
the Debian package support added in commit 9378a2988e1, the build now
uses python3-markupsafe, python3-jinja2, and python3-yaml packages
that are already installed as build dependencies.

This approach mirrors the existing RPM packaging workflow, ensuring
consistent behavior across different distribution package formats.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 25680021ee2422f8b8b4075b3ab77af39126eecc)

3 months agocephadm/tests: Add tests for deb bundled dependencies
Kefu Chai [Tue, 21 Oct 2025 03:26:25 +0000 (11:26 +0800)]
cephadm/tests: Add tests for deb bundled dependencies

Add container definitions and test cases for building cephadm with
Debian package dependencies. The new test_cephadm_build_from_debs
function mirrors the existing RPM test structure, verifying that:

- Build succeeds when required Debian packages are installed
- Build fails when packages are missing
- Bundled packages are correctly identified as sourced from 'deb'
- All expected packages (Jinja2, MarkupSafe, PyYAML) are included
- The zipapp contains expected package directories

Test environments include Ubuntu 22.04 and 24.04 with and without
the required python3-jinja2, python3-yaml, and python3-markupsafe
packages.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit f670dce5d0b819f2fb105339d8611509e81a0355)

3 months agocephadm/build: Add Debian package support for bundled dependencies
Kefu Chai [Tue, 14 Oct 2025 13:04:42 +0000 (21:04 +0800)]
cephadm/build: Add Debian package support for bundled dependencies

Extends the cephadm build script to support bundling dependencies from
Debian packages in addition to pip and RPM packages. This allows building
cephadm on Debian-based distributions using system packages.

Key changes:
- Add 'deb' to DependencyMode enum to enable Debian package mode
- Implement _setup_deb() to configure Debian dependency requirements
- Add _install_deb_deps() to orchestrate Debian package installation
- Add _gather_deb_package_dirs() to parse Debian package file listings
  and locate Python package directories (handles both site-packages and
  dist-packages directories used by Debian)
- Add _deps_from_deb() to extract Python dependencies from installed
  Debian packages using dpkg/apt-cache tools
- Fix variable reference bug in _install_deps() (deps.mode -> config.deps_mode)

The Debian implementation follows a similar pattern to the existing RPM
support, using dpkg-query and dpkg -L to locate installed packages and
their files, with special handling for Debian naming conventions
(e.g., PyYAML -> python3-yaml).

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 3ff9b0c24e33debe95a0a0c6b42da30be788871c)

3 months agocephadm: fix zip_root_entries population in version command
Kefu Chai [Mon, 10 Nov 2025 04:11:08 +0000 (12:11 +0800)]
cephadm: fix zip_root_entries population in version command

The 'cephadm version --verbose' command was returning an empty
zip_root_entries list because it relied on the private '_files'
attribute of zipimport.zipimporter, which is not reliably populated
across Python versions.

This commit fixes the issue by using the zipfile module to properly
read the archive contents via the loader.archive path. This ensures
that zip_root_entries is correctly populated with the root-level
directories in the zipapp.

This fix is necessary for the cephadm build tests to properly validate
that all expected packages and modules are included in the built zipapp.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 2c68c1496dbb7cd01bf783e31510940445040a34)

3 months agocephadm/tests: fix _dist_info function logic error
Kefu Chai [Mon, 10 Nov 2025 04:10:46 +0000 (12:10 +0800)]
cephadm/tests: fix _dist_info function logic error

The _dist_info helper function had a logic error where it was checking
if 'entry.startswith(entry)' instead of 'entry.startswith(name)'. This
caused the function to always evaluate incorrectly when checking for
.dist-info or .egg-info entries in the zipapp.

This bug was preventing the test assertions from properly validating
that package metadata directories are included in the built cephadm
zipapp.

Fixes a bug introduced in commit 31c8010faa4.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 2fadd34104652940844eb914ff3b0b53cb5ff190)

3 months agoMerge pull request #66091 from rhcs-dashboard/wip-73680-tentacle
afreen23 [Thu, 13 Nov 2025 08:35:18 +0000 (14:05 +0530)]
Merge pull request #66091 from rhcs-dashboard/wip-73680-tentacle

tentacle: mgr/dashboard: fix icon alignment in navigation header

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agodebian/control: Add libxsimd-dev build dependency for vendored Arrow
Kefu Chai [Wed, 15 Oct 2025 07:46:26 +0000 (15:46 +0800)]
debian/control: Add libxsimd-dev build dependency for vendored Arrow

In commit e8460cbd, we introduced the "pkg.ceph.arrow" build profile to
support building with system Arrow packages. However, neither Debian nor
Ubuntu currently ships Arrow packages.

Since WITH_RADOSGW_SELECT_PARQUET is always enabled in debian/rules,
Arrow support is required for all builds. When the pkg.ceph.arrow profile
is not selected, the build uses vendored Arrow. With the recent change to
use AUTO mode for xsimd detection, Arrow will attempt to find system xsimd
>= 9.0.1. Adding libxsimd-dev as a build dependency ensures it's available
for Arrow to detect and use, reducing build time on supported distributions.

On distributions with insufficient xsimd versions (< 9.0.1), Arrow will
automatically fall back to its bundled version.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 929b47f83880683b376b9dcc0060938447f11c88)

3 months agocmake/BuildArrow: Use AUTO mode for xsimd dependency detection
Kefu Chai [Wed, 15 Oct 2025 07:46:22 +0000 (15:46 +0800)]
cmake/BuildArrow: Use AUTO mode for xsimd dependency detection

Arrow requires xsimd >= 9.0.1 according to arrow/cpp/thirdparty/versions.txt.
Previously, we unconditionally set -Dxsimd_SOURCE=BUNDLED, forcing the use
of Arrow's vendored xsimd regardless of system package availability.

This commit changes to -Dxsimd_SOURCE=AUTO, which allows Arrow's
resolve_dependency mechanism to automatically:
1. Try to find system xsimd package
2. Check if version >= 9.0.1
3. Use system version if found and sufficient
4. Fall back to bundled version otherwise

This reduces build time and dependencies on systems with sufficient xsimd,
while maintaining compatibility with older distributions.

Distribution availability:
- Ubuntu Noble (24.04): libxsimd-dev 12.1.1 (✓ will use system)
- Ubuntu Jammy (22.04): libxsimd-dev 7.6.0 (✗ will use bundled)
- Debian Trixie (13): libxsimd-dev 13.2.0 (✓ will use system)
- CentOS Stream 9: xsimd-devel 7.4.9 (✗ will use bundled)

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 2defde30e4c61cd9f33196b91ac16505928ce774)

6 months agomds: include auth credential in session dump
Patrick Donnelly [Wed, 2 Jul 2025 15:21:35 +0000 (11:21 -0400)]
mds: include auth credential in session dump

This looks like:

    [
        {
            "id": 4446,
            "auth_name": {
                "type": 16,
                "id": "x"
            },
        ...

Which would indicate it's a ceph-mgr with id "x".

Fixes: https://tracker.ceph.com/issues/71937
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 53a6e4e2ef31df21a7c05fda88f4634b8aa3735e)

6 months agoMerge pull request #65203 from rhcs-dashboard/wip-72625-tentacle
afreen23 [Tue, 26 Aug 2025 17:04:28 +0000 (22:34 +0530)]
Merge pull request #65203 from rhcs-dashboard/wip-72625-tentacle

tentacle: mgr/dashboard: Target Storage Class in s3 tiering Config

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #65224 from rhcs-dashboard/wip-72711-tentacle
afreen23 [Tue, 26 Aug 2025 15:18:59 +0000 (20:48 +0530)]
Merge pull request #65224 from rhcs-dashboard/wip-72711-tentacle

tentacle: mgr/dashboard : Optimized /host API to minimum resp

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #65225 from rhcs-dashboard/wip-72712-tentacle
afreen23 [Tue, 26 Aug 2025 14:30:21 +0000 (20:00 +0530)]
Merge pull request #65225 from rhcs-dashboard/wip-72712-tentacle

tentacle: mgr/dashboard : 72522 - Remove service instances column to imporve API perf

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #65106 from afreen23/wip-72525-tentacle
afreen23 [Tue, 26 Aug 2025 12:57:15 +0000 (18:27 +0530)]
Merge pull request #65106 from afreen23/wip-72525-tentacle

tentacle: mgr/dashboard: Stop rules api being polled on every page

Reviewed-by: Nizamudeen A <nia@redhat.com>
6 months agoMerge pull request #65107 from afreen23/wip-72607-tentacle
afreen23 [Tue, 26 Aug 2025 09:03:51 +0000 (14:33 +0530)]
Merge pull request #65107 from afreen23/wip-72607-tentacle

tentacle: Replace capacity threshold data with prometheus metrics

Reviewed-by: Nizamudeen A <nia@redhat.com>
6 months agoMerge pull request #65148 from cloudbehl/wip-72639-tentacle
Aashish Sharma [Tue, 26 Aug 2025 08:19:43 +0000 (13:49 +0530)]
Merge pull request #65148 from cloudbehl/wip-72639-tentacle

tentacle: prometheus: Add RBD image metadata to prometheus

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
6 months agoMerge pull request #65226 from aaSharma14/wip-72688-tentacle
Aashish Sharma [Tue, 26 Aug 2025 08:02:37 +0000 (13:32 +0530)]
Merge pull request #65226 from aaSharma14/wip-72688-tentacle

tentacle: Handle failures in metric parsing

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
6 months agoMerge pull request #65223 from rhcs-dashboard/wip-72716-tentacle
afreen23 [Tue, 26 Aug 2025 07:22:33 +0000 (12:52 +0530)]
Merge pull request #65223 from rhcs-dashboard/wip-72716-tentacle

tentacle: mgr/dashboard: rgw_crypt_kmip_addr in SSE-KMS kmip address input field validation updated

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agomgr/dashboard: Fix test_host.py test case
Abhishek Desai [Mon, 25 Aug 2025 14:11:45 +0000 (19:41 +0530)]
mgr/dashboard: Fix test_host.py test case
fixes: https://tracker.ceph.com/issues/72717

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
6 months agoHandle failures in metric parsing
Anmol Babu [Thu, 3 Jul 2025 13:25:39 +0000 (18:55 +0530)]
Handle failures in metric parsing

fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2345460
Signed-off-by: Anmol Babu <anmolbabu@Anmols-MacBook-Pro.local>
(cherry picked from commit f29e3f307c46401328e920204cbe893fbd837c65)

6 months agomgr/dashboard : 72522 - Remove service instances column to imporve API perf
Abhishek Desai [Mon, 11 Aug 2025 11:53:52 +0000 (17:23 +0530)]
mgr/dashboard : 72522 - Remove service instances column to imporve API perf
fixes : https://tracker.ceph.com/issues/72522

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 1dbebbd86c434137829fb9fce88cdc368f9d4993)

6 months agomgr/dashboard : Optimized /host API to minimum resp
Abhishek Desai [Sun, 17 Aug 2025 18:37:47 +0000 (00:07 +0530)]
mgr/dashboard : Optimized /host API to minimum resp
fixes : https://tracker.ceph.com/issues/72608

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit cd2d91a6e78af339c86a24e42bdb705d854262f5)

6 months agomgr/dashboard: rgw_crypt_kmip_addr in SSE-KMS kmip address input field validation...
Abhishek Desai [Mon, 4 Aug 2025 19:30:52 +0000 (01:00 +0530)]
mgr/dashboard: rgw_crypt_kmip_addr in SSE-KMS kmip address input field validation updated
fixes : https://tracker.ceph.com/issues/72408

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 4aa462b091780dcfc7a297e57b314ba5a3a479fe)

6 months agoMerge pull request #65072 from baum/72508_backport
Yuri Weinstein [Mon, 25 Aug 2025 21:06:46 +0000 (14:06 -0700)]
Merge pull request #65072 from baum/72508_backport

tentacle: nvmeof: create /dev/dsa if DSA acceleration is enabled and the device…

Reviewed-by: Adam King adking@redhat.com
6 months agomgr/dashboard: Replace capacity threshold data with prometheus metrics
Afreen Misbah [Mon, 11 Aug 2025 09:03:32 +0000 (14:33 +0530)]
mgr/dashboard: Replace capacity threshold data with prometheus metrics

- Fixes https://tracker.ceph.com/issues/72519
- the osd dump metrics is used in /api/osd/settings
- this metrics creates perf bottleneck when osds are 1000s
- replacing with similar prometheus metrics
- minor refactors - including renaming, comments.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 3281ccfe3542e22e141681cba77cc7970ba10e7b)

Conflicts:
    src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.ts
    src/pybind/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.ts

6 months agomgr/dashboard: Stop rules api being polled on every page
Afreen Misbah [Wed, 6 Aug 2025 07:37:16 +0000 (13:07 +0530)]
mgr/dashboard: Stop rules api being polled on every page

- /rules ar epolled every 5 seconds on every page
- it is only required for alerts page where full rules list is shown in `Alerts` tab
- also added observable for getting rules instead of plain array

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit df984d72df1370181328dc3ec30a22619841c185)

6 months agoMerge pull request #65100 from rhcs-dashboard/wip-72622-tentacle
afreen23 [Mon, 25 Aug 2025 13:47:44 +0000 (19:17 +0530)]
Merge pull request #65100 from rhcs-dashboard/wip-72622-tentacle

tentacle: mgr/dashboard: add tab structure to File Systems page and embed Ceph-Filesystem Overview dashboard

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agomgr/dashboard: [RGW] - Target Storage Class in s3 tiering config
Dnyaneshwari [Thu, 14 Aug 2025 05:15:52 +0000 (10:45 +0530)]
mgr/dashboard: [RGW] - Target Storage Class in s3 tiering config

Fixes: https://tracker.ceph.com/issues/72583
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit 0478bf227e77a986217adc7b1b28d1568661fb32)

6 months agoMerge pull request #65110 from rhcs-dashboard/wip-72492-tentacle
afreen23 [Mon, 25 Aug 2025 09:22:10 +0000 (14:52 +0530)]
Merge pull request #65110 from rhcs-dashboard/wip-72492-tentacle

tentacle: mgr/dashboard: fix table loading while fetching data

Reviewed-by: Naman Munet <nmunet@redhat.com>
6 months agoMerge pull request #65179 from phlogistonjohn/jjm-tentacle-bwc
David Galloway [Fri, 22 Aug 2025 15:22:17 +0000 (11:22 -0400)]
Merge pull request #65179 from phlogistonjohn/jjm-tentacle-bwc

tentacle: backport build-with-container patches from main

6 months agoMerge pull request #65124 from zdover23/wip-doc-2025-08-19-backport-64929-to-tentacle
Zac Dover [Fri, 22 Aug 2025 08:46:33 +0000 (18:46 +1000)]
Merge pull request #65124 from zdover23/wip-doc-2025-08-19-backport-64929-to-tentacle

tentacle: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #65121 from zdover23/wip-doc-2025-08-19-backport-65021-to-tentacle
Zac Dover [Fri, 22 Aug 2025 08:46:08 +0000 (18:46 +1000)]
Merge pull request #65121 from zdover23/wip-doc-2025-08-19-backport-65021-to-tentacle

tentacle: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #65092 from zdover23/wip-doc-2025-08-18-backport-64931-to-tentacle
Zac Dover [Fri, 22 Aug 2025 08:45:46 +0000 (18:45 +1000)]
Merge pull request #65092 from zdover23/wip-doc-2025-08-18-backport-64931-to-tentacle

tentacle: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agobuild-with-container: improve source rpm detection
John Mulligan [Tue, 19 Aug 2025 23:12:07 +0000 (19:12 -0400)]
build-with-container: improve source rpm detection

Improve source rpm detection by adding a new detection method that
executes and rpm command in a container to get exactly the version of
the source rpm that the ceph.spec file would have generated.  For
backwards compatibility and that I don't entirely trust myself to have
tested this the old methods are still available.

The old `--rpm-no-match-sha` is now an alias for `--srpm-match=any` to
cause it to build any (unique) ceph srpm it finds.
`--srpm-match=versionglob` retains the previous default behavior of
using a glob matching on the git id or ceph version value.  The new
default of `--srpm-match=auto` implements the rpm command based behavior
described above.

All of this is wrapped in a new step `find-rpm` but that's mostly an
implementation detail and for testing.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 916088a4e7380cd7ac1403fb4416ef91ab07aa52)

6 months agomake-srpm.sh: don't shell out redundantly to pwd
John Mulligan [Tue, 19 Aug 2025 19:03:51 +0000 (15:03 -0400)]
make-srpm.sh: don't shell out redundantly to pwd

Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 544d8ab5eb81fc5b8b950c2c1c116fad6b1a40c4)

6 months agopybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc
Dan Mick [Wed, 13 Aug 2025 19:16:45 +0000 (12:16 -0700)]
pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Add an optional NPM_CACHEDIR environment variable to serve as the
cache parameter for npm in the dashboard frontend build.  The idea
is to allow it to persist across builds so that we decrease the load
on registry.npmjs.org, which has been throttling our requests when
using build-with-container.py, and also hopefully improve the time
of the frontend npm operations.

build-with-container.py also grows a --npm-cache-path option to allow
setting it for container builds and passing the envvar to the build.

Fixes: https://tracker.ceph.com/issues/72298
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit ad7e6117a9e99061a3ad7e03709dd31e34832966)

6 months agodashboard: fix the workaround for unpacking node sources
John Mulligan [Wed, 21 May 2025 21:46:40 +0000 (17:46 -0400)]
dashboard: fix the workaround for unpacking node sources

My previous workaround in the dashboard for the unpacking of non-root
own tarball as the fake root of a container did not work because of the
strange quoting/escaping behavior of cmake (it tried to run `id -u` as a
single command, not a command and an argument).
Use single quoted string and old school backticks to work around this issue.

Fixes: 24dbfb5da4813c6588f9cd199b9f527bb67f1e88
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 3a36180a373d91adcf9726660204f0cc1dcecba3)

6 months agodashboard: ensure nodeenv downloaded content is owned by current user
John Mulligan [Fri, 2 May 2025 15:17:53 +0000 (11:17 -0400)]
dashboard: ensure nodeenv downloaded content is owned by current user

When testing ceph builds in a container we discovered that certain files
could not be deleted by jenkins after a build. This was due to the way
the container maps IDs - files owned by the root user in the container
become owned by the "real" user/jenkins user on the "host".
However, the node tarball that is fetched and unpacked by nodeenv has
a different owner name/uid that is preserved in the tree and this id
gets mapped to something that can be managed by the "fake root" of the
container but not by the "regular" user outside the container.

The simplest workaround I can think of is to chown the tree back
to the current user and avoid leaving files on disk with uncleanly
mapped uids.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 24dbfb5da4813c6588f9cd199b9f527bb67f1e88)

6 months agoscript/build-with-container: support --build-arg arguments
John Mulligan [Fri, 20 Jun 2025 23:46:16 +0000 (19:46 -0400)]
script/build-with-container: support --build-arg arguments

Allow passing --build-arg arguments to build-with-container.py
which are passed directly to the container build command.
This allows a developer to toggle certain features of the build
container, however this should not be used in CI.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 7802a61150af85ef49c666666af753cee5a14451)

6 months agoDockerfile.build: make WITH_CRIMSON a build arg
John Mulligan [Fri, 20 Jun 2025 23:34:45 +0000 (19:34 -0400)]
Dockerfile.build: make WITH_CRIMSON a build arg

We've chosen to enable crimson by default to match the CI, but that
is not always something a developer may want, so make WITH_CRIMSON
a build argument that can be toggled off if necessary.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 9cbadc2e6009cbbf3bc757f801d3508da6fe498d)

6 months agomgr/dashboard: add a cobertura xml file workaround variable
John Mulligan [Thu, 29 May 2025 17:41:45 +0000 (13:41 -0400)]
mgr/dashboard: add a cobertura xml file workaround variable

Add an environment variable REWRITE_COVERAGE_ROOTDIR that
changes the "hardcoded" path in the cobertura-coverage.xml file.
This can be used to map the paths used in a container build to
the paths known to a jenkins job (or whatever else you want to
do with the file).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit f80dad2e0adfb5bca33fab292728f5c085ca3a78)

6 months agoscript/build-with-container: remove unused build arg
John Mulligan [Thu, 29 May 2025 14:21:49 +0000 (10:21 -0400)]
script/build-with-container: remove unused build arg

Remove the unused build arg for JENKINS_HOME. This was
once used to try and create build images like the CI jobs. However,
the env var is now unconditionally set in the build script and must
be passed (or not) explicitly by the user.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 6f5b23a39eadaa6e1f4df3a882cbb872f497d8fa)