]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
20 months agoAdd verbosity to yum-builddep to try to get more info about failure 2183/head
Dan Mick [Thu, 4 Jan 2024 21:45:35 +0000 (13:45 -0800)]
Add verbosity to yum-builddep to try to get more info about failure

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2182 from dmick/wip-ceph-container-prerelease-build
Dan Mick [Sat, 16 Dec 2023 02:54:41 +0000 (18:54 -0800)]
Merge pull request #2182 from dmick/wip-ceph-container-prerelease-build

Add ceph-container-prerelease-build

21 months agoAdd ceph-container-prerelease-build 2182/head
Dan Mick [Fri, 15 Dec 2023 04:24:50 +0000 (20:24 -0800)]
Add ceph-container-prerelease-build

Based on ceph-container-build-ceph-base-push-imgs, but
for building containers for testing before the release is
validated and committed.  Differences:

1) pulls packages from download.ceph.com/prerelease
2) does not attempt to build aarch64
3) pushes built container to quay.ceph.io:ceph/prerelease

The prerelease directories are password-protected to avoid any
early exposure to in-progress builds.

This requires corresponding changes to ceph-container.git.

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2181 from dmick/wip-release-tools
Dan Mick [Thu, 14 Dec 2023 23:41:47 +0000 (15:41 -0800)]
Merge pull request #2181 from dmick/wip-release-tools

sync-push: "staging" -> "prerelease", and allow specifying releasename-version

21 months agoAllow specifying '<release>-<version>' to sync only one version 2181/head
Dan Mick [Mon, 27 Nov 2023 23:43:26 +0000 (15:43 -0800)]
Allow specifying '<release>-<version>' to sync only one version

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoChange from "staging" to "prerelease"
Dan Mick [Mon, 27 Nov 2023 23:41:29 +0000 (15:41 -0800)]
Change from "staging" to "prerelease"

ceph-container already uses the word "staging" for a specific
function; avoid confusion by standardizing on "prerelease" here

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2180 from ceph/wip-pin-ansible
Dan Mick [Mon, 11 Dec 2023 21:47:52 +0000 (13:47 -0800)]
Merge pull request #2180 from ceph/wip-pin-ansible

ceph-setup, ceph-tag: pin ansible to < 9

21 months agoceph-setup, ceph-tag: pin ansible to < 9 2180/head
Dan Mick [Sat, 9 Dec 2023 00:53:41 +0000 (16:53 -0800)]
ceph-setup, ceph-tag: pin ansible to < 9

