ceph-build.git
3 years agoansible: Start libvirt services on slave spinup wip-start-libvirt
David Galloway [Tue, 8 Sep 2020 13:56:43 +0000 (09:56 -0400)]
ansible: Start libvirt services on slave spinup

I accidentally left these out when I combined all the slave playbooks.  It wasn't caught till now because I hadn't actually pulled the latest ceph-build.git on prado

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1654 from ceph/wip-kernel-drop-centos7
Ilya Dryomov [Sun, 6 Sep 2020 09:13:51 +0000 (11:13 +0200)]
Merge pull request #1654 from ceph/wip-kernel-drop-centos7

kernel: drop centos7 builds and arm64 cruft

3 years agoMerge pull request #1653 from ceph/wip-cleanup-home
David Galloway [Fri, 4 Sep 2020 12:31:25 +0000 (08:31 -0400)]
Merge pull request #1653 from ceph/wip-cleanup-home

ceph-api-nightly: Clean up after yourself

3 years agokernel: drop arm64 cruft 1654/head
Ilya Dryomov [Fri, 4 Sep 2020 09:55:33 +0000 (11:55 +0200)]
kernel: drop arm64 cruft

Don't pretend we can build an arm64 kernel: our kernel config is for
x86_64.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agokernel: drop centos7 builds
Ilya Dryomov [Fri, 4 Sep 2020 09:30:20 +0000 (11:30 +0200)]
kernel: drop centos7 builds

The gcc version requirement was raised to 4.9 in kernel 4.8.  centos7
is on gcc 4.8 and these builds have been failing for the last couple of
months.

While we could switch to devtoolset-7 or devtoolset-8, both of which
are installed on our centos7 build agents, let's just drop them.  For
one-off testing of older releases, trusty and xenial would do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoceph-api-nightly: Clean up after yourself 1653/head
David Galloway [Thu, 3 Sep 2020 16:58:01 +0000 (12:58 -0400)]
ceph-api-nightly: Clean up after yourself

This job has a bunch of templates.  Each one reaches 30-50GB in size which quickly fills up our builder home dirs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1651 from ceph/wip-timeout
David Galloway [Mon, 31 Aug 2020 16:28:50 +0000 (12:28 -0400)]
Merge pull request #1651 from ceph/wip-timeout

bz-mill: Scrap job

3 years agoMerge pull request #1649 from ceph/wip-xterm
David Galloway [Mon, 31 Aug 2020 14:37:19 +0000 (10:37 -0400)]
Merge pull request #1649 from ceph/wip-xterm

ansicolor jobs: Set TERM=xterm

3 years agobz-mill: Scrap job 1651/head
David Galloway [Thu, 27 Aug 2020 20:05:25 +0000 (16:05 -0400)]
bz-mill: Scrap job

Checked with Christina.  She no longer uses this job.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1650 from tspmelo/wip-cypress-libxss1
Laura Paduano [Thu, 27 Aug 2020 12:52:27 +0000 (14:52 +0200)]
Merge pull request #1650 from tspmelo/wip-cypress-libxss1

install-e2e-test-deps.sh: Add libxss1 to debian distros

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoinstall-e2e-test-deps.sh: Add libxss1 to debian distros 1650/head
Tiago Melo [Thu, 27 Aug 2020 11:26:35 +0000 (11:26 +0000)]
install-e2e-test-deps.sh: Add libxss1 to debian distros

Cypress is failing due to a missing package.

Signed-off-by: Tiago Melo <tmelo@suse.com>
3 years agoansicolor jobs: Set TERM=xterm 1649/head
David Galloway [Wed, 26 Aug 2020 18:28:32 +0000 (14:28 -0400)]
ansicolor jobs: Set TERM=xterm

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1647 from ceph/wip-cancel_on_pr_udpate-master
Kefu Chai [Mon, 24 Aug 2020 11:26:46 +0000 (19:26 +0800)]
Merge pull request #1647 from ceph/wip-cancel_on_pr_udpate-master

