]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
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 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

2 years agoceph-dev-new-trigger: keep 50 jobs to help diagnose dual builds 2135/head
Dan Mick [Thu, 25 May 2023 02:34:53 +0000 (19:34 -0700)]
ceph-dev-new-trigger: keep 50 jobs to help diagnose dual builds

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2127 from dmick/main
Zack Cerza [Mon, 22 May 2023 21:19:24 +0000 (15:19 -0600)]
Merge pull request #2127 from dmick/main

2 years agoMerge pull request #2134 from dmick/wip-build-utils
Zack Cerza [Mon, 22 May 2023 20:47:22 +0000 (14:47 -0600)]
Merge pull request #2134 from dmick/wip-build-utils

2 years agoscripts/build_utils.sh: limit .gz files copied to chacra 2134/head
Dan Mick [Sat, 20 May 2023 00:22:28 +0000 (17:22 -0700)]
scripts/build_utils.sh: limit .gz files copied to chacra

Don't copy *every* .gz file from the release tree
(which includes the source tree); just ceph*.gz

Fixes: https://tracker.ceph.com/issues/61306
Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2132 from ceph/jjb-wheel
Zack Cerza [Fri, 5 May 2023 22:39:01 +0000 (16:39 -0600)]
Merge pull request #2132 from ceph/jjb-wheel

2 years agobuild_utils.sh: Install wheel 2132/head
Zack Cerza [Fri, 5 May 2023 22:16:45 +0000 (16:16 -0600)]
build_utils.sh: Install wheel

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agojenkins-job-builder: Install dataclasses
Zack Cerza [Fri, 5 May 2023 22:07:08 +0000 (16:07 -0600)]
jenkins-job-builder: Install dataclasses

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2130 from ljflores/wip-requests-toolbelt
Laura Flores [Fri, 5 May 2023 20:09:02 +0000 (15:09 -0500)]
Merge pull request #2130 from ljflores/wip-requests-toolbelt

scripts/build_utils.sh: pin urllib3 and requests

2 years agoscripts/build_utils.sh: pin urllib3 and requests 2130/head
Laura Flores [Thu, 4 May 2023 22:48:17 +0000 (17:48 -0500)]
scripts/build_utils.sh: pin urllib3 and requests

The latest version of chacractl requires requests-toolbelt==0.9.1.
This is not compatible with the latest version of urllib3, which
dropped support for appengine.

We need to pin urllib3 to an older version that still supports
appengine, and requests to an older version that still supports
the older urllib3 until charactl allows a higher version of
requests-toolbelt.

Fixes: https://tracker.ceph.com/issues/59652
Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #2129 from ceph/cephadm-ansible-reef
Guillaume Abrioux [Thu, 27 Apr 2023 08:17:06 +0000 (10:17 +0200)]
Merge pull request #2129 from ceph/cephadm-ansible-reef

cephadm-ansible: add el9 testing

2 years agocephadm-ansible: add el9 testing 2129/head
Guillaume Abrioux [Thu, 27 Apr 2023 07:43:18 +0000 (09:43 +0200)]
cephadm-ansible: add el9 testing

el9 RPMs weren't available so `el9` distribution was left commented out so
far. Given that we now have el9 packages, let's add el9 testing.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #2128 from dmick/wip-remove-ceph-qa-emails
Nizamudeen A [Thu, 27 Apr 2023 05:54:42 +0000 (11:24 +0530)]
Merge pull request #2128 from dmick/wip-remove-ceph-qa-emails

ceph-api-nightly, ceph-dashboard-cephadm-e2e-nightly: stop emails

2 years agoceph-api-nightly, ceph-dashboard-cephadm-e2e-nightly: stop emails 2128/head
Dan Mick [Thu, 27 Apr 2023 00:30:04 +0000 (17:30 -0700)]
ceph-api-nightly, ceph-dashboard-cephadm-e2e-nightly: stop emails

