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

2 years agoceph-dev-new: Default to internal quay instance 2088/head
Zack Cerza [Wed, 16 Nov 2022 20:25:39 +0000 (13:25 -0700)]
ceph-dev-new: Default to internal quay instance

Temporarily, so we can unblock building on git push.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2087 from ceph/quay-ceph-io-ceph-ci
Dan Mick [Fri, 11 Nov 2022 23:44:12 +0000 (15:44 -0800)]
Merge pull request #2087 from ceph/quay-ceph-io-ceph-ci

Replace dmick-quay creds with quay-ceph-io-ceph-ci

2 years agoReplace dmick-quay creds with quay-ceph-io-ceph-ci 2087/head
Zack Cerza [Wed, 9 Nov 2022 18:47:32 +0000 (11:47 -0700)]
Replace dmick-quay creds with quay-ceph-io-ceph-ci

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2086 from ionutbalutoiu/add-windows-tests
Lucian Petrut [Mon, 31 Oct 2022 17:31:41 +0000 (10:31 -0700)]
Merge pull request #2086 from ionutbalutoiu/add-windows-tests

ceph-windows: Add more Windows testing

2 years agoMerge pull request #2085 from ionutbalutoiu/update-ceph-win-img-build
Lucian Petrut [Mon, 31 Oct 2022 17:27:57 +0000 (10:27 -0700)]
Merge pull request #2085 from ionutbalutoiu/update-ceph-win-img-build

ceph-windows: Update `ceph-windows-image-build` setup script

2 years agoceph-windows: Add more Windows testing 2086/head
Ionut Balutoiu [Mon, 31 Oct 2022 16:16:56 +0000 (18:16 +0200)]
ceph-windows: Add more Windows testing

Run `test_rbd_wnbd.py` script from the upstream Ceph QA Windows
workunit scripts as part of the `script/ceph-windows/run_tests`.

The new test cases don't take a lot of time to execute (unless
something is wrong with Ceph on Windows or Linux). So, we won't
have any noticeable jobs' execute time penalty.

This adds more Windows tests to the Jenkins jobs:
* `ceph-windows-test`
* `ceph-windows-pull-requests`

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoceph-windows: Update `ceph-windows-image-build` setup script 2085/head
Ionut Balutoiu [Mon, 31 Oct 2022 09:43:29 +0000 (11:43 +0200)]
ceph-windows: Update `ceph-windows-image-build` setup script

* Bump Python to `3.11`.
* Add `fio` as part of Windows CI image setup.
* Add `prettytable` pip dependency. We'll use this for the Python
  `test_rbd_wnbd.py` script.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2084 from lxbsz/fs_encryption
Ilya Dryomov [Mon, 24 Oct 2022 08:34:26 +0000 (10:34 +0200)]
Merge pull request #2084 from lxbsz/fs_encryption

kernel: enable filesystem encryption option

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agokernel: enable filesystem encryption option 2084/head
Xiubo Li [Mon, 24 Oct 2022 05:04:34 +0000 (13:04 +0800)]
kernel: enable filesystem encryption option

This will enable us to test the filesystem encryption feature in
cephfs kclient.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #2083 from dmick/main
Zack Cerza [Tue, 18 Oct 2022 19:21:39 +0000 (13:21 -0600)]
Merge pull request #2083 from dmick/main

Fix slave.yml symlink

2 years agoFix slave.yml symlink 2083/head
Dan Mick [Thu, 13 Oct 2022 23:27:09 +0000 (16:27 -0700)]
Fix slave.yml symlink

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2082 from ceph/wip-kernel-trigger-master
Ilya Dryomov [Tue, 4 Oct 2022 20:15:39 +0000 (22:15 +0200)]
Merge pull request #2082 from ceph/wip-kernel-trigger-master