ceph-*pull-requests*: cancel job on PR update

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
3 years agobuild: cancel job on PR update 1647/head
Ernesto Puerta [Mon, 24 Aug 2020 10:56:21 +0000 (12:56 +0200)]
build: cancel job on PR update

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #1646 from tchaikov/wip-ceph-perf-pull-requests-ln
Kefu Chai [Mon, 24 Aug 2020 10:28:45 +0000 (18:28 +0800)]
Merge pull request #1646 from tchaikov/wip-ceph-perf-pull-requests-ln

ceph-perf-pull-requests: do not fail if symblink already exists

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-perf-pull-requests: s/source/./ 1646/head
Kefu Chai [Sat, 22 Aug 2020 03:20:17 +0000 (11:20 +0800)]
ceph-perf-pull-requests: s/source/./

turns out we have ubuntu test nodes labeled with "performance", and they
use dash for "sh", and jenkins use "sh" for running the embedded
scripts.

let's avoid bashism, and use "." instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-perf-pull-requests: install clang-10 on debian/ubuntu
Kefu Chai [Sat, 22 Aug 2020 03:14:04 +0000 (11:14 +0800)]
ceph-perf-pull-requests: install clang-10 on debian/ubuntu

and always install clang for both classic and crimson job

so we can see the warnings spit by clang when running classic perf tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-perf-pull-requests: do not fail if symblink already exists
Kefu Chai [Sat, 22 Aug 2020 02:27:08 +0000 (10:27 +0800)]
ceph-perf-pull-requests: do not fail if symblink already exists

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1645 from tchaikov/wip-remove-unexpected-token
Kefu Chai [Fri, 21 Aug 2020 13:44:37 +0000 (21:44 +0800)]
Merge pull request #1645 from tchaikov/wip-remove-unexpected-token

ceph-perf-pull-requests: remove superfluous ";;"

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-perf-pull-requests: remove superfluous ";;" 1645/head
Kefu Chai [Fri, 21 Aug 2020 09:50:59 +0000 (17:50 +0800)]
ceph-perf-pull-requests: remove superfluous ";;"

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1644 from tchaikov/wip-crimson-clang-10
Kefu Chai [Thu, 20 Aug 2020 10:09:23 +0000 (18:09 +0800)]
Merge pull request #1644 from tchaikov/wip-crimson-clang-10

ceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10 1644/head
Kefu Chai [Thu, 20 Aug 2020 03:19:27 +0000 (11:19 +0800)]
ceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10

we need clang for detecting build failures with this compiler, and for
performing static analysis.

recently, seastar started to require better C++17 compatible compiler,
and it dropped the support of C++14. so before llvm-toolset-10 is added
to RHEL8/CentOS8, we need to use our own copr repo for clang-10.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1643 from ceph/wip-cansiblerpm
David Galloway [Tue, 18 Aug 2020 19:19:28 +0000 (15:19 -0400)]
Merge pull request #1643 from ceph/wip-cansiblerpm

ceph-ansible-rpm: Add missing CHACRACTL_KEY

3 years agoceph-ansible-rpm: Add missing CHACRACTL_KEY 1643/head
David Galloway [Tue, 18 Aug 2020 17:42:40 +0000 (13:42 -0400)]
ceph-ansible-rpm: Add missing CHACRACTL_KEY

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1642 from ceph/guits-refact_labels
Guillaume Abrioux [Mon, 17 Aug 2020 11:00:40 +0000 (13:00 +0200)]
Merge pull request #1642 from ceph/guits-refact_labels

ceph-ansible: only use smithi nodes for all_daemons

3 years agoceph-ansible: only use smithi nodes for all_daemons 1642/head
Guillaume Abrioux [Mon, 17 Aug 2020 09:17:42 +0000 (11:17 +0200)]
ceph-ansible: only use smithi nodes for all_daemons

Using `(smithi || centos7)` allows ovh slave nodes to be used for all
`all_daemons` based scenario which is not what we want since the latest
makes the playbook failing for these scenarios.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1641 from tchaikov/wip-dts-9
Kefu Chai [Sat, 15 Aug 2020 10:38:57 +0000 (18:38 +0800)]
Merge pull request #1641 from tchaikov/wip-dts-9