Remove the email notifications from the configuration.  They're
just cluttering the ceph-qa inbox and no one is acting on them.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 years agoceph-dev-setup: save only 25 builds (rather than 2 weeks) 2127/head
Dan Mick [Wed, 19 Apr 2023 02:36:41 +0000 (19:36 -0700)]
ceph-dev-setup: save only 25 builds (rather than 2 weeks)

ceph-dev-setup is using 67G out of the 200G on /var/lib/jenkins,
far larger than any other job.  There's no reason to save all these jobs.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2122 from ceph/add_centos9_main
Dan Mick [Fri, 7 Apr 2023 21:18:01 +0000 (14:18 -0700)]
Merge pull request #2122 from ceph/add_centos9_main

ceph-release-rpm: add CentOS 9 build

2 years agoMerge pull request #2125 from dmick/wip-sign-rpms
Ken Dreyer [Fri, 7 Apr 2023 15:24:34 +0000 (11:24 -0400)]
Merge pull request #2125 from dmick/wip-sign-rpms

Use createrepo_c, and change order of signing operations to avoid invalid repomd.xml sigs

2 years agoscripts/sign-rpms: signing repomd.xml has to come after all updates 2125/head
Dan Mick [Fri, 7 Apr 2023 10:20:50 +0000 (03:20 -0700)]
scripts/sign-rpms: signing repomd.xml has to come after all updates

We had been signing, and then running createrepo, which changed repomd
and thus invalidated the signature.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoscripts/sign-rpms: use createrepo_c on newer Ubuntu releases (post-focal)
Dan Mick [Fri, 7 Apr 2023 10:18:50 +0000 (03:18 -0700)]
scripts/sign-rpms: use createrepo_c on newer Ubuntu releases (post-focal)

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2124 from ceph/signing-fixes
Zack Cerza [Thu, 6 Apr 2023 17:58:03 +0000 (11:58 -0600)]
Merge pull request #2124 from ceph/signing-fixes

scripts: signing fixes

2 years agosync-pull: use jq instead of python 2124/head
Ken Dreyer [Thu, 6 Apr 2023 16:09:57 +0000 (12:09 -0400)]
sync-pull: use jq instead of python

We installed jq on the signer host so we do not need /usr/bin/python

2 years agoscripts: make signing scripts executable
Ken Dreyer [Thu, 6 Apr 2023 16:03:49 +0000 (12:03 -0400)]
scripts: make signing scripts executable

This makes it easier to run these interactively.

2 years agoMerge pull request #2123 from rhcs-dashboard/grafana-update
Nizamudeen A [Tue, 4 Apr 2023 06:02:22 +0000 (11:32 +0530)]
Merge pull request #2123 from rhcs-dashboard/grafana-update

ceph-grafana-trigger: update the grafana version

2 years agoceph-grafana-trigger: update the grafana version 2123/head
Nizamudeen A [Mon, 3 Apr 2023 16:25:45 +0000 (21:55 +0530)]
ceph-grafana-trigger: update the grafana version

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoceph-release-rpm: add CentOS 9 build 2122/head
Ernesto Puerta [Wed, 22 Mar 2023 19:11:21 +0000 (20:11 +0100)]
ceph-release-rpm: add CentOS 9 build

2 years agoMerge pull request #2121 from ceph/cv-test-suite-update
Guillaume Abrioux [Wed, 8 Mar 2023 18:23:24 +0000 (19:23 +0100)]
Merge pull request #2121 from ceph/cv-test-suite-update

ceph-volume: do not test filestore against reef onward

2 years agoceph-volume: do not test filestore against reef onward 2121/head
Guillaume Abrioux [Wed, 8 Mar 2023 15:58:25 +0000 (16:58 +0100)]
ceph-volume: do not test filestore against reef onward

filestore support has been dropped as of Reef release.
This commits drops ceph-volume filestore testing for reef onward.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #2120 from petrutlucian94/mgr_deps
Ionut BALUTOIU [Mon, 6 Mar 2023 09:57:12 +0000 (11:57 +0200)]
Merge pull request #2120 from petrutlucian94/mgr_deps

