]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
7 hours agoMerge pull request #2519 from ceph/no-centos-make-cehck main
Dan Mick [Sat, 27 Dec 2025 06:41:58 +0000 (22:41 -0800)]
Merge pull request #2519 from ceph/no-centos-make-cehck

ceph-pull-request: Don't run make check on CentOS9

2 days agoceph-pull-request: Don't run make check on CentOS9 2519/head
David Galloway [Wed, 24 Dec 2025 19:32:53 +0000 (14:32 -0500)]
ceph-pull-request: Don't run make check on CentOS9

Not ideal but easiest for stabilization for now

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 days agoMerge pull request #2518 from ceph/fix-withcrimson
David Galloway [Wed, 24 Dec 2025 19:14:28 +0000 (14:14 -0500)]
Merge pull request #2518 from ceph/fix-withcrimson

ceph-dev-pipeline: fix withCrimson def

2 days agoceph-dev-pipeline: fix withCrimson def 2518/head
David Galloway [Wed, 24 Dec 2025 19:13:31 +0000 (14:13 -0500)]
ceph-dev-pipeline: fix withCrimson def

Signed-off-by: David Galloway <david.galloway@ibm.com>
3 days agoMerge pull request #2516 from ceph/withcrimson
David Galloway [Tue, 23 Dec 2025 17:00:34 +0000 (12:00 -0500)]
Merge pull request #2516 from ceph/withcrimson

ceph-dev-pipeline: Still send with_crimson=true for main and wip

3 days agoceph-dev-pipeline: Still send with_crimson=true 2516/head
David Galloway [Mon, 22 Dec 2025 21:31:17 +0000 (16:31 -0500)]
ceph-dev-pipeline: Still send with_crimson=true

The replacement of crimson builds with debug builds is still half baked.  ceph.spec and install-deps are still expecting with_crimson to be set if the crimson dependency packages should be installed.

See https://github.com/ceph/ceph/blame/main/ceph.spec.in#L367-L384 for the dependencies that will never get installed.

This is manifesting in:
```
+ rpmbuild --rebuild '-D_topdir /ceph/rpmbuild' --with=sccache --without=dwz --with=tcmalloc /ceph/ceph-20.3.0-4645.gcfa448da.el9.src.rpm
error: Failed build dependencies:
cryptopp-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
gcc-toolset-13-gcc-plugin-annobin is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
gcc-toolset-13-libasan-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
gcc-toolset-13-libubsan-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
gnutls-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
hwloc-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
libasan is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
libpciaccess-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
libubsan is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
lksctp-tools-devel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
ragel is needed by ceph-2:20.3.0-4645.gcfa448da.el9.x86_64
Installing /ceph/ceph-20.3.0-4645.gcfa448da.el9.src.rpm
2025-12-22 17:48:10,148: INFO: step done: rpm failed in 00:00:27
```

Nothing will ever tell build-with-container.py or install-deps.sh to pull those dependencies in because we're no longer setting WITH_CRIMSON due to this removal https://github.com/ceph/ceph-build/commit/0f0e4fd7dea0c06d855b93581e5b13cc0bf4c350#diff-d34216471695ce2f36f9cf1550524392c85b94d0566b3bc6d591383411b91f25R218-L381.

Signed-off-by: David Galloway <david.galloway@ibm.com>
4 days agoMerge pull request #2513 from ceph/apt-mirror-cwi
Dan Mick [Mon, 22 Dec 2025 22:54:53 +0000 (14:54 -0800)]
Merge pull request #2513 from ceph/apt-mirror-cwi

ceph-windows: Update qcow2 image location. Bump VM spec.

5 days agoMerge pull request #2514 from ceph/fix-ceph-api
Dan Mick [Sun, 21 Dec 2025 20:00:53 +0000 (12:00 -0800)]
Merge pull request #2514 from ceph/fix-ceph-api

ceph-pr-api: Fix parameter