scripts/build_utils: add copr repo for latest gcc-toolset-9

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoscripts/build_utils: add copr repo for latest gcc-toolset-9 1641/head
Kefu Chai [Sat, 15 Aug 2020 03:48:58 +0000 (11:48 +0800)]
scripts/build_utils: add copr repo for latest gcc-toolset-9

see also https://copr.fedorainfracloud.org/coprs/tchaikov/gcc-toolset-9

we can drop it once devtoolset-9-gcc-c++ >= 9.2.1-2.3 is available in
CentOS8/RHEL8.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-*build/setup_rpm: extract setup_rpm_build_deps
Kefu Chai [Sat, 15 Aug 2020 03:47:46 +0000 (11:47 +0800)]
ceph-*build/setup_rpm: extract setup_rpm_build_deps

less repeatings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1640 from ceph/guits-braggi
Guillaume Abrioux [Thu, 13 Aug 2020 12:17:03 +0000 (14:17 +0200)]
Merge pull request #1640 from ceph/guits-braggi

ceph-ansible: do not play 'all_daemons' scenarios on braggi

3 years agoceph-ansible: do not play 'all_daemons' scenarios on braggi 1640/head
Guillaume Abrioux [Thu, 13 Aug 2020 12:07:11 +0000 (14:07 +0200)]
ceph-ansible: do not play 'all_daemons' scenarios on braggi

braggi nodes don't have enough resources to support these scenarios.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1639 from ceph/guits-add_braggi
Guillaume Abrioux [Wed, 12 Aug 2020 18:53:12 +0000 (20:53 +0200)]
Merge pull request #1639 from ceph/guits-add_braggi

ceph-ansible: add back braggi node

3 years agoceph-ansible: add back braggi node 1639/head
Guillaume Abrioux [Wed, 12 Aug 2020 18:44:09 +0000 (20:44 +0200)]
ceph-ansible: add back braggi node

This commit adds back braggi nodes for all_daemons based scenario.
Also, it adds back ooo_collocation scenario which was removed by
mistake.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1638 from ceph/wip-nodename
David Galloway [Wed, 12 Aug 2020 18:13:26 +0000 (14:13 -0400)]
Merge pull request #1638 from ceph/wip-nodename

Fixes to builder playbook

3 years agoansible: Use JNLP for permanent. SSH for ephemeral. 1638/head
David Galloway [Wed, 12 Aug 2020 18:11:20 +0000 (14:11 -0400)]
ansible: Use JNLP for permanent.  SSH for ephemeral.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoansible: Set nodename=ansible_hostname on static builders
David Galloway [Wed, 12 Aug 2020 18:02:18 +0000 (14:02 -0400)]
ansible: Set nodename=ansible_hostname on static builders

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1637 from ceph/wip-copy-perms
David Galloway [Wed, 12 Aug 2020 17:23:22 +0000 (13:23 -0400)]
Merge pull request #1637 from ceph/wip-copy-perms

ceph*setup: Give ceph*build jobs permission to copy artifacts

3 years agoceph*setup: Give ceph*build jobs permission to copy artifacts 1637/head
David Galloway [Wed, 12 Aug 2020 17:09:15 +0000 (13:09 -0400)]
ceph*setup: Give ceph*build jobs permission to copy artifacts

This is a new setting in the newest CopyArtifact plugin.

https://stackoverflow.com/a/32084538/6225562

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1636 from ceph/guits_refact_ca
Guillaume Abrioux [Wed, 12 Aug 2020 10:32:39 +0000 (12:32 +0200)]
Merge pull request #1636 from ceph/guits_refact_ca

ceph-ansible: refact project definition

3 years agoceph-ansible: refact project definition 1636/head
Guillaume Abrioux [Wed, 12 Aug 2020 09:03:50 +0000 (11:03 +0200)]
ceph-ansible: refact project definition

This commit modifies the current project definitions:

1/ it uses the exclude keyword to avoid duplicating project
2/ it declares a new project to only use smithi nodes for 'large'
scenario testing (basically all scenario based on 'all_daemons'
scenario).
3/ exclude 'non_container-cephadm_adopt' for non_containerized
deployments
4/ reindent jobs section

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1633 from ceph/jan--f-patch-c-v-pr-build
Guillaume Abrioux [Thu, 6 Aug 2020 08:58:41 +0000 (10:58 +0200)]
Merge pull request #1633 from ceph/jan--f-patch-c-v-pr-build

Let tox.ini decide which environments to use

3 years agoMerge pull request #1635 from ceph/ceph_ansible_remove_tox_dashboard
Guillaume Abrioux [Thu, 6 Aug 2020 07:06:08 +0000 (09:06 +0200)]
Merge pull request #1635 from ceph/ceph_ansible_remove_tox_dashboard

ceph-ansible: remove tox dashboard

3 years agoceph-ansible: remove tox dashboard 1635/head
Dimitri Savineau [Wed, 5 Aug 2020 19:25:00 +0000 (15:25 -0400)]
ceph-ansible: remove tox dashboard

This file doesn't exist anymore.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1634 from ceph/ceph_ansible_shrink_osd_nightly
Dimitri Savineau [Wed, 5 Aug 2020 14:35:06 +0000 (10:35 -0400)]
Merge pull request #1634 from ceph/ceph_ansible_shrink_osd_nightly

ceph-ansible-nightly: add new shrink_osd scenarios

3 years agoceph-ansible-nightly: add new shrink_osd scenarios 1634/head
Dimitri Savineau [Wed, 5 Aug 2020 14:29:22 +0000 (10:29 -0400)]
ceph-ansible-nightly: add new shrink_osd scenarios

This replaces the shrink_osd scenario by shrink_osd_multiple and
shrink_osd_single.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoLet tox.ini decide which environments to use 1633/head
Jan Fajerski [Wed, 5 Aug 2020 11:34:25 +0000 (13:34 +0200)]
Let tox.ini decide which environments to use

Otherwise we have two places that define envs.

3 years agoMerge pull request #1632 from ceph/wip-delete_backend_api
Kefu Chai [Tue, 4 Aug 2020 08:54:10 +0000 (16:54 +0800)]
Merge pull request #1632 from ceph/wip-delete_backend_api

ceph-dashboard-pr-backend: delete

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-dashboard-pr-backend: delete 1632/head
Ernesto Puerta [Mon, 3 Aug 2020 18:18:55 +0000 (20:18 +0200)]
ceph-dashboard-pr-backend: delete

As it's been overridden by ceph-api.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #1630 from tchaikov/wip-slimmer-tests
Kefu Chai [Mon, 3 Aug 2020 16:58:51 +0000 (00:58 +0800)]
Merge pull request #1630 from tchaikov/wip-slimmer-tests

ceph-api: do not build/run tests for api tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
3 years agoMerge pull request #1627 from tspmelo/wip-cypress-record
Laura Paduano [Fri, 24 Jul 2020 13:36:45 +0000 (15:36 +0200)]
Merge pull request #1627 from tspmelo/wip-cypress-record

ceph-api-nightly: Enable recording of E2E runs

3 years agoMerge pull request #1608 from tchaikov/wip-crimson-libc-allocator
Kefu Chai [Thu, 23 Jul 2020 16:24:21 +0000 (00:24 +0800)]
Merge pull request #1608 from tchaikov/wip-crimson-libc-allocator

ceph-*-setup: use libc allocator for crimson flavor

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #1631 from tchaikov/wip-slimmer-backend-tests
Kefu Chai [Wed, 22 Jul 2020 15:16:47 +0000 (23:16 +0800)]
Merge pull request #1631 from tchaikov/wip-slimmer-backend-tests

ceph-dashboard-pr-backend: do not build/run tests for api tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoceph-dashboard-pr-backend: do not build/run tests for api tests 1631/head
Kefu Chai [Wed, 22 Jul 2020 12:29:26 +0000 (20:29 +0800)]
ceph-dashboard-pr-backend: do not build/run tests for api tests