windows: install python3-bcrypt dependency

2 years agowindows: install python3-bcrypt dependency 2120/head
Lucian Petrut [Sat, 4 Mar 2023 07:28:05 +0000 (09:28 +0200)]
windows: install python3-bcrypt dependency

The Windows job is failing because of a missing mgr dependency.

We'll update the setup script, ensuring that python3-bcrypt is
installed.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2119 from ceph/wip-reef
Josh Durgin [Thu, 2 Mar 2023 23:39:19 +0000 (15:39 -0800)]
Merge pull request #2119 from ceph/wip-reef

Update releases - add reef, remove octopus and older

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoUpdate releases - add reef, remove octopus and older 2119/head
Josh Durgin [Thu, 2 Mar 2023 18:14:16 +0000 (13:14 -0500)]
Update releases - add reef, remove octopus and older

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2 years agoMerge pull request #2118 from ceph/ceph-devstack
Dan Mick [Thu, 2 Mar 2023 11:07:12 +0000 (03:07 -0800)]
Merge pull request #2118 from ceph/ceph-devstack

Add ceph-devstack job

2 years agoAdd ceph-devstack job 2118/head
Zack Cerza [Fri, 17 Feb 2023 21:26:45 +0000 (14:26 -0700)]
Add ceph-devstack job

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2117 from ionutbalutoiu/fix-ssh-exec
Lucian Petrut [Fri, 17 Feb 2023 11:43:59 +0000 (13:43 +0200)]
Merge pull request #2117 from ionutbalutoiu/fix-ssh-exec

utils: fix ssh_exec function

2 years agoutils: fix ssh_exec function 2117/head
Ionut Balutoiu [Fri, 17 Feb 2023 11:38:43 +0000 (13:38 +0200)]
utils: fix ssh_exec function

We need to use `return` inside the function to properly return the
exit code of the function. Using `exit` will abruptly exit the
entire script, which is not what we want.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2116 from ionutbalutoiu/enable-win-event-logs
Lucian Petrut [Fri, 17 Feb 2023 07:33:35 +0000 (09:33 +0200)]
Merge pull request #2116 from ionutbalutoiu/enable-win-event-logs

ceph-windows: Re-enable Windows event logs collection

2 years agoceph-windows: Enable Windows event log collection 2116/head
Ionut Balutoiu [Thu, 16 Feb 2023 17:43:13 +0000 (19:43 +0200)]
ceph-windows: Enable Windows event log collection

The Windows event log collection was failing due `ssh_exec` abruptly
closing the connection, because the default timeout of `30 secs` was exceeded.

This change re-enables the Windows event log collection by increasing the
SSH timeout to `30 minutes`.

Additionally, the `ssh_exec` function is updated to print an appropriate
error message when SSH timeout is exceeded.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoceph-windows: Cleanup collect-event-logs.ps1 script
Ionut Balutoiu [Thu, 16 Feb 2023 17:30:59 +0000 (19:30 +0200)]
ceph-windows: Cleanup collect-event-logs.ps1 script

* Rely on the default `$ErrorActionPreference` value (which is `Continue`).
* Add new function `SanitizeName` that it's used to sanitize the name of the log files.
  The function code existed before, but it was duplicated in the script.
* General PowerShell code cleanup.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2115 from petrutlucian94/log_collection_errors
Ionut BALUTOIU [Thu, 16 Feb 2023 09:02:54 +0000 (11:02 +0200)]
Merge pull request #2115 from petrutlucian94/log_collection_errors

windows: install dokany

2 years agowindows: install dokany 2115/head
Lucian Petrut [Thu, 16 Feb 2023 08:41:06 +0000 (10:41 +0200)]
windows: install dokany

Dokany is required in order to map cephfs on Windows through
ceph-dokan.

For this reason, we're updating the Windows image build script
to include Dokany.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2114 from petrutlucian94/log_collection_errors
Ionut BALUTOIU [Thu, 16 Feb 2023 08:14:17 +0000 (10:14 +0200)]
Merge pull request #2114 from petrutlucian94/log_collection_errors