6 days agoceph-pr-api: Fix parameter 2514/head
David Galloway [Sat, 20 Dec 2025 22:30:18 +0000 (17:30 -0500)]
ceph-pr-api: Fix parameter

It's actually impossible to manually trigger this job right now without this

Signed-off-by: David Galloway <david.galloway@ibm.com>
6 days agoceph-windows: Update qcow2 image location. Bump VM spec. 2513/head
David Galloway [Sat, 20 Dec 2025 19:04:43 +0000 (14:04 -0500)]
ceph-windows: Update qcow2 image location. Bump VM spec.

The previous one was living on the LRC and served via reverse proxy.  The RDU lab was shut down earlier and I neglected to back the qcow2 image up.  Who knows when the old LRC will be brought back online so the image has been rebuilt.

Also bumping the VM resources.

Signed-off-by: David Galloway <david.galloway@ibm.com>
7 days agoMerge pull request #2512 from ceph/locale
David Galloway [Fri, 19 Dec 2025 16:25:39 +0000 (11:25 -0500)]
Merge pull request #2512 from ceph/locale

builder.yaml: Ensure locales are installed

7 days agoRevert "ceph-build-pull-requests: set UTF-8 for ansible-galaxy" 2512/head
David Galloway [Fri, 19 Dec 2025 16:15:32 +0000 (11:15 -0500)]
Revert "ceph-build-pull-requests: set UTF-8 for ansible-galaxy"

This reverts commit 1f500f1d47dd1ddb463489b7061fab3576c913d6.

7 days agoEnsure locales are installed. Set correct format.
David Galloway [Fri, 19 Dec 2025 13:49:26 +0000 (08:49 -0500)]
Ensure locales are installed. Set correct format.

I guess Ubuntu just tolerated the incorrect spelling.  Or used to?  Anyway..

```
root@toko07:~# grep PRETTY_NAME /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
root@toko07:~# locale -a | grep -i en_us
en_US.utf8

[root@toko08 ~]# grep PRETTY_NAME /etc/os-release
PRETTY_NAME="CentOS Stream 9"
[root@toko08 ~]# locale -a | grep -i en_us
en_US
en_US.iso885915
en_US.utf8
```

Signed-off-by: David Galloway <david.galloway@ibm.com>
7 days agoMerge pull request #2497 from Matan-B/wip-matanb-crimson-cleanup
David Galloway [Fri, 19 Dec 2025 15:52:05 +0000 (10:52 -0500)]
Merge pull request #2497 from Matan-B/wip-matanb-crimson-cleanup

build flavors: Cleanup "crimson", introduce "debug"

8 days agoMerge pull request #2508 from ceph/newvagrant
Dan Mick [Thu, 18 Dec 2025 20:27:36 +0000 (12:27 -0800)]
Merge pull request #2508 from ceph/newvagrant

builder.yaml: CentOS version-specific chacra repo for vagrant

8 days agoMerge pull request #2509 from ceph/cwpr
Dan Mick [Thu, 18 Dec 2025 20:10:21 +0000 (12:10 -0800)]
Merge pull request #2509 from ceph/cwpr

ceph-windows fixes

8 days agoceph-windows-PRs: Fix virt-install command 2509/head
David Galloway [Thu, 18 Dec 2025 19:39:27 +0000 (14:39 -0500)]
ceph-windows-PRs: Fix virt-install command

Behavior changed in newer virt-install.

`--import` says boot the prebuilt qcow2.  Older virt-install versions tolerated `--boot hd` without `--import` but now `--import` is required in this scenario and `--boot hd` is redundant.

Signed-off-by: David Galloway <david.galloway@ibm.com>
8 days agoceph-windows-image-build: Typo
David Galloway [Thu, 18 Dec 2025 19:39:02 +0000 (14:39 -0500)]
ceph-windows-image-build: Typo