as ceph-pull-requests already covers them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-api: do not build/run tests for api tests 1630/head
Kefu Chai [Wed, 22 Jul 2020 12:14:51 +0000 (20:14 +0800)]
ceph-api: do not build/run tests for api tests

as ceph-pull-requests already covers them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1629 from ceph/guits-split_shrink_osds
Guillaume Abrioux [Wed, 22 Jul 2020 09:56:10 +0000 (11:56 +0200)]
Merge pull request #1629 from ceph/guits-split_shrink_osds

ceph-ansible: split shrink_osd scenario

3 years agoceph-ansible: split shrink_osd scenario 1629/head
Guillaume Abrioux [Wed, 22 Jul 2020 08:57:13 +0000 (10:57 +0200)]
ceph-ansible: split shrink_osd scenario

This is for testing in two ways:

1/ shrinking OSDs one by one
2/ shrinking multiple OSDs with a single call of the playbook

Related ceph-ansible PR: ceph/ceph-ansible#5569

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-api-nightly: Enable recording of E2E runs 1627/head
Tiago Melo [Tue, 21 Jul 2020 11:15:45 +0000 (11:15 +0000)]
ceph-api-nightly: Enable recording of E2E runs

Signed-off-by: Tiago Melo <tmelo@suse.com>
3 years agoceph-api: rename dasboard-backed-api to ceph-api 1626/head
Ernesto Puerta [Fri, 17 Jul 2020 16:51:21 +0000 (18:51 +0200)]
ceph-api: rename dasboard-backed-api to ceph-api

For the sake of simplicity (ceph-dashboard-backend-api vs. ceph-api) and
for spreading ownership of the Ceph API across teams, rename (currently
just a clone to minimize CI breakages) dashboard-backend-api to just
ceph-api.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #1625 from ceph/guits_skip_jobs
Dimitri Savineau [Fri, 17 Jul 2020 15:18:59 +0000 (11:18 -0400)]
Merge pull request #1625 from ceph/guits_skip_jobs

ceph-ansible: play shrink_osd_legacy on 3.2 only

3 years agoceph-ansible: play shrink_osd_legacy on 3.2 only 1625/head
Guillaume Abrioux [Fri, 17 Jul 2020 15:12:24 +0000 (17:12 +0200)]
ceph-ansible: play shrink_osd_legacy on 3.2 only

Skip `shrink_osd_legacy` job on all branches but stable-3.2

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1624 from ceph/guits-skip_jobs
Dimitri Savineau [Fri, 17 Jul 2020 15:02:04 +0000 (11:02 -0400)]
Merge pull request #1624 from ceph/guits-skip_jobs

ceph-ansible: skip some scenarios

3 years agoceph-ansible: skip some scenarios 1624/head
Guillaume Abrioux [Fri, 17 Jul 2020 14:48:59 +0000 (16:48 +0200)]
ceph-ansible: skip some scenarios

Let's skip these scenarios, they don't make sense.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1623 from ceph/guits-inject_password
Guillaume Abrioux [Fri, 17 Jul 2020 08:30:51 +0000 (10:30 +0200)]
Merge pull request #1623 from ceph/guits-inject_password

ceph-ansible: inject password in scenario job

3 years agoceph-ansible: inject password in scenario job 1623/head
Guillaume Abrioux [Fri, 17 Jul 2020 08:22:27 +0000 (10:22 +0200)]
ceph-ansible: inject password in scenario job

this commit makes this 'individual job scenario testing' using the
`DOCKER_HUB_USERNAME` and `DOCKER_HUB_PASSWORD` environment variable so
the job can run with docker authentication.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1621 from ceph/wip-whoops-mock
Kefu Chai [Fri, 17 Jul 2020 02:59:09 +0000 (10:59 +0800)]
Merge pull request #1621 from ceph/wip-whoops-mock

ansible: mock is in EPEL only apparently

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1622 from ceph/wip-labextras
Kefu Chai [Fri, 17 Jul 2020 02:47:43 +0000 (10:47 +0800)]
Merge pull request #1622 from ceph/wip-labextras