windows: temporarily disable event log collection

2 years agowindows: temporarily disable event log collection 2114/head
Lucian Petrut [Thu, 16 Feb 2023 08:02:43 +0000 (10:02 +0200)]
windows: temporarily disable event log collection

We're attempting to collect Windows event logs at the end of the
job.

The issue is that some logs cannot be collected and the job
terminates abruptly despite the error action being set to "ignore".

We'll temporarily skip this step in order to unblock the Windows
job.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2113 from petrutlucian94/log_collection_errors
Ionut BALUTOIU [Wed, 15 Feb 2023 17:15:27 +0000 (19:15 +0200)]
Merge pull request #2113 from petrutlucian94/log_collection_errors

windows: fix log collection

2 years agowindows: fix log collection 2113/head
Lucian Petrut [Wed, 15 Feb 2023 14:41:26 +0000 (16:41 +0200)]
windows: fix log collection

The "Get-WinEvent" command used to retrieve Windows event log
messages can fail if the specified log has no entries.

We're using the "SilentlyContinue" action to avoid erroring out
in such cases.

However, the script still terminates abruptly while collecting
logs. For this reason, we'll use the "Ignore" error action instead.
We'd rather not have test failures just because we failed to
retrieve some Windows event log entries.

Unlike "SilentlyContinue", "Ignore" doesn't populate the global
$Error variable, which may be used when running the script
remotely.

While at it, we're adding some log messages at the end of the
"run_tests" and "collect-event-logs.ps1" scripts.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2112 from stefan-chivu/fix-event-logs-v2
Lucian Petrut [Wed, 15 Feb 2023 08:48:38 +0000 (10:48 +0200)]
Merge pull request #2112 from stefan-chivu/fix-event-logs-v2

ceph-windows: Fixed txt event log dump

2 years agoceph-windows: Fixed txt event log dump 2112/head
Stefan Chivu [Wed, 15 Feb 2023 08:42:08 +0000 (08:42 +0000)]
ceph-windows: Fixed txt event log dump

The event log collection script was throwing an error if no event
logs could be found for the filters applied. Therefore, the
Get-WinEvent call in DumpEventLogTxt has been modified to silently
continue if such case arises.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoMerge pull request #2111 from stefan-chivu/fix-event-logs
Lucian Petrut [Tue, 14 Feb 2023 12:05:11 +0000 (14:05 +0200)]
Merge pull request #2111 from stefan-chivu/fix-event-logs

ceph-windows: Fix event log artifacts

2 years agoceph-windows: Fix event log artifacts 2111/head
Stefan Chivu [Tue, 14 Feb 2023 11:47:03 +0000 (11:47 +0000)]
ceph-windows: Fix event log artifacts

Previously, the windows event log artifacts were being dumped in
evtx format and then converted to txt by individually querying them
using wevtutil.

After doing this, the resulting txt logs contained xml entries that
omitted the actual event message.

Now, they will be directly dumped as txt using Get-WinEvent and the
evtx logs can be obtained using the -IncludeEvtxFiles flag.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoMerge pull request #2110 from petrutlucian94/win_logs
Ionut BALUTOIU [Fri, 10 Feb 2023 13:22:08 +0000 (15:22 +0200)]
Merge pull request #2110 from petrutlucian94/win_logs

windows: collect additional information

2 years agowindows: collect additional information 2110/head
Lucian Petrut [Fri, 10 Feb 2023 13:07:12 +0000 (15:07 +0200)]
windows: collect additional information

In some cases, the OSDs seem to crash while running Windows tests.

In order to be able to investigate the issue, we'll need to collect
additional information. This commit fetches the following:

* the entire journal since the last boot
* ceph logs
* available memory at the end of the job

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2109 from petrutlucian94/win_jq_package
Ilya Dryomov [Fri, 10 Feb 2023 11:57:31 +0000 (12:57 +0100)]
Merge pull request #2109 from petrutlucian94/win_jq_package