Signed-off-by: David Galloway <david.galloway@ibm.com>
8 days agoMerge pull request #2507 from ceph/no-chgrp
David Galloway [Thu, 18 Dec 2025 16:41:41 +0000 (11:41 -0500)]
Merge pull request #2507 from ceph/no-chgrp

No chgrp

8 days agobuilder.yaml: CentOS version-specific chacra repo for vagrant 2508/head
David Galloway [Thu, 18 Dec 2025 16:32:04 +0000 (11:32 -0500)]
builder.yaml: CentOS version-specific chacra repo for vagrant

We know X version works on CentOS 7.  We need a newer version for CentOS 9.  We should have a per major version repo.

Signed-off-by: David Galloway <david.galloway@ibm.com>
8 days agoMerge pull request #2506 from dmick/remove-virtualenv
David Galloway [Thu, 18 Dec 2025 14:47:56 +0000 (09:47 -0500)]
Merge pull request #2506 from dmick/remove-virtualenv

quay-pruner: virtualenv is no more, use python3 -mvenv

9 days agoceph-dev-new-setup/build: Introduce crimson-tentacle builds 2497/head
Matan Breizman [Tue, 16 Dec 2025 10:52:07 +0000 (12:52 +0200)]
ceph-dev-new-setup/build: Introduce crimson-tentacle builds