ceph*build: Enable lab-extras repo on CentOS8 builders

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoceph*build: Enable lab-extras repo on CentOS8 builders 1622/head
David Galloway [Thu, 16 Jul 2020 21:20:58 +0000 (17:20 -0400)]
ceph*build: Enable lab-extras repo on CentOS8 builders

I discovered this was missing by reimaging a CentOS7 builder to CentOS8 and it failed the first build it tried to run.

```
+ sudo yum install -y yum-utils
Last metadata expiration check: 0:00:28 ago on Thu Jul 16 21:05:07 2020.
Package yum-utils-4.0.12-3.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
+ get_rpm_dist
+ LSB_RELEASE=/usr/bin/lsb_release
+ '[' '!' -x /usr/bin/lsb_release ']'
++ /usr/bin/lsb_release --short --id
+ ID=CentOS
+ case $ID in
++ /usr/bin/lsb_release --short --release
++ cut -d. -f1
+ RELEASE=8
+ DIST=el8
+ DISTRO=centos
+ echo el8
el8
+ '[' 8 = 7 ']'
+ '[' 8 = 8 ']'
+ sudo dnf config-manager --set-enabled PowerTools
+ sed -e s/@//g
+ '[' default = crimson ']'
+ sudo yum install -y python3-devel
CentOS-8 - PowerTools                            13 kB/s | 4.3 kB     00:00
Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed.

Dependencies resolved.
Nothing to do.
Complete!
+ sudo yum-builddep -y '--setopt=*.skip_if_unavailable=true' /tmp/install-deps.49348/ceph.spec
Last metadata expiration check: 0:00:01 ago on Thu Jul 16 21:05:36 2020.

Package platform-python-devel-3.6.8-23.el8.x86_64 is already installed.
Package checkpolicy-2.9-1.el8.x86_64 is already installed.
Package cmake-3.11.4-7.el8.x86_64 is already installed.
Package cryptsetup-2.2.0-2.el8.x86_64 is already installed.
Package gcc-c++-8.3.1-5.el8.0.2.x86_64 is already installed.
Package gdbm-1:1.18-1.el8.x86_64 is already installed.
Package keyutils-libs-devel-1.5.10-6.el8.x86_64 is already installed.
No matching package to install: 'libbabeltrace-devel'
```

We're already enabling this repo in `install-deps.sh` but that's obviously not soon enough.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoansible: mock is in EPEL only apparently 1621/head
David Galloway [Thu, 16 Jul 2020 21:02:25 +0000 (17:02 -0400)]
ansible: mock is in EPEL only apparently

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1620 from tchaikov/wip-build_utils
Kefu Chai [Thu, 16 Jul 2020 13:36:06 +0000 (21:36 +0800)]
Merge pull request #1620 from tchaikov/wip-build_utils

ceph-dev-new-build: pass CEPH_EXTRA_RPMBUILD_ARGS with quotes

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-*-build: pass OSD_FLAVOR to build-push-ceph-container-imgs.sh 1620/head
Kefu Chai [Thu, 16 Jul 2020 09:06:27 +0000 (17:06 +0800)]
ceph-*-build: pass OSD_FLAVOR to build-push-ceph-container-imgs.sh

so it is able to get the correct REPO_URL and push the container image
with the correct tag

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-dev-new-build: pass CEPH_EXTRA_RPMBUILD_ARGS with quotes
Kefu Chai [Thu, 16 Jul 2020 07:06:11 +0000 (15:06 +0800)]
ceph-dev-new-build: pass CEPH_EXTRA_RPMBUILD_ARGS with quotes

this change fixes an oversight in 260b24a651

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils: fix "bogus date"
Kefu Chai [Thu, 16 Jul 2020 04:54:47 +0000 (12:54 +0800)]
scripts/build_utils: fix "bogus date"

rpmbuild complains at seeing them:

warning: bogus date in %changelog: Tue Mar 10 2013 Gary Lowell <glowell@inktank.com> - 1-0
warning: bogus date in %changelog: Tue Aug 27 2012 Gary Lowell <glowell@inktank.com> - 1-0

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1619 from tchaikov/wip-build-utils-fixes
David Galloway [Wed, 15 Jul 2020 17:54:06 +0000 (13:54 -0400)]
Merge pull request #1619 from tchaikov/wip-build-utils-fixes