windows: install jq package

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agowindows: install jq package 2109/head
Lucian Petrut [Fri, 10 Feb 2023 11:47:25 +0000 (13:47 +0200)]
windows: install jq package

Windows jobs run ceph clusters in Ubuntu VMs. This change ensures
that the jq binary used by vstart will be available.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2108 from petrutlucian94/increase_vm_mem
Ionut BALUTOIU [Wed, 8 Feb 2023 13:42:01 +0000 (15:42 +0200)]
Merge pull request #2108 from petrutlucian94/increase_vm_mem

increase vm memory for windows test jobs

2 years agoincrease vm memory for windows test jobs 2108/head
Lucian Petrut [Wed, 8 Feb 2023 11:19:12 +0000 (13:19 +0200)]
increase vm memory for windows test jobs

Windows test jobs use two vms: a windows vm that takes 8gb of ram
and a linux one that currently uses 32gb of ram.

We're using memstore with 5gb per osd. It seems that the linux vm
is running out of memory, which is why the OSDs can get
terminated while running the tests.

We'll go ahead and increase the linux vm memory to 64gb.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2107 from petrutlucian94/fix_win_ceph_call
Ionut BALUTOIU [Tue, 7 Feb 2023 16:21:09 +0000 (18:21 +0200)]
Merge pull request #2107 from petrutlucian94/fix_win_ceph_call

windows: fix running "ceph status"

2 years agowindows: fix running "ceph status" 2107/head
Lucian Petrut [Tue, 7 Feb 2023 14:58:58 +0000 (16:58 +0200)]
windows: fix running "ceph status"

One of the Windows scripts tries to do "ceph status" before
and after executing the ceph tests.

The issue is that it's using a wrong path. The ceph dir is actually
located in the home dir.

We'll update the script accordingly.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2103 from stefan-chivu/log-artifacts
Ionut BALUTOIU [Tue, 7 Feb 2023 13:05:41 +0000 (15:05 +0200)]
Merge pull request #2103 from stefan-chivu/log-artifacts

ceph-windows: Collect logs for build artifacts

2 years agoMerge pull request #2106 from ceph/update-ceph-containers-prs
Guillaume Abrioux [Tue, 7 Feb 2023 08:53:43 +0000 (09:53 +0100)]
Merge pull request #2106 from ceph/update-ceph-containers-prs

ceph-container-nightly: drop ceph-ansible testing

2 years agoceph-container-nightly: drop ceph-ansible testing 2106/head
Guillaume Abrioux [Tue, 7 Feb 2023 08:48:00 +0000 (09:48 +0100)]
ceph-container-nightly: drop ceph-ansible testing

These tests don't work anymore, the plan is to test with cephadm.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #2105 from ionutbalutoiu/ceph_win32_build-libvirt-vm
Lucian Petrut [Fri, 3 Feb 2023 12:33:42 +0000 (14:33 +0200)]
Merge pull request #2105 from ionutbalutoiu/ceph_win32_build-libvirt-vm

ceph-windows: Build Ceph on Windows inside libvirt VM

2 years agoceph-windows: Build Ceph on Windows inside libvirt VM 2105/head
Ionut Balutoiu [Fri, 3 Feb 2023 08:44:40 +0000 (10:44 +0200)]
ceph-windows: Build Ceph on Windows inside libvirt VM

Make sure that the Ceph on Windows build is done inside an Ubuntu
libvirt VM. This ensures that the build is done on a clean environment
on each job run.

After the Windows build is done, the Ubuntu VM is rebuilt to ensure
that Ceph vstart will have a clean environment as well.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2104 from ivancich/wip-allow-distro-specific-builds
J. Eric Ivancich [Thu, 2 Feb 2023 18:21:50 +0000 (13:21 -0500)]
Merge pull request #2104 from ivancich/wip-allow-distro-specific-builds