kernel: re-add master branch to the trigger list

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoceph-dev-build: update {build,setup}_osc for reef 2076/head
Radosław Zarzyński [Tue, 20 Sep 2022 10:37:18 +0000 (12:37 +0200)]
ceph-dev-build: update {build,setup}_osc for reef

Based on 18c3c7719c3ded64dbec815774defa6166a492d1.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoscripts/build_utils: map 18.* to reef
Radosław Zarzyński [Tue, 20 Sep 2022 10:35:54 +0000 (12:35 +0200)]
scripts/build_utils: map 18.* to reef

Based on e75fe3903f750811d7f4067ec9c9f2597203ebfe.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoMerge pull request #2075 from ceph/cv-fix-nightly
Guillaume Abrioux [Mon, 19 Sep 2022 13:24:28 +0000 (15:24 +0200)]
Merge pull request #2075 from ceph/cv-fix-nightly

ceph-volume-nightly: fix broken tests

3 years agoceph-volume: drop testing against focal 2075/head
Guillaume Abrioux [Mon, 19 Sep 2022 13:21:08 +0000 (15:21 +0200)]
ceph-volume: drop testing against focal

due the a too few number of available jenkins workers allocated
to ceph-volume, we can't afford testing against both centos and ubuntu.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-volume-nightly: fix broken tests
Guillaume Abrioux [Mon, 19 Sep 2022 13:14:46 +0000 (15:14 +0200)]
ceph-volume-nightly: fix broken tests

ceph-volume nightly jobs are broken for a while because it
picks 'main' as ceph-ansible branch for any ceph release being tested.

With this commit, the right ceph-ansible branch will be picked.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2074 from ceph/revert-refactor-collect-logs
Guillaume Abrioux [Fri, 16 Sep 2022 09:21:15 +0000 (11:21 +0200)]
Merge pull request #2074 from ceph/revert-refactor-collect-logs

build_utils: revert collect-logs refactor

3 years agoRevert "ceph-ansible-prs: refact collect-logs" 2074/head
Guillaume Abrioux [Fri, 16 Sep 2022 09:13:52 +0000 (11:13 +0200)]
Revert "ceph-ansible-prs: refact collect-logs"

This reverts commit 21cbce81e1759852b9e2b167d43c7d2e80f7aeba.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoRevert "build_utils: fix collect_ceph_logs function"
Guillaume Abrioux [Fri, 16 Sep 2022 09:12:29 +0000 (11:12 +0200)]
Revert "build_utils: fix collect_ceph_logs function"

This reverts commit 14f91f9d7a2b2bd9ca17cc1a89b5a48191e46d1f.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2073 from ceph/refactor-collect-logs
Guillaume Abrioux [Fri, 16 Sep 2022 08:48:45 +0000 (10:48 +0200)]
Merge pull request #2073 from ceph/refactor-collect-logs

build_utils: fix collect_ceph_logs function

3 years agobuild_utils: fix collect_ceph_logs function 2073/head
Guillaume Abrioux [Fri, 16 Sep 2022 08:36:08 +0000 (10:36 +0200)]
build_utils: fix collect_ceph_logs function

typical error from ceph-volume tests:

```
ERROR! the playbook: /home/jenkins-build/build/workspace/ceph-volume-prs-lvm-centos8-bluestore-dmcrypt/tests/functional/collect-logs.yml could not be found
```

Since `collect-logs.yml` is maintained in ceph-ansible repository,
when `collect_ceph_logs` is called from a job different from
ceph-ansible, the path is incorrect.
The idea is to make ceph-volume jobs override this path.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2072 from ionutbalutoiu/collect-win-logs
Lucian Petrut [Fri, 16 Sep 2022 07:30:59 +0000 (10:30 +0300)]
Merge pull request #2072 from ionutbalutoiu/collect-win-logs

ceph-windows-pull-requests: Collect tests logs

3 years agoceph-windows-pull-requests: Collect tests logs 2072/head
Ionut Balutoiu [Fri, 16 Sep 2022 07:17:38 +0000 (10:17 +0300)]
ceph-windows-pull-requests: Collect tests logs