This is a temporary hack until we have time to properly test
changing include to include_tasks, required by ansible 9 (include
has been deprecated for some time, and now it's officially gone)

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2179 from rhcs-dashboard/upgrade-grafana-9.4.12
Nizamudeen A [Wed, 6 Dec 2023 17:23:28 +0000 (22:53 +0530)]
Merge pull request #2179 from rhcs-dashboard/upgrade-grafana-9.4.12

ceph-grafana-trigger: update the grafana version to 9.4.12

21 months agoceph-grafana-trigger: update the grafana version to 9.4.12 2179/head
Nizamudeen A [Wed, 6 Dec 2023 06:30:04 +0000 (12:00 +0530)]
ceph-grafana-trigger: update the grafana version to 9.4.12

Signed-off-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #2160 from rzarzynski/wip-kickoff-squid
Ilya Dryomov [Tue, 5 Dec 2023 21:24:16 +0000 (22:24 +0100)]
Merge pull request #2160 from rzarzynski/wip-kickoff-squid

kickoff v19 squid

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoMerge pull request #2170 from ceph/wip-kernel-trigger-timeout
Ilya Dryomov [Thu, 16 Nov 2023 10:34:01 +0000 (11:34 +0100)]
Merge pull request #2170 from ceph/wip-kernel-trigger-timeout

kernel-trigger: increase clone timeout

Reviewed-by: Dan Mick <dan.mick@redhat.com>
22 months agoMerge pull request #2169 from ceph/wip-kernel-rpmbuild-fix
Ilya Dryomov [Thu, 16 Nov 2023 10:33:47 +0000 (11:33 +0100)]
Merge pull request #2169 from ceph/wip-kernel-rpmbuild-fix

kernel: unbreak RPM builds

Reviewed-by: Dan Mick <dan.mick@redhat.com>
22 months agoMerge pull request #2177 from ceph/teuth-pr-disable
Dan Mick [Tue, 14 Nov 2023 00:51:31 +0000 (16:51 -0800)]
Merge pull request #2177 from ceph/teuth-pr-disable

Remove teuthology-pull-requests

22 months agoRemove teuthology-pull-requests 2177/head
Zack Cerza [Mon, 13 Nov 2023 19:12:39 +0000 (12:12 -0700)]
Remove teuthology-pull-requests

This job represents a small subset of what we test with GitHub Actions. It's
also unreliable, for reasons including - but not limited to - the fact that
it's not possible to request an agent with a particular OS version.

Signed-off-by: Zack Cerza <zack@redhat.com>
22 months agoMerge pull request #2175 from dmick/wip-ceph-build-pull-requests
Dan Mick [Mon, 13 Nov 2023 23:47:09 +0000 (15:47 -0800)]
Merge pull request #2175 from dmick/wip-ceph-build-pull-requests

ceph-build-pull-requests: rather than ansible, pin ansible-core

22 months agoMerge pull request #2176 from tserlin/wip-tserlin-pin-to-V5.7
tserlin [Wed, 8 Nov 2023 15:49:26 +0000 (10:49 -0500)]
Merge pull request #2176 from tserlin/wip-tserlin-pin-to-V5.7

nfs-ganesha: pin the daily build to V5.7

22 months agonfs-ganesha: pin the daily build to V5.7 2176/head
Thomas Serlin [Tue, 7 Nov 2023 20:24:09 +0000 (15:24 -0500)]
nfs-ganesha: pin the daily build to V5.7

The latest upstream nfs-ganesha 5 tag was released. Bump from
V5.5 to V5.7.

22 months agoMerge pull request #2166 from rkachach/fix_issue_63019
Nizamudeen A [Tue, 7 Nov 2023 12:43:04 +0000 (18:13 +0530)]
Merge pull request #2166 from rkachach/fix_issue_63019

project config: adding rook orchestrator e2e testing job

22 months agoceph-build: adding quincy, pacific and octopus to blacklist 2166/head
Redouane Kachach [Tue, 7 Nov 2023 11:50:33 +0000 (12:50 +0100)]
ceph-build: adding quincy, pacific and octopus to blacklist

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agotest: changing trigger-phrase
Redouane Kachach [Mon, 6 Nov 2023 14:37:55 +0000 (15:37 +0100)]
test: changing trigger-phrase

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agoproject config: adding rook orchestrator e2e testing job
Redouane Kachach [Fri, 29 Sep 2023 08:33:13 +0000 (10:33 +0200)]
project config: adding rook orchestrator e2e testing job
Fixes: https://tracker.ceph.com/issues/63019
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agoMerge pull request #2172 from dmick/wip-sync-push
Laura Flores [Thu, 26 Oct 2023 20:21:42 +0000 (16:21 -0400)]
Merge pull request #2172 from dmick/wip-sync-push

sync-push et al: add -ex to shebang, add staging area to sync-push

22 months agoceph-build-pull-requests: rather than ansible, pin ansible-core 2175/head
Dan Mick [Thu, 26 Oct 2023 00:20:44 +0000 (17:20 -0700)]
ceph-build-pull-requests: rather than ansible, pin ansible-core

Last change pinned ansible to 8.4.0 to workaround a bug.  The
buggy code is actually in ansible-core, so pin that instead.
See https://github.com/ceph/ceph-build/pull/2173

Signed-off-by: Dan Mick <dmick@redhat.com>
22 months agoMerge pull request #2173 from dmick/wip-ceph-build-pull-requests
Zack Cerza [Wed, 25 Oct 2023 21:39:42 +0000 (15:39 -0600)]
Merge pull request #2173 from dmick/wip-ceph-build-pull-requests

ceph-build-pull-requests/build/build: pin ansible to 8.4.0

22 months agoMerge pull request #2174 from ceph/wip-bookworm
Dan Mick [Wed, 25 Oct 2023 21:34:21 +0000 (14:34 -0700)]
Merge pull request #2174 from ceph/wip-bookworm

ceph-build, etc: add debian bookworm

22 months agoceph-build, etc: add debian bookworm 2174/head
Josh Durgin [Wed, 25 Oct 2023 14:57:29 +0000 (10:57 -0400)]
ceph-build, etc: add debian bookworm

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
22 months agoceph-build-pull-requests/build/build: pin ansible to 8.4.0 2173/head
Dan Mick [Wed, 25 Oct 2023 03:32:18 +0000 (20:32 -0700)]
ceph-build-pull-requests/build/build: pin ansible to 8.4.0

ansible 8.5.0 includes a change to ansible-galaxy that breaks
the installation of sensu and rabbitmq:

https://github.com/ansible/ansible/issues/82073

Work around that by pinning ansible to 8.4.0

Fixes: https://tracker.ceph.com/issues/63223
Signed-off-by: Dan Mick <dmick@redhat.com>
22 months agosync-push: add staging_dir for releases under construction 2172/head
Dan Mick [Tue, 24 Oct 2023 22:50:41 +0000 (15:50 -0700)]
sync-push: add staging_dir for releases under construction

Signed-off-by: Dan Mick <dmick@redhat.com>
23 months agosync-pull, sign-rpms, sync-push: add -ex to shebang line
Dan Mick [Fri, 20 Oct 2023 23:40:46 +0000 (16:40 -0700)]
sync-pull, sign-rpms, sync-push: add -ex to shebang line

Show what we're doing, and exit on error

Signed-off-by: Dan Mick <dmick@redhat.com>
23 months agokernel-trigger: increase clone timeout 2170/head
Ilya Dryomov [Mon, 16 Oct 2023 12:09:17 +0000 (14:09 +0200)]
kernel-trigger: increase clone timeout

From time to time Jenkins kills "git index-pack" due to a timeout:

 > git fetch --no-tags --progress -- https://github.com/ceph/ceph-client.git +refs/heads/*:refs/remotes/origin/* # timeout=20
ERROR: Timeout after 20 minutes
...
remote: Enumerating objects: 9769655, done.
remote: Counting objects:   0% (1/368573)
...
remote: Counting objects: 100% (368573/368573), done.
remote: Compressing objects:   0% (1/73615)
...
remote: Compressing objects: 100% (73615/73615), done.
Receiving objects:   0% (1/9769655)
...
Receiving objects:  99% (9762992/9769655), 2.61 GiB | 19.22 MiB/s
remote: Total 9769655 (delta 294178), reused 368051 (delta 293885), pack-reused 9401082
Receiving objects: 100% (9769655/9769655), 2.62 GiB | 19.00 MiB/s
Receiving objects: 100% (9769655/9769655), 2.63 GiB | 19.17 MiB/s, done.
Resolving deltas:   0% (0/8264128)
...
Resolving deltas:  15% (1312818/8264128)
error: index-pack died of signal 15
fatal: index-pack failed

This step is CPU intensive, but it's very hard to tell what was going
on the worker node at the time and what made it slow.  As kernel builds
are pretty infrequent, just bump the timeout drastically.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agokernel: unbreak RPM builds 2169/head
Ilya Dryomov [Wed, 11 Oct 2023 10:57:15 +0000 (12:57 +0200)]
kernel: unbreak RPM builds

A bunch of kbuild changes went into 6.6-rc1.  In particular, the
location of rpmbuild structure has changed and BuildRequires clauses
are now applied universally so we need dwarves to be installed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agoMerge pull request #2167 from batrick/debug-options
Dan Mick [Thu, 5 Oct 2023 22:19:02 +0000 (15:19 -0700)]
Merge pull request #2167 from batrick/debug-options

ceph-dev-new-setup: enable debug options for dev builds

23 months agoceph-dev-new-setup: enable debug options for dev builds 2167/head
Patrick Donnelly [Tue, 3 Oct 2023 16:47:52 +0000 (16:47 +0000)]
ceph-dev-new-setup: enable debug options for dev builds

Note: it has been this way since at least 35e1a715. It's difficult to tell when
or even if ceph was ever properly built with debugging configurations for QA as
there are corresponding changes in ceph with the switch to cmake which makes
this challenging to evaluate.

It's likely that it was wrongly assumed that cmake would set the build type to
Debug because the ".git" directory would be present. This is not the case
because the "make-dist" script (executed below) creates a git tarball that is
used for the actual untar/build. See also:

https://github.com/ceph/ceph/pull/53800

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
23 months agoMerge pull request #2168 from rhcs-dashboard/node-version-upgrade
Nizamudeen A [Thu, 5 Oct 2023 05:31:37 +0000 (11:01 +0530)]
Merge pull request #2168 from rhcs-dashboard/node-version-upgrade

deps: upgrade the node version to 16

23 months agodeps: upgrade the node version to 16 2168/head
Nizamudeen A [Thu, 5 Oct 2023 03:49:16 +0000 (09:19 +0530)]
deps: upgrade the node version to 16

the reasoning for choosing the node 16 is because it supports angular
version 12, 13, 14 and 15. We have angular 12 in the pacific

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #2164 from petrutlucian94/whitelist_ceph
Ilya Dryomov [Thu, 21 Sep 2023 10:01:18 +0000 (12:01 +0200)]
Merge pull request #2164 from petrutlucian94/whitelist_ceph

windows: add Ceph dir to Windows Defender exclusion list

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agowindows: add Ceph dir to Windows Defender exclusion list 2164/head
Lucian Petrut [Thu, 21 Sep 2023 08:24:11 +0000 (08:24 +0000)]
windows: add Ceph dir to Windows Defender exclusion list

We're getting occasional false positives from Windows Defender.
For this reason, we'll add the Ceph dir to the exclusion list.

  ERROR - Test exception: [WinError 225] Operation did not complete
  successfully because the file contains a virus or potentially unwanted
  software. Total exceptions: 22

   Windows Defender Antivirus has taken action to protect this machine from
   malware or other potentially unwanted software.
    For more information please see the following:
   https://go.microsoft.com/fwlink/?linkid=37020&name=Trojan:Win32/Bearfoos.A!m
   l&threatid=2147731250&enterprise=0
        Name: Trojan:Win32/Bearfoos.A!ml
        ID: 2147731250
        Severity: Severe
        Category: Trojan
        Path: file:_C:\ceph\rbd-wnbd.exe
        Detection Origin: Local machine
        Detection Type: Concrete
        Detection Source: Real-Time Protection
        User: NT AUTHORITY\SYSTEM
        Process Name: C:\Program Files\Python311\python.exe
        Action: Quarantine
        Action Status:  No additional actions required
        Error Code: 0x80508023
        Error description: The program could not find the malware and other
                       potentially unwanted software on this device.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2163 from dmick/wip-sepia-fog-images-build
Zack Cerza [Thu, 7 Sep 2023 16:44:43 +0000 (09:44 -0700)]
Merge pull request #2163 from dmick/wip-sepia-fog-images-build

2 years agosepia-fog-images/build/build: bootstrap teuthology unconditionally 2163/head
Dan Mick [Sat, 2 Sep 2023 07:28:27 +0000 (00:28 -0700)]
sepia-fog-images/build/build: bootstrap teuthology unconditionally

Whether or not we will teuthology-lock machines, we always need
teuthology-queue --pause

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2162 from petrutlucian94/win32_sv_start
Ionut BALUTOIU [Tue, 29 Aug 2023 08:00:15 +0000 (11:00 +0300)]
Merge pull request #2162 from petrutlucian94/win32_sv_start

windows: use "net.exe start" instead of Start-Service

2 years agowindows: use "net.exe start" instead of Start-Service 2162/head
Lucian Petrut [Tue, 29 Aug 2023 07:50:37 +0000 (07:50 +0000)]
windows: use "net.exe start" instead of Start-Service

The "Start-Serice" command doesn't really say why the service could
not be started:

  Start-Service : Service 'ceph-rbd (ceph-rbd)' cannot be started
  due to the following error: Cannot start service

We'll use the "net.exe start" command instead, which provides
additional information.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2161 from tserlin/wip-tserlin-pin-to-V5.5
tserlin [Mon, 28 Aug 2023 20:49:39 +0000 (16:49 -0400)]
Merge pull request #2161 from tserlin/wip-tserlin-pin-to-V5.5

nfs-ganesha: pin the daily build to V5.5

2 years agonfs-ganesha: pin the daily build to V5.5 2161/head
Thomas Serlin [Mon, 28 Aug 2023 18:38:24 +0000 (14:38 -0400)]
nfs-ganesha: pin the daily build to V5.5

Instead of just building the tip of whatever is in the "next"
branch, let's pin the daily nfs-ganesha build to the latest
stable tag: V5.5.

2 years agoceph-dev-build: update {build,setup}_osc for squid 2160/head
Radosław Zarzyński [Sat, 26 Aug 2023 17:53:30 +0000 (19:53 +0200)]
ceph-dev-build: update {build,setup}_osc for squid

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 years agoscripts/build_utils: map 19.* to squid
Radosław Zarzyński [Sat, 26 Aug 2023 17:51:47 +0000 (19:51 +0200)]
scripts/build_utils: map 19.* to squid

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 years agoMerge pull request #2159 from ljflores/wip-lower-concurrency
Laura Flores [Wed, 16 Aug 2023 21:49:24 +0000 (16:49 -0500)]
Merge pull request #2159 from ljflores/wip-lower-concurrency

scripts: lower concurrency for many-core machines

2 years agoscripts: lower concurrency for many-core machines 2159/head
Laura Flores [Wed, 16 Aug 2023 20:42:50 +0000 (15:42 -0500)]
scripts: lower concurrency for many-core machines

adami nodes have 96 processing units (nproc). Based on the old script
logic, we were compiling 90 build jobs with 96 processing units. This
combination (96/90) ends up causing many instances of memory
overconsumption on adami nodes.

With this new logic, we take into account that jobs take up more memory
than we expect. This will make it so adami nodes will compile 67 build
jobs on 96 processing units, which will hopefully avoid so many instances
of memory overconsumption. (Total memory on adami nodes is generally
~270036 MiB, so 270036 / 4000 = 67)

braggi nodes do not have this problem; they have 48 processing units.
It has been working so far to compile 48 build jobs with 48 processing
units on the braggi nodes, and this new logic will not change that or
any other node with nproc <= 50.

Fixes: https://tracker.ceph.com/issues/57296
Signed-off-by: Laura Flores <lflores@ibm.com>
2 years agoMerge pull request #2157 from dmick/wip-jenkins-builders
Zack Cerza [Mon, 14 Aug 2023 18:52:42 +0000 (12:52 -0600)]
Merge pull request #2157 from dmick/wip-jenkins-builders

Update jenkins-builder support

2 years agoMerge pull request #2158 from ceph/fix-ca-flake8
Guillaume Abrioux [Thu, 10 Aug 2023 22:08:00 +0000 (00:08 +0200)]
Merge pull request #2158 from ceph/fix-ca-flake8

ceph-container-flake8: migrate to alpine/flake8 image

2 years agoceph-container-flake8: migrate to alpine/flake8 image 2158/head
Guillaume Abrioux [Thu, 10 Aug 2023 21:09:23 +0000 (23:09 +0200)]
ceph-container-flake8: migrate to alpine/flake8 image

the current image is old and uses a flake8 build based on
py2.7.

It means we are checking python 3.x code with a python 2.7 version
of flake8. That doesn't work very well.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoStandardize on "label" name for parameter 2157/head
Dan Mick [Wed, 9 Aug 2023 02:05:25 +0000 (19:05 -0700)]
Standardize on "label" name for parameter

The Jenkins UI (or at least the Python binding) uses "label", not
"labels" (for reconfig only, because it uses XML, and the XML contains
the tag 'label'.  Sadly that's not true for create.)

Avoid the confusion that wasted my time.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/builder.yml: add bookworm deb signing keys
Dan Mick [Tue, 1 Aug 2023 22:24:58 +0000 (15:24 -0700)]
ansible/builder.yml: add bookworm deb signing keys

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoTreat 8.43-IP hosts as "permanent" builders too (for ceph.io, which builds HTML)
Dan Mick [Wed, 19 Jul 2023 20:33:06 +0000 (13:33 -0700)]
Treat 8.43-IP hosts as "permanent" builders too (for ceph.io, which builds HTML)

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible: use 'inventory_hostname' to look up jenkins labels
Dan Mick [Wed, 19 Jul 2023 20:31:31 +0000 (13:31 -0700)]
ansible: use 'inventory_hostname' to look up jenkins labels

inventory_hostname is as it appears in the inventory file, and keeping
that consistent is easier than dealing with short vs long names
Note: this requires a change to ceph-sepia-secrets to standardize on
the inventory form of the name

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2156 from ceph/fix-container-flake8
Guillaume Abrioux [Mon, 7 Aug 2023 15:21:55 +0000 (17:21 +0200)]
Merge pull request #2156 from ceph/fix-container-flake8

ceph-container-flake8: fix test

2 years agoceph-container-flake8: fix test 2156/head
Guillaume Abrioux [Mon, 7 Aug 2023 15:10:57 +0000 (17:10 +0200)]
ceph-container-flake8: fix test

Looks like this job has never worked.
The file should be bind-mounted in /code, not in /
There's no need to pass arguments, the entrypoint automatically
scan /code and run flake8 against any present files.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #2154 from Matan-B/wip-matanb-crimson-centos9
Dan Mick [Thu, 3 Aug 2023 07:13:28 +0000 (00:13 -0700)]
Merge pull request #2154 from Matan-B/wip-matanb-crimson-centos9

ceph-dev*: build crimson on centos9 (main and reef)

2 years agoMerge pull request #2155 from petrutlucian94/log_disk_space
Ionut BALUTOIU [Wed, 2 Aug 2023 08:12:46 +0000 (11:12 +0300)]
Merge pull request #2155 from petrutlucian94/log_disk_space

2 years agowindows: log available disk space 2155/head
Lucian Petrut [Wed, 2 Aug 2023 08:01:58 +0000 (08:01 +0000)]
windows: log available disk space

Some Windows test jobs have failed after the OSDs ran out of disk
space. Those jobs use Linux VMs with 128GBs of storage and run
3 OSDs, each having 15GB.

In order to get a better picture, we'll log the disk space usage,
including the vstart directory contents.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2147 from dmick/wip-jenkins-builders
Zack Cerza [Wed, 26 Jul 2023 22:46:46 +0000 (16:46 -0600)]
Merge pull request #2147 from dmick/wip-jenkins-builders

ansible: enhance library/jenkins_node to allow node update

2 years agoceph-dev*: build crimson on centos9 (main and reef) 2154/head
Matan [Wed, 26 Jul 2023 12:45:01 +0000 (15:45 +0300)]
ceph-dev*: build crimson on centos9 (main and reef)

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2152 from dmick/wip-vault-pass
Yuri Weinstein [Tue, 25 Jul 2023 02:44:44 +0000 (22:44 -0400)]
Merge pull request #2152 from dmick/wip-vault-pass

ansible: remove vault_password_file; jenkins-build doesn't have one

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoansible: remove vault_password_file; jenkins-build doesn't have one 2152/head
Dan Mick [Tue, 25 Jul 2023 02:35:26 +0000 (19:35 -0700)]
ansible: remove vault_password_file; jenkins-build doesn't have one

Jenkins also uses ansible for some builds, and this config item breaks
the run, because although the ansible secret isn't needed, if you configure
it, ansible requires it.  <sigh>

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2150 from lxbsz/centos9
Ilya Dryomov [Mon, 24 Jul 2023 08:55:19 +0000 (10:55 +0200)]
Merge pull request #2150 from lxbsz/centos9

kernel: enable centos9 build

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agokernel: enable the centos9 build 2150/head
Xiubo Li [Mon, 24 Jul 2023 06:47:35 +0000 (14:47 +0800)]
kernel: enable the centos9 build

commit 4b61a221e4e2f53dc7df3137fc34f418c3f3b879 just forgot to enable
it after adding centos9.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #2149 from dmick/wip-preserve-temp-jobs
Zack Cerza [Fri, 21 Jul 2023 16:10:06 +0000 (10:10 -0600)]
Merge pull request #2149 from dmick/wip-preserve-temp-jobs

jenkins-job-builder: don't delete jobs named 'preserve-*'

2 years agojenkins-job-builder: don't delete jobs named 'preserve-*' 2149/head
Dan Mick [Fri, 21 Jul 2023 02:43:05 +0000 (19:43 -0700)]
jenkins-job-builder: don't delete jobs named 'preserve-*'

This is to allow job development without losing the jobs and past builds
as other ceph-build PRs are pushed.  It's assumed that if you create a job
with 'preserve-' in its title that you will clean it up when you're done.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2141 from ceph/wip-tcmu-runner-repo-url
Ilya Dryomov [Thu, 20 Jul 2023 11:14:21 +0000 (13:14 +0200)]
Merge pull request #2141 from ceph/wip-tcmu-runner-repo-url

tcmu-runner: set $RELEASE before it's used

Reviewed-by: Adam Kraitman <akraitma@redhat.com>
2 years agoMerge pull request #2148 from ljflores/wip-increase-timeout
Laura Flores [Wed, 19 Jul 2023 21:28:02 +0000 (16:28 -0500)]
Merge pull request #2148 from ljflores/wip-increase-timeout

ceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo

2 years agoceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo 2148/head
Laura Flores [Mon, 17 Jul 2023 21:44:44 +0000 (16:44 -0500)]
ceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo

Might help address failures like
```
fatal: fetch-pack: invalid index-pack output`
```
and
```
error: rev-list died of signal 15
error: github.com:ceph/ceph-ci.git did not send all necessary objects
```

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agolibrary/jenkins_node: improve diagnostics on failure. 2147/head
Dan Mick [Sat, 15 Jul 2023 01:09:08 +0000 (18:09 -0700)]
library/jenkins_node: improve diagnostics on failure.

Capture exception args for exceptions that have no msg or message,
and capture a traceback.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoexamples/builder.yml, library/jenkins_node: support node update
Dan Mick [Sat, 15 Jul 2023 01:07:32 +0000 (18:07 -0700)]
examples/builder.yml, library/jenkins_node: support node update

Original implementation would only permit nodes to be created if they
did not exist.  Add support to update certain attributes of the node
with a run against extant nodes.  Only permit a few attribute updates.
This is primarily motivated by the desire to support maintaining node
labels with ansible.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2139 from dmick/wip-jenkins-builders
Dan Mick [Sat, 15 Jul 2023 01:02:20 +0000 (18:02 -0700)]
Merge pull request #2139 from dmick/wip-jenkins-builders

Fix up a number of problems with ansible/examples/builder.yml

2 years agoMerge pull request #2146 from rhcs-dashboard/cleanup-script-cephadm-e2e-nightly
Nizamudeen A [Fri, 14 Jul 2023 12:11:10 +0000 (17:41 +0530)]
Merge pull request #2146 from rhcs-dashboard/cleanup-script-cephadm-e2e-nightly

dashboard-cephadm-e2e-nightly: move the cleanup script to postbuild step

2 years agolibrary/jenkins_node: use python3 2139/head
Dan Mick [Thu, 8 Jun 2023 09:07:09 +0000 (02:07 -0700)]
library/jenkins_node: use python3

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agofiles/ssh/hostkeys/github.com.pub: update the github host key
Dan Mick [Thu, 8 Jun 2023 09:05:24 +0000 (02:05 -0700)]
files/ssh/hostkeys/github.com.pub: update the github host key

github reissued its host key in March 2023 (see
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/).
Record here for use in setting up jenkins builders.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: kill any rogue agent/slave.jar procs
Dan Mick [Thu, 8 Jun 2023 09:03:39 +0000 (02:03 -0700)]
ansible/examples/builder.yml: kill any rogue agent/slave.jar procs

Some time ago slave.jar was renamed agent.jar, and there were
builders running the old version, sometimes as root (which caused
problems when the job would check out git workspaces as root
that could then not be removed by a job running as jenkins-build).
Clean up the crufty procs, if any.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: fix egregious spelling error
Dan Mick [Thu, 8 Jun 2023 09:02:50 +0000 (02:02 -0700)]
ansible/examples/builder.yml: fix egregious spelling error

also add a tag for the register step; will be useful for updating
tags once I get updating working

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2144 from ljflores/wip-crimson-pacific-2
Dan Mick [Tue, 11 Jul 2023 21:31:37 +0000 (14:31 -0700)]
Merge pull request #2144 from ljflores/wip-crimson-pacific-2

ceph-dev-cron, ceph-dev-new-trigger: don't build crimson for pacific

2 years agoansible/examples/builder.yml: use chown -R to change perms
Dan Mick [Thu, 8 Jun 2023 09:02:07 +0000 (02:02 -0700)]
ansible/examples/builder.yml: use chown -R to change perms

chown -R is *much* faster than the ansible file module

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: set builder labels from group_vars
Dan Mick [Thu, 8 Jun 2023 09:01:10 +0000 (02:01 -0700)]
ansible/examples/builder.yml: set builder labels from group_vars

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: use secret for jenkins_api_token
Dan Mick [Thu, 8 Jun 2023 08:59:28 +0000 (01:59 -0700)]
ansible/examples/builder.yml: use secret for jenkins_api_token

Put it into variable 'token' for all the other tasks.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agodashboard-cephadm-e2e-nightly: move the cleanup script to postbuild step 2146/head
Nizamudeen A [Mon, 10 Jul 2023 06:06:29 +0000 (11:36 +0530)]
dashboard-cephadm-e2e-nightly: move the cleanup script to postbuild step

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #2145 from rhcs-dashboard/cleanup-script-cephadm-e2e
Nizamudeen A [Mon, 10 Jul 2023 05:26:45 +0000 (10:56 +0530)]
Merge pull request #2145 from rhcs-dashboard/cleanup-script-cephadm-e2e

dashboard-cephadm-e2e: move the cleanup script to postbuild step

2 years agodashboard-cephadm-e2e: move the cleanup script to postbuild step 2145/head
Nizamudeen A [Fri, 7 Jul 2023 10:27:49 +0000 (15:57 +0530)]
dashboard-cephadm-e2e: move the cleanup script to postbuild step

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoceph-dev-cron, ceph-dev-new-trigger: don't build crimson for pacific 2144/head
Laura Flores [Thu, 6 Jul 2023 16:47:48 +0000 (11:47 -0500)]
ceph-dev-cron, ceph-dev-new-trigger: don't build crimson for pacific

Followup to PR https://github.com/ceph/ceph-build/pull/2142; removes
crimson pacific from additional build jobs.

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #2143 from dmick/wip-sync-pull
Dan Mick [Thu, 29 Jun 2023 00:52:47 +0000 (17:52 -0700)]
Merge pull request #2143 from dmick/wip-sync-pull

scripts/sync-pull: update argument check to look for $3

2 years agoscripts/sync-pull: update argument check to look for $3 2143/head
Dan Mick [Wed, 28 Jun 2023 23:14:19 +0000 (16:14 -0700)]
scripts/sync-pull: update argument check to look for $3

Catch the error where three arguments are not supplied.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2142 from ljflores/wip-crimson-pacific
Zack Cerza [Mon, 26 Jun 2023 16:56:37 +0000 (10:56 -0600)]
Merge pull request #2142 from ljflores/wip-crimson-pacific

2 years agoceph-dev-trigger/config/definitions: don't build crimson for pacific 2142/head
Laura Flores [Mon, 26 Jun 2023 15:47:13 +0000 (10:47 -0500)]
ceph-dev-trigger/config/definitions: don't build crimson for pacific

Crimson changes will not be backported to pacific, so it doesn't make
sense to keep building it.

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agotcmu-runner: fix CEPH_BRANCH parameter description 2141/head
Ilya Dryomov [Sat, 24 Jun 2023 11:46:35 +0000 (13:46 +0200)]
tcmu-runner: fix CEPH_BRANCH parameter description

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotcmu-runner: set $RELEASE before it's used
Ilya Dryomov [Sat, 24 Jun 2023 11:32:37 +0000 (13:32 +0200)]
tcmu-runner: set $RELEASE before it's used

get_rpm_dist() call is misplaced.  The Ceph repo URL ends up missing
the distro version which causes the job to fail after some timeouts:

  REPO_URL=https://shaman.ceph.com/api/repos/ceph/main/latest/centos//flavors/default/repo
  ...
  curl --fail -L https://shaman.ceph.com/api/repos/ceph/main/latest/centos//flavors/default/repo
  ...
  curl: (22) The requested URL returned error: 504 Gateway Timeout

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #2140 from dmick/wip-ceph-release-rpm
Guillaume Abrioux [Mon, 12 Jun 2023 22:13:57 +0000 (00:13 +0200)]
Merge pull request #2140 from dmick/wip-ceph-release-rpm

ceph-release-rpm build script missing space before =

2 years agoceph-release-rpm build script missing space before = 2140/head
Dan Mick [Mon, 12 Jun 2023 22:08:32 +0000 (15:08 -0700)]
ceph-release-rpm build script missing space before =

This causes a syntax error.  Also, the script didn't have -e set, so
the error went unnoticed

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2137 from ljflores/wip-ceph-dev-new-build
Laura Flores [Mon, 5 Jun 2023 17:32:50 +0000 (12:32 -0500)]
Merge pull request #2137 from ljflores/wip-ceph-dev-new-build

ceph-dev-new-build/config/definitions: give proper permission to remove a folder

2 years agoceph-dev-new-build/config/definitions: give proper permission to remove a folder 2137/head
Laura Flores [Mon, 5 Jun 2023 17:02:28 +0000 (12:02 -0500)]
ceph-dev-new-build/config/definitions: give proper permission to remove a folder

Solution to fix this in ceph-dev-new-build:
```
[EnvInject] - Inject global passwords.
[EnvInject] - Mask passwords that will be passed as build parameters.
Failed to evaluate name macro:org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
[gigantic] $ /bin/sh -xe /tmp/jenkins6948878898411108393.sh
+ echo 'Cleaning up top-level workarea (shared among workspaces)'
Cleaning up top-level workarea (shared among workspaces)
+ sudo rm -rf dist
+ rm -rf venv
+ rm -rf release
rm: cannot remove 'release/18.0.0-4267-g48627125/ceph-18.0.0-4267-g48627125': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/version': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/ceph_18.0.0-4267-g48627125.orig.tar.gz': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/branch': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/ceph_18.0.0-4267-g48627125-1.dsc': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/other_envvars': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/ceph.spec': Permission denied
...
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/cluster.yaml': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/overrides.yaml': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/s3tests-branch.yaml': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/supported-random-distro$': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/tasks/rgw_s3tests.yaml': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/tasks/.qa': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/dbstore/.qa': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/hadoop-s3a/%': Permission denied
rm: cannot remove 'release/18.0.0-4267-g48627125/rpm/el8/BUILD/ceph-18.0.0-4267-g48627125/qa/suites/rgw/hadoop-s3a/clusters/fixed-2.yaml': Permission denied
```

Also add a line to list ownership before removing folders.

Signed-off-by: Laura Flores <lflores@redhat.com>
sdf

2 years agoMerge pull request #2136 from petrutlucian94/win_bluestore
Ilya Dryomov [Mon, 29 May 2023 09:17:32 +0000 (11:17 +0200)]
Merge pull request #2136 from petrutlucian94/win_bluestore

windows: use bluestore instead of memstore by default

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agowindows: use bluestore instead of memstore by default 2136/head
Lucian Petrut [Thu, 25 May 2023 07:55:39 +0000 (07:55 +0000)]
windows: use bluestore instead of memstore by default

We've been using memstore in order to put as much load as possible
on the Windows clients in a relatively short timeframe.

However, we've been hitting memstore segfaults:
https://tracker.ceph.com/issues/61416

For this reason, we'll make the OSD backend configurable,
defaulting to bluestore for now.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2135 from dmick/main
Zack Cerza [Thu, 25 May 2023 20:55:55 +0000 (14:55 -0600)]
Merge pull request #2135 from dmick/main