build_utils.sh: fix regressions introduced by bac3e963a56

3 years agobuild_utils.sh: fix regressions introduced by bac3e963a56 1619/head
Kefu Chai [Wed, 15 Jul 2020 16:24:33 +0000 (00:24 +0800)]
build_utils.sh: fix regressions introduced by bac3e963a56

* quote parameter with spaces in it with ""
* fix the variable name
* use `find` for collecting the patches, because if glob fails
  the patten won't be replaced by the matched file names by shell
* add the closing "}"

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1612 from tchaikov/wip-less-errors
David Galloway [Wed, 15 Jul 2020 14:07:44 +0000 (10:07 -0400)]
Merge pull request #1612 from tchaikov/wip-less-errors

ceph-*-build/build/build_rpm: avoid "No such file or directory" errors

3 years agoMerge pull request #1618 from tchaikov/wip-cephacheck
Kefu Chai [Wed, 15 Jul 2020 13:02:37 +0000 (21:02 +0800)]
Merge pull request #1618 from tchaikov/wip-cephacheck

ceph-perf-pull-requests: pass job id and job url to check

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-perf-pull-requests: pass job id and job url to check 1618/head
Kefu Chai [Wed, 15 Jul 2020 12:05:49 +0000 (20:05 +0800)]
ceph-perf-pull-requests: pass job id and job url to check

so we can check the details of check run

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-*-build,ceph-release-rpm: extract build_ceph_release_rpm 1612/head
Kefu Chai [Wed, 15 Jul 2020 02:53:17 +0000 (10:53 +0800)]
ceph-*-build,ceph-release-rpm: extract build_ceph_release_rpm

for less repeating

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils.sh: avoid "No such file or directory" errors
Kefu Chai [Fri, 10 Jul 2020 07:05:52 +0000 (15:05 +0800)]
scripts/build_utils.sh: avoid "No such file or directory" errors

it's highlighted by jenkins, and it's distracting even we "|| true" this
command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-*-build/build/build_rpm: extract helper functions
Kefu Chai [Fri, 10 Jul 2020 07:03:53 +0000 (15:03 +0800)]
ceph-*-build/build/build_rpm: extract helper functions

to avoid repeatings

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1617 from tchaikov/wip-cephacheck
Kefu Chai [Wed, 15 Jul 2020 01:32:14 +0000 (09:32 +0800)]
Merge pull request #1617 from tchaikov/wip-cephacheck

ceph-perf-pull-requests: paste check status with cbt/githubcheck

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-perf-pull-requests: stop updating github with status 1617/head
Kefu Chai [Tue, 14 Jul 2020 14:10:18 +0000 (22:10 +0800)]
ceph-perf-pull-requests: stop updating github with status

as check updates it as well

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-perf-pull-requests: paste check status with cbt/githubcheck
Kefu Chai [Tue, 14 Jul 2020 12:44:59 +0000 (20:44 +0800)]
ceph-perf-pull-requests: paste check status with cbt/githubcheck

add integration with https://github.com/apps/cephacheck

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1616 from ceph/update_tox_for_cephadm
Dimitri Savineau [Mon, 13 Jul 2020 19:01:32 +0000 (15:01 -0400)]
Merge pull request #1616 from ceph/update_tox_for_cephadm

build_utils.sh: add tox-cephadm.ini file

3 years agobuild_utils.sh: add tox-cephadm.ini file 1616/head
Dimitri Savineau [Mon, 13 Jul 2020 18:57:46 +0000 (14:57 -0400)]
build_utils.sh: add tox-cephadm.ini file

As a follow up on c9463f5 we also need to declare the dedicated tox
file for the cephadm container scenario.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1615 from ceph/ceph_ansible_cephadm
Dimitri Savineau [Mon, 13 Jul 2020 18:52:05 +0000 (14:52 -0400)]
Merge pull request #1615 from ceph/ceph_ansible_cephadm

ceph-ansible-prs: add cephadm container scenario