Also, set `artifact-days-to-keep` and `artifact-num-to-keep` to make
sure we don't clutter the Jenkins server with log files.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
3 years agoMerge pull request #2071 from ceph/cv-nightlies-update
Guillaume Abrioux [Thu, 15 Sep 2022 11:55:23 +0000 (13:55 +0200)]
Merge pull request #2071 from ceph/cv-nightlies-update

ceph-volume-nightly: cleanup

3 years agoceph-volume-nightly: cleanup 2071/head
Guillaume Abrioux [Thu, 15 Sep 2022 07:23:32 +0000 (09:23 +0200)]
ceph-volume-nightly: cleanup

update ceph-volume nightly jobs.
drop nautilus testing as it's EOL for a while.
drop testing against el7
drop testing against xenial (replace with focal)
test against quincy and pacific

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2070 from dsavineau/tcmalloc_in_mock
Guillaume Abrioux [Wed, 14 Sep 2022 16:02:56 +0000 (18:02 +0200)]
Merge pull request #2070 from dsavineau/tcmalloc_in_mock

nfs-ganesha/rpm: Fix tcmalloc allocator setup

3 years agonfs-ganesha/rpm: Fix tcmalloc allocator setup 2070/head
Dimitri Savineau [Wed, 14 Sep 2022 15:55:08 +0000 (11:55 -0400)]
nfs-ganesha/rpm: Fix tcmalloc allocator setup

The previous commit installed the gperftools-devel package and set the
cmake ALLOCATION variable to tcmalloc but this isn't used at all during
the RPM package build via mock.
We also need those changes in the RPM spec file.
This is a temporary solution until the upstream nfs-ganesha RPM spec file
will support such change.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #2069 from ceph/fix-ganesha-builds
Guillaume Abrioux [Tue, 13 Sep 2022 14:12:19 +0000 (16:12 +0200)]
Merge pull request #2069 from ceph/fix-ganesha-builds

nfs-ganesha: build with tcmalloc

3 years agonfs-ganesha: bump debian build to focal 2069/head
Guillaume Abrioux [Mon, 12 Sep 2022 14:53:56 +0000 (16:53 +0200)]
nfs-ganesha: bump debian build to focal

we don't build for bionic anymore, this should be updated.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agonfs-ganesha: build with tcmalloc
Guillaume Abrioux [Mon, 12 Sep 2022 14:09:59 +0000 (16:09 +0200)]
nfs-ganesha: build with tcmalloc

since https://github.com/ceph/ceph/pull/47628 any development builds of nfs-ganesha
are broken.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2066 from ceph/builtin
adam kraitman [Wed, 31 Aug 2022 13:27:27 +0000 (16:27 +0300)]
Merge pull request #2066 from ceph/builtin

ceph-dev-container-only: Use Jenkins controller for main job

3 years agoceph-dev-container-only: Use Jenkins controller for main job 2066/head
David Galloway [Wed, 31 Aug 2022 12:41:49 +0000 (08:41 -0400)]
ceph-dev-container-only: Use Jenkins controller for main job

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2065 from ceph/fix-sync-pull2
adam kraitman [Sun, 28 Aug 2022 06:17:28 +0000 (09:17 +0300)]
Merge pull request #2065 from ceph/fix-sync-pull2

Updates for sync-pull signing script

3 years agosync-pull: Fix ssh command 2065/head
David Galloway [Fri, 26 Aug 2022 17:37:38 +0000 (13:37 -0400)]
sync-pull: Fix ssh command

chacra.ceph.com used to live in OVH and listened for SSH on port 2222.  The VM is in Sepia now and listens on 22.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-pull: Automate download.ceph.com tarball upload
David Galloway [Fri, 26 Aug 2022 17:35:21 +0000 (13:35 -0400)]
sync-pull: Automate download.ceph.com tarball upload