ceph-dev: allow for a strictly centos9 build

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
2 years agoceph-dev: allow for a strictly centos9 build 2104/head
J. Eric Ivancich [Wed, 1 Feb 2023 17:42:36 +0000 (12:42 -0500)]
ceph-dev: allow for a strictly centos9 build

For those working on details of a centos9 build, testing should not
involve a bunch of other builds. Presenting this as a potential
solution.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoceph-windows: Collect more artifacts 2103/head
Stefan Chivu [Fri, 27 Jan 2023 14:08:54 +0000 (16:08 +0200)]
ceph-windows: Collect more artifacts

This commit changes the run_tests script in order to include more
logs and overall information as build artifacts, such as Windows
client logs, Windows event logs, the ceph.conf on the client, the
wnbd version and the status of the ceph cluster.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoceph-windows: Added script for collecting Windows event logs
Stefan Chivu [Tue, 31 Jan 2023 12:08:02 +0000 (14:08 +0200)]
ceph-windows: Added script for collecting Windows event logs

In order to collect more information for the build artifacts,
the collect-event-logs.ps1 script will be run in order to extract
the event logs from the Windows client machine.

It will dump all the event logs as evtx and then convert them to
txt in order to be accessible on all platforms.

If the -IncludeEvtxFiles flag is used, the evtx files can be kept.
By default they are deleted.

Also, if the -CleanupEventLog flag is used, then the machine's
events will get cleared after the dump. By default they are kept.

The dumped event log files can be found in the directory sent as
parameter using the mandatory -LogDirectory parameter.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoMerge pull request #2101 from petrutlucian94/mingw_jammy
Ilya Dryomov [Thu, 26 Jan 2023 09:45:16 +0000 (10:45 +0100)]
Merge pull request #2101 from petrutlucian94/mingw_jammy

ceph-dev-*: bump pbuilder dist when targeting Windows

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoceph-dev-*: bump pbuilder dist when targeting Windows 2101/head
Lucian Petrut [Wed, 25 Jan 2023 14:01:49 +0000 (16:01 +0200)]
ceph-dev-*: bump pbuilder dist when targeting Windows

Ceph now uses c++ 20, thus requiring gcc 10 or later.

We'll need to update Windows jobs that leverage pbuilder
to from Ubuntu Focal (20.04) to Ubuntu Jammy (22.04) to
get mingw 8.0 and gcc 10.3.0.

Fixes: https://tracker.ceph.com/issues/58562
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2102 from ceph/drop-ca-nightly
Guillaume Abrioux [Thu, 26 Jan 2023 07:13:40 +0000 (08:13 +0100)]
Merge pull request #2102 from ceph/drop-ca-nightly

ceph-ansible: drop nightly jobs

2 years agoceph-ansible: drop nightly jobs 2102/head
Guillaume Abrioux [Wed, 25 Jan 2023 20:16:37 +0000 (21:16 +0100)]
ceph-ansible: drop nightly jobs

ceph-ansible is receiving less and less engineering efforts so it is now
unnecessary to run nightly jobs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #2100 from petrutlucian94/win_timeout
Ilya Dryomov [Wed, 25 Jan 2023 15:15:46 +0000 (16:15 +0100)]
Merge pull request #2100 from petrutlucian94/win_timeout

ceph-windows: update test timeouts

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoceph-windows: update test timeouts 2100/head
Lucian Petrut [Wed, 25 Jan 2023 12:52:45 +0000 (14:52 +0200)]
ceph-windows: update test timeouts

The Python rbd-wnbd tests time out on stable branches. The reason
is that if the test script is missing, we're fetching it from
the main branch and then run the tests individually.

The issue is that while on the main branch the entire suite uses
a 30m timeout, on stable branches we're excuting each individual
test with a 5m timeout, which isn't enough for some of the tests
(e.g. the FIO one).

For this reason, we're going to increase the timeout.