3 years agoceph-ansible-prs: add cephadm container scenario 1615/head
Dimitri Savineau [Mon, 13 Jul 2020 18:44:21 +0000 (14:44 -0400)]
ceph-ansible-prs: add cephadm container scenario

This adds an optional cephadm container scenario.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1614 from ceph/wip-deleteshamanrepo
David Galloway [Mon, 13 Jul 2020 18:12:33 +0000 (14:12 -0400)]
Merge pull request #1614 from ceph/wip-deleteshamanrepo

nfs-ganesha: Clean up shaman repo files

3 years agonfs-ganesha: Clean up shaman repo files 1614/head
David Galloway [Mon, 13 Jul 2020 18:06:13 +0000 (14:06 -0400)]
nfs-ganesha: Clean up shaman repo files

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1611 from ceph/wip-nocentos6
Kefu Chai [Fri, 10 Jul 2020 02:10:19 +0000 (10:10 +0800)]
Merge pull request #1611 from ceph/wip-nocentos6

ceph-release-rpm: Drop centos6

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-release-rpm: Drop centos6 1611/head
David Galloway [Thu, 9 Jul 2020 20:31:08 +0000 (16:31 -0400)]
ceph-release-rpm: Drop centos6

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1609 from ceph/ceph_ansible_cephadm_adopt
Guillaume Abrioux [Thu, 9 Jul 2020 12:05:22 +0000 (14:05 +0200)]
Merge pull request #1609 from ceph/ceph_ansible_cephadm_adopt

ceph-ansible-prs: add cephadm_adopt scenario

3 years agoMerge pull request #1610 from ceph/ceph-ansible-docker-login
Guillaume Abrioux [Tue, 7 Jul 2020 15:14:53 +0000 (17:14 +0200)]
Merge pull request #1610 from ceph/ceph-ansible-docker-login

ceph-ansible: add docker hub credentials

3 years agoceph-ansible: add docker hub credentials 1610/head
Dimitri Savineau [Tue, 7 Jul 2020 15:10:00 +0000 (11:10 -0400)]
ceph-ansible: add docker hub credentials

To avoid to be rated limited by the docker.io registry when pulling the
ceph container image, we need to use an authenticated user.

https://docs.docker.com/docker-hub/download-rate-limit/

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoceph-ansible-prs: add cephadm_adopt scenario 1609/head
Dimitri Savineau [Mon, 6 Jul 2020 18:20:14 +0000 (14:20 -0400)]
ceph-ansible-prs: add cephadm_adopt scenario

This adds an optional cephadm_adopt scenario.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoceph-*-setup: use libc allocator for crimson flavor 1608/head
Kefu Chai [Sat, 4 Jul 2020 15:54:12 +0000 (23:54 +0800)]
ceph-*-setup: use libc allocator for crimson flavor

to avoid the issues caused by allocator. we cannot use seastar allocator
in non-seastar thread or threads not managed by ThreadPool.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1607 from tchaikov/wip-no-nautilus-images
Kefu Chai [Fri, 3 Jul 2020 11:48:31 +0000 (19:48 +0800)]
Merge pull request #1607 from tchaikov/wip-no-nautilus-images

ceph-dev-*-build: reset CI_CONTAINER when building nautilus

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
3 years agoMerge pull request #1605 from tchaikov/wip-build-crimson-on-master
Kefu Chai [Fri, 3 Jul 2020 08:56:22 +0000 (16:56 +0800)]
Merge pull request #1605 from tchaikov/wip-build-crimson-on-master

ceph-dev-*: add crimson flavor for master build

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoceph-dev-*-build: reset CI_CONTAINER when building nautilus 1607/head
Kefu Chai [Thu, 2 Jul 2020 13:29:15 +0000 (21:29 +0800)]
ceph-dev-*-build: reset CI_CONTAINER when building nautilus

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-dev-*: add crimson flavor for master build 1605/head
Kefu Chai [Tue, 30 Jun 2020 09:29:02 +0000 (17:29 +0800)]
ceph-dev-*: add crimson flavor for master build

Signed-off-by: Kefu Chai <kchai@redhat.com>