I swapped the paths in `for endpoint in` because there may not be a centos/9 repo.  That means `$version` gets left unset and isn't available to `get-tarballs.sh` later in the script.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-pull: Update possible distro combos
David Galloway [Fri, 26 Aug 2022 17:34:24 +0000 (13:34 -0400)]
sync-pull: Update possible distro combos

Removed EOL releases

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2030 from rhcs-dashboard/change-log-dir
David Galloway [Mon, 22 Aug 2022 17:59:01 +0000 (13:59 -0400)]
Merge pull request #2030 from rhcs-dashboard/change-log-dir

dashboard-e2e: change artifact dir to mstart ones

3 years agoMerge pull request #2064 from tchaikov/ceph-windows-cleanup
Kefu Chai [Sat, 20 Aug 2022 02:44:05 +0000 (10:44 +0800)]
Merge pull request #2064 from tchaikov/ceph-windows-cleanup

ceph-windows: remove installed packages

3 years agoceph-windows: remove installed packages 2064/head
Kefu Chai [Sat, 20 Aug 2022 00:17:45 +0000 (08:17 +0800)]
ceph-windows: remove installed packages

`ceph-windows/run_tests` installs client side dependencies using
`cephadm install ceph-common`, which leaves us with a bunch ceph
packages after the test finishes. and they inteferes with succeeding
tests which, for instance, try to import python modules from test's
building directory.
but they end up with importing the python modules installed in system.

in this change, the installed package and its ceph dependencies are
removed in the cleanup script. the list of packages is collected by
inspecting `/var/log/dpkg.log` on the system where the test failures
were spotted and `ceph/debian/control` 's "ceph-common" section.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #2058 from ceph/quincy-c9
David Galloway [Thu, 18 Aug 2022 13:31:00 +0000 (09:31 -0400)]
Merge pull request #2058 from ceph/quincy-c9

ceph-dev-cron: Build quincy on el9 daily

3 years agoMerge pull request #2055 from ceph/touch-mgr-file
David Galloway [Wed, 17 Aug 2022 19:52:10 +0000 (15:52 -0400)]
Merge pull request #2055 from ceph/touch-mgr-file

ceph-pr-api: Avoid artifact archive plugin hang

3 years agoMerge pull request #2043 from cbodley/wip-boost-valgrind
David Galloway [Wed, 17 Aug 2022 14:16:03 +0000 (10:16 -0400)]
Merge pull request #2043 from cbodley/wip-boost-valgrind

add WITH_BOOST_VALGRIND to default build flavor

3 years agoMerge pull request #2061 from tchaikov/pbuilder
David Galloway [Mon, 15 Aug 2022 20:44:49 +0000 (16:44 -0400)]
Merge pull request #2061 from tchaikov/pbuilder

build_utils/build_debs: use variable when appropriate

3 years agoMerge pull request #2063 from ceph/no-more-lsb
Zack Cerza [Mon, 15 Aug 2022 15:43:30 +0000 (09:43 -0600)]
Merge pull request #2063 from ceph/no-more-lsb

Stop using lsb for rpm-based distros

3 years agoMerge pull request #2060 from ceph/ceph-ci-c9
Zack Cerza [Thu, 11 Aug 2022 15:14:46 +0000 (09:14 -0600)]
Merge pull request #2060 from ceph/ceph-ci-c9

ceph-dev-new: Build centos9 for main and quincy based ceph-ci branches

3 years agoStop using lsb for rpm-based distros 2063/head
David Galloway [Thu, 11 Aug 2022 13:31:48 +0000 (09:31 -0400)]
Stop using lsb for rpm-based distros

lsb_release was removed in EL9 and we already have functions to read /etc/os-release and return the values we want.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2059 from ceph/scripts-c9
adam kraitman [Thu, 11 Aug 2022 13:15:07 +0000 (16:15 +0300)]
Merge pull request #2059 from ceph/scripts-c9

scripts: Update signing scripts for el9