See the following comment:
```
Tentacle is the last release that needs dedicated Crimson builds,
Later releases are able to use Crimson with the default build.
As the "Crimson flavor" is no longer available, we need a *temporary* way
to be able build Crimson for tentacle.
Note: This could be removed once Crimson we have Umbrella release builds.
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
9 days agoCleanup "crimson" flavor
Matan Breizman [Sun, 23 Nov 2025 12:18:11 +0000 (14:18 +0200)]
Cleanup "crimson" flavor

With https://github.com/ceph/ceph/pull/66229 merged,
Crimson is now included (though not used) by default in our RPM builds.
This means the existing default flavor can also be used for Crimson testing
by selecting Crimson as the default OSD package.

Notes:

* The previous workaround related to DWITH_STATIC_LIBSTDCXX is no longer
  relevant for Crimson (it was tied to older compiler issues).

* The crimson-only branch name selection is also cleaned up,
  as centos9-only can now be used instead.

* This change breaks Crimson Tentacle CI builds:
  The packaging update that includes Crimson in RPM builds was not backported to Tentacle.
  Tentacle builds would still require a dedicated flavor that enables WITH_CRIMSON
  However, since Crimson changes have not been backported to Tentacle (since the first RCA),
  there is no strong reason to keep building and testing the same Crimson HEAD.
  So we can use this opprtuinity to stop nightly Crimson/Tentacle builds and tests.

  See last Crimson tentacle run, (which is not expected to change):
  https://pulpito.ceph.com/teuthology-2025-11-22_22:56:11-crimson-rados-tentacle-distro-crimson-debug-smithi/

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
9 days agoMerge pull request #2498 from ceph/no-more-nice-guy
David Galloway [Wed, 17 Dec 2025 23:37:25 +0000 (18:37 -0500)]
Merge pull request #2498 from ceph/no-more-nice-guy

All: Limit PR checks to Ceph org

10 days agosetup_container_runtime: Move rm -f ceph_build after perms fix 2507/head
David Galloway [Tue, 16 Dec 2025 18:14:46 +0000 (13:14 -0500)]
setup_container_runtime: Move rm -f ceph_build after perms fix

We need to fix permissions first then delete the container if there were root-owned layers left over

Signed-off-by: David Galloway <david.galloway@ibm.com>
10 days agosetup_container_runtime: Proper permission handling
David Galloway [Tue, 16 Dec 2025 18:06:22 +0000 (13:06 -0500)]
setup_container_runtime: Proper permission handling

On fresh installs on Noble, `groups` returns `users`; not jenkins-build.

```
jenkins-build@toko01:~$ podman system reset --force
podman system info
WARN[0000] Found incomplete layer "92e4beace908310dc4c6a279e3a4cb7391da53fc9a8d3cce99402fdebe6b67da", deleting it
ERRO[0002] 23 errors occurred:
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/0ec3f2ca3bf6a1641caed388c53e76b63e9840354c473412e3deb7d00a510448/diff/usr: permission denied
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/8a5ece4bcb661d397bb30a79c74d26e202c4536bf12d07bcf351d6c2fab65790/diff/usr: permission denied
* unlinkat /home/jenkins-build/.local/share/containers/storage/overlay/ee5a1067f3e86d31a3bf233c0c60c6087b2bd39e9e9b3cb5cd8feea92f1e3692/diff/run: permission denied
```

Signed-off-by: David Galloway <david.galloway@ibm.com>
11 days agoquay-pruner: virtualenv is no more, use python3 -mvenv 2506/head
Dan Mick [Tue, 16 Dec 2025 06:15:30 +0000 (22:15 -0800)]
quay-pruner: virtualenv is no more, use python3 -mvenv

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 weeks agoMerge pull request #2505 from ceph/nodename
Dan Mick [Fri, 12 Dec 2025 19:48:49 +0000 (11:48 -0800)]
Merge pull request #2505 from ceph/nodename

builder: Fix and combine Sepia-specific tasks

2 weeks agobuilder: Fix and combine Sepia-specific tasks 2505/head
David Galloway [Fri, 12 Dec 2025 16:22:11 +0000 (11:22 -0500)]
builder: Fix and combine Sepia-specific tasks

Forgot to add 10.20 to the nodename task

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 weeks agoMerge pull request #2502 from ceph/needsrestart
David Galloway [Thu, 11 Dec 2025 02:51:56 +0000 (21:51 -0500)]
Merge pull request #2502 from ceph/needsrestart

builder: Configure (disable) needrestart

2 weeks agoMerge pull request #2503 from ceph/no-sudo-templates
Dan Mick [Wed, 10 Dec 2025 22:25:57 +0000 (14:25 -0800)]
Merge pull request #2503 from ceph/no-sudo-templates

builder.yml: Do not use sudo locally

2 weeks agoMerge pull request #2504 from dmick/utf8
David Galloway [Wed, 10 Dec 2025 22:23:28 +0000 (17:23 -0500)]
Merge pull request #2504 from dmick/utf8

ceph-build-pull-requests: set UTF-8 for ansible-galaxy

2 weeks agoMerge pull request #2501 from ceph/dgalloway-toko
Dan Mick [Wed, 10 Dec 2025 22:23:20 +0000 (14:23 -0800)]
Merge pull request #2501 from ceph/dgalloway-toko

builder.yml: Add POK

2 weeks agoceph-build-pull-requests: set UTF-8 for ansible-galaxy 2504/head
Dan Mick [Wed, 10 Dec 2025 22:17:07 +0000 (14:17 -0800)]
ceph-build-pull-requests: set UTF-8 for ansible-galaxy

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 weeks agobuilder.yml: Do not use sudo locally 2503/head
David Galloway [Wed, 10 Dec 2025 21:59:19 +0000 (16:59 -0500)]
builder.yml: Do not use sudo locally

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 weeks agobuilder: Configure (disable) needrestart 2502/head
David Galloway [Wed, 10 Dec 2025 21:47:15 +0000 (16:47 -0500)]
builder: Configure (disable) needrestart

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 weeks agobuilder.yml: Add POK 2501/head
David Galloway [Fri, 5 Dec 2025 17:01:07 +0000 (12:01 -0500)]
builder.yml: Add POK

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 weeks agoAll: Limit PR checks to Ceph org 2498/head
David Galloway [Fri, 5 Dec 2025 17:03:44 +0000 (12:03 -0500)]
All: Limit PR checks to Ceph org

Long overdue

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 weeks agoMerge pull request #2500 from dmick/quay-quay-quay-no-more-more-more
David Galloway [Tue, 9 Dec 2025 05:16:33 +0000 (00:16 -0500)]
Merge pull request #2500 from dmick/quay-quay-quay-no-more-more-more

Change quay-quay-quay.... to quay.ceph.io

2 weeks agoChange quay-quay-quay.... to quay.ceph.io 2500/head
Dan Mick [Tue, 9 Dec 2025 05:09:45 +0000 (21:09 -0800)]
Change quay-quay-quay.... to quay.ceph.io

The external name works from locations outside the existing sepia lab,
and there's no good reason not to use the public name.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 weeks agoMerge pull request #2496 from dmick/fix-quay-pruner
David Galloway [Fri, 5 Dec 2025 23:53:23 +0000 (18:53 -0500)]
Merge pull request #2496 from dmick/fix-quay-pruner

quay-pruner: completely overhaul prune-quay.py

4 weeks agoIntroduce "debug" flavor
Matan Breizman [Sun, 23 Nov 2025 11:41:42 +0000 (13:41 +0200)]
Introduce "debug" flavor

Currently, the only flavor used for testing is "default".
While this ensures that the tested flavor matches the released flavor, it can also be a limitation.
Introducing a debug flavor would allow us to test branches that require additional or more thorough validation.
The main difference is that built-in assertions would be compiled in.

The reasons for this change are:
a) The Crimson suite uses a crimson-debug flavor for project PR gating.
   The next commit will clean up the Crimson flavor entirely,
   and the new debug flavor introduced here could be used as its replacement.

b) Good practice: having an additional build with debug enabled is useful
   when retesting or performing extra checks.

Initially, the new debug flavor will only apply to centos9 builds.
If it proves valuable, we can expand support to other distros.

Note: The current way to schedule debug builds is by using a *-debug branch name.
      Having a dedicated flavor seems more straightforward.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 weeks agoreview comments: 2496/head
Dan Mick [Sat, 15 Nov 2025 00:00:40 +0000 (16:00 -0800)]
review comments:

- explain --stragglers a bit in help text
- add re match group names and use them
- use variables for URLs in messages
- dryrun -> dry-run
- remove dead code

will squash before merge if approved.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
6 weeks agoMerge pull request #2475 from ceph/podman-prune-external
Dan Mick [Thu, 13 Nov 2025 01:32:11 +0000 (17:32 -0800)]
Merge pull request #2475 from ceph/podman-prune-external

setup_container_runtime.sh: prune ext. containers

6 weeks agoquay-pruner: completely overhaul prune-quay.py
Dan Mick [Tue, 11 Nov 2025 00:17:18 +0000 (16:17 -0800)]
quay-pruner: completely overhaul prune-quay.py

Pruning had stopped working (up to >26000 image tags), and the
reasons were many; one, pruning's always been less deterministic
than I'd hope; two, when I switched us to ceph.git/container for
building images, I mistakenly changed the format of the 'fulltag'
(no longer has a short sha1 in it) and that was sort of driving
the pruning process.  three, I suspect some of the newer flavors
etc. were slipping through the cracks.

So here's an attempt to fix all that by changing the algorithm
fundamentally; now, tags of a certain manifest digest are considered
at the same time, and their sha1 checked in shaman as usual (but
only their sha1); if it's found, the tags are all left, and if not,
they're all removed.  This should be cleaner, faster, and more
reliable.

Also refactored a lot of the worker routines to util.py so I could
add some helper/debug/info scripts:

get-tagdates.py generates JSON showing tag-to-age for examining the
state of things

delete-tags.py takes tags on the CLI to delete, or can be invoked
with '--stragglers <age>' to remove anything older than age (as long
as it's not in shaman or seems like it might be a 'distinguished' build
(with recent release names in its name)).

prune-quay.py also now reports summary statistics of its operation.