While at it, we're pinning the commit id when fetching the test
script on older branches. That will allow us to move it or
refactor it.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2099 from ceph/ceph-container-prs-remove-ca-tests
Guillaume Abrioux [Tue, 24 Jan 2023 16:13:41 +0000 (17:13 +0100)]
Merge pull request #2099 from ceph/ceph-container-prs-remove-ca-tests

ceph-container-prs: disable ceph-ansible tests

2 years agoceph-container-prs: disable ceph-ansible tests 2099/head
Guillaume Abrioux [Tue, 24 Jan 2023 15:32:40 +0000 (16:32 +0100)]
ceph-container-prs: disable ceph-ansible tests

ceph-container repo is being reworked.
ceph-ansible is about to drop ceph/daemon entrypoints anyway
so theses tests don't make sense anymore.

This disables ceph-ansible tests in the ceph-container CI.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #2098 from ceph/pin-tox-cv-scenario
Guillaume Abrioux [Mon, 16 Jan 2023 16:56:12 +0000 (17:56 +0100)]
Merge pull request #2098 from ceph/pin-tox-cv-scenario

ceph-volume-scenario: pin the tox version

2 years agoceph-volume-scenario: pin the tox version 2098/head
Guillaume Abrioux [Mon, 16 Jan 2023 16:50:13 +0000 (17:50 +0100)]
ceph-volume-scenario: pin the tox version

Due to a regression introduced in tox 4.3.1, we have to pin
the version used in the CI in order to avoid the following error:

```
tox.report.HandledError: replace failed in centos8-filestore-create.commands with MatchRecursionError('circular chain between set env VAGRANT_UP_FLAGS, CEPH_DEV_BRANCH, CEPH_DEV_SHA1')
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #2097 from ceph/ca-pin-tox
Guillaume Abrioux [Mon, 16 Jan 2023 13:21:06 +0000 (14:21 +0100)]
Merge pull request #2097 from ceph/ca-pin-tox

ceph-ansible-prs: pin tox version

2 years agoceph-ansible-prs: pin tox version 2097/head
Guillaume Abrioux [Mon, 16 Jan 2023 13:14:07 +0000 (14:14 +0100)]
ceph-ansible-prs: pin tox version

Due to a regression introduced in tox 4.3.1, multiple environment variable substitution
is broken.
```
tox.report.HandledError: replace failed in centos-non_container-update.commands with MatchRecursionError('circular chain between set env DOCKER_HUB_USERNAME, DOCKER_HUB_PASSWORD, INVENTORY')
```

Let's pin to the last tox stable version where it used to work fine (4.2.8).

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #2096 from Matan-B/wip-matanb-c-cephfs-java-disable-revert
Samuel Just [Wed, 11 Jan 2023 22:04:22 +0000 (14:04 -0800)]
Merge pull request #2096 from Matan-B/wip-matanb-c-cephfs-java-disable-revert

Revert "build_utils.sh: Disable cephfs_java with Crimson"

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoRevert "build_utils.sh: Disable cephfs_java with Crimson" 2096/head
Matan Breizman [Wed, 11 Jan 2023 17:57:11 +0000 (19:57 +0200)]
Revert "build_utils.sh: Disable cephfs_java with Crimson"

This reverts commit dd03c322eaded5f1bb274bb46fb13fbfe7a191aa.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2095 from Matan-B/wip-matanb-c-cephfs-java-disable
Samuel Just [Tue, 10 Jan 2023 18:31:45 +0000 (10:31 -0800)]
Merge pull request #2095 from Matan-B/wip-matanb-c-cephfs-java-disable

build_utils.sh: Disable cephfs_java with Crimson

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agobuild_utils.sh: Disable cephfs_java with Crimson 2095/head
Matan Breizman [Tue, 10 Jan 2023 10:07:21 +0000 (12:07 +0200)]
build_utils.sh: Disable cephfs_java with Crimson

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2094 from ionutbalutoiu/update-ceph-win-tests
Lucian Petrut [Fri, 6 Jan 2023 15:10:09 +0000 (17:10 +0200)]
Merge pull request #2094 from ionutbalutoiu/update-ceph-win-tests

ceph-windows: Use PowerShell script to run tests

2 years agoceph-windows: Use PowerShell script to run tests 2094/head
Ionut Balutoiu [Fri, 6 Jan 2023 11:37:32 +0000 (13:37 +0200)]
ceph-windows: Use PowerShell script to run tests

We have a new PowerShell script that runs all the Ceph Windows tests
from the main repository.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2093 from ionutbalutoiu/update-ceph-win-tests
Lucian Petrut [Wed, 4 Jan 2023 16:51:21 +0000 (18:51 +0200)]
Merge pull request #2093 from ionutbalutoiu/update-ceph-win-tests

ceph-windows: Use locally cloned script, if possible

2 years agoceph-windows: Use locally cloned script, if possible 2093/head
Ionut Balutoiu [Wed, 4 Jan 2023 16:40:50 +0000 (18:40 +0200)]
ceph-windows: Use locally cloned script, if possible

Use the locally cloned `test_rbd_wnbd.py` script if `$WORKSPACE/ceph`
repository was cloned as part of the Jenkins job.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2091 from petrutlucian94/win_stamp_test
Ilya Dryomov [Mon, 26 Dec 2022 12:20:13 +0000 (13:20 +0100)]
Merge pull request #2091 from petrutlucian94/win_stamp_test

ceph-windows: re-enable rbd-wnbd stamp test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoceph-windows: re-enable rbd-wnbd stamp test 2091/head
Lucian Petrut [Thu, 24 Nov 2022 08:01:52 +0000 (10:01 +0200)]
ceph-windows: re-enable rbd-wnbd stamp test

We had to disable one of the rbd-wnbd tests while investigating
the reason why disks started coming up as read-only.

This was actually caused by the wnbd bus type, which changed from
virtual to SAS. The default Windows policy (offlineShared) doesn't
automatically bring online such disks, SAS being considered a
shared bus.

While at it, we're also enabling the new *Fs* tests, which use
a Windows partition instead of the raw block devices.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2076 from rzarzynski/wip-kickoff-reef
Kefu Chai [Wed, 14 Dec 2022 11:29:53 +0000 (19:29 +0800)]
Merge pull request #2076 from rzarzynski/wip-kickoff-reef

kickoff v18 reef

2 years agoMerge pull request #2090 from ceph/ceph-ansible-infinite-loop
Dan Mick [Tue, 22 Nov 2022 23:03:46 +0000 (15:03 -0800)]
Merge pull request #2090 from ceph/ceph-ansible-infinite-loop

ceph-ansible-nightly: Don't search tags endlessly

2 years agoceph-ansible-nightly: Don't search tags endlessly 2090/head
Zack Cerza [Tue, 22 Nov 2022 22:32:12 +0000 (15:32 -0700)]
ceph-ansible-nightly: Don't search tags endlessly

If the reponse is in an unexpected format (e.g. it's an error response),
we were looping infinitely; one job got to over 60k pages!

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2089 from petrutlucian94/disable_wnbd_test
Ilya Dryomov [Thu, 17 Nov 2022 14:38:41 +0000 (15:38 +0100)]
Merge pull request #2089 from petrutlucian94/disable_wnbd_test

temporarily disable windows RbdStampTest test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotemporarily disable windows rbd-wnbd test 2089/head
Lucian Petrut [Thu, 17 Nov 2022 12:04:19 +0000 (14:04 +0200)]
temporarily disable windows rbd-wnbd test

One of the rbd-wnbd tests has started failing after the Windows
image got updated. The disks now show up as "read-only" by default.

https://pastebin.com/raw/JXmLXFnN

We'll temporarily disable this test to unblock the Windows job
while doing further investigation.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2088 from ceph/cdn-quay
Zack Cerza [Wed, 16 Nov 2022 20:51:42 +0000 (13:51 -0700)]
Merge pull request #2088 from ceph/cdn-quay

ceph-dev-new: Default to internal quay instance