ceph-build.git
3 years agoceph-dev-trigger: Build current branches twice daily wip-limit-master 1742/head
David Galloway [Mon, 15 Feb 2021 18:51:06 +0000 (13:51 -0500)]
ceph-dev-trigger: Build current branches twice daily

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1741 from ceph/remove_ca_add_osds
Guillaume Abrioux [Sun, 14 Feb 2021 07:26:26 +0000 (08:26 +0100)]
Merge pull request #1741 from ceph/remove_ca_add_osds

ceph-ansible: remove add_osds jobs

3 years agoceph-ansible: remove add_osds jobs 1741/head
Guillaume Abrioux [Sun, 14 Feb 2021 07:21:51 +0000 (08:21 +0100)]
ceph-ansible: remove add_osds jobs

The add-osds.yml playbook was dropped as of 5.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1740 from ceph/quick_patch_cv
Guillaume Abrioux [Thu, 11 Feb 2021 06:59:43 +0000 (07:59 +0100)]
Merge pull request #1740 from ceph/quick_patch_cv

ceph-volume-prs: use ceph-ansible@stable-6.0 for pacific

3 years agoceph-volume-prs: use ceph-ansible@stable-6.0 for pacific 1740/head
Guillaume Abrioux [Thu, 11 Feb 2021 06:53:43 +0000 (07:53 +0100)]
ceph-volume-prs: use ceph-ansible@stable-6.0 for pacific

Since, ceph-ansible stable-6.0 has been branched for deploying pacific,
we should use this branch in ceph-volume testing.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1739 from ceph/ca_6.0
Guillaume Abrioux [Wed, 10 Feb 2021 13:03:11 +0000 (14:03 +0100)]
Merge pull request #1739 from ceph/ca_6.0

ceph-ansible: branch stable-6.0

3 years agoceph-ansible: branch stable-6.0 1739/head
Guillaume Abrioux [Wed, 10 Feb 2021 12:05:22 +0000 (13:05 +0100)]
ceph-ansible: branch stable-6.0

This commit brings the required modification to branch stable-6.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1738 from ceph/wip-reenable-arm
David Galloway [Thu, 4 Feb 2021 18:57:50 +0000 (13:57 -0500)]
Merge pull request #1738 from ceph/wip-reenable-arm

ceph-dev*: Enable dev builds for arm64

3 years agoceph-dev*: Enable dev builds for arm64 1738/head
David Galloway [Wed, 3 Feb 2021 22:13:46 +0000 (17:13 -0500)]
ceph-dev*: Enable dev builds for arm64

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1737 from ceph/wip-docs-easier
David Galloway [Wed, 3 Feb 2021 19:16:03 +0000 (14:16 -0500)]
Merge pull request #1737 from ceph/wip-docs-easier

Stop building binaries for docs-only PRs

3 years agoMerge pull request #1734 from dmick/wip-quay-fix-ref-delete
David Galloway [Wed, 3 Feb 2021 18:23:25 +0000 (13:23 -0500)]
Merge pull request #1734 from dmick/wip-quay-fix-ref-delete

Fix prune-quay.py's deletion of busy (well-known) refs

3 years agoceph-pr-api: Don't run for docs-only PRs 1737/head
David Galloway [Wed, 3 Feb 2021 18:12:26 +0000 (13:12 -0500)]
ceph-pr-api: Don't run for docs-only PRs

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pull-requests: Skip make check on a docs-only PR
David Galloway [Wed, 3 Feb 2021 17:49:51 +0000 (12:49 -0500)]
ceph-pull-requests: Skip make check on a docs-only PR

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pr-commits: Move 'docs only' check to build_utils for reuse
David Galloway [Wed, 3 Feb 2021 15:22:20 +0000 (10:22 -0500)]
ceph-pr-commits: Move 'docs only' check to build_utils for reuse

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1736 from ceph/wip-notcmalloc-boost-valgrind
Kefu Chai [Wed, 3 Feb 2021 14:47:23 +0000 (22:47 +0800)]
Merge pull request #1736 from ceph/wip-notcmalloc-boost-valgrind

build: notcmalloc builds enable WITH_BOOST_VALGRIND

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agobuild: notcmalloc builds enable WITH_BOOST_VALGRIND 1736/head
Casey Bodley [Wed, 3 Feb 2021 14:32:28 +0000 (09:32 -0500)]
build: notcmalloc builds enable WITH_BOOST_VALGRIND

this flag silences a false-positive from valgrind in boost::context:
```
<error>
  <unique>0x0</unique>
  <tid>124</tid>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 8</what>
  <stack>
    <frame>
      <ip>0x52FF7E7</ip>
      <obj>/usr/lib64/libradosgw.so.2.0.0</obj>
      <fn>spawn::detail::continuation_context::resume()</fn>
    </frame>
  </stack>
  <auxwhat>Address 0x57f65728 is in a rw- anonymous segment</auxwhat>
</error>
```

Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoprune-quay.py: fix deletion of busy ref names (master etc.) 1734/head
Dan Mick [Tue, 2 Feb 2021 08:19:44 +0000 (08:19 +0000)]
prune-quay.py: fix deletion of busy ref names (master etc.)

We must only delete the ref name if it refers to the same image
as the ref-shortsha1-el form of the name; if it's been pushed as a
new build of ref from a new sha1, it's no longer the image we
need to delete.  Verify the ref tag points to the same image as the
ref-shortsha1-el tag.

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: improve verbose logging
Dan Mick [Tue, 2 Feb 2021 08:14:12 +0000 (08:14 +0000)]
prune-quay.py: improve verbose logging

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1735 from dmick/wip-tcmu-runner-arm64
Dan Mick [Tue, 2 Feb 2021 18:07:54 +0000 (10:07 -0800)]
Merge pull request #1735 from dmick/wip-tcmu-runner-arm64

tcmu-runner: fix for arm64/aarch64

3 years agotcmu-runner: fix for arm64/aarch64 1735/head
Dan Mick [Tue, 2 Feb 2021 07:15:20 +0000 (07:15 +0000)]
tcmu-runner: fix for arm64/aarch64

Add "available arch" arm64, and fix build_rpm script to use aarch64
Also limit aarch64 build to CentOS 8

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1733 from dmick/master
Kefu Chai [Fri, 29 Jan 2021 03:51:02 +0000 (11:51 +0800)]
Merge pull request #1733 from dmick/master

scripts/build_utils.sh: handle lowercase CentOS dnf repo names

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils.sh: handle lowercase CentOS dnf repo names 1733/head
Dan Mick [Fri, 29 Jan 2021 03:24:53 +0000 (03:24 +0000)]
scripts/build_utils.sh: handle lowercase CentOS dnf repo names

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1732 from ceph/wip-disable-leap15-for-master
Kefu Chai [Wed, 27 Jan 2021 14:46:58 +0000 (22:46 +0800)]
Merge pull request #1732 from ceph/wip-disable-leap15-for-master

disable leap15 for master and pacific

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agodisable leap15 for master and pacific 1732/head
Kyr Shatskyy [Wed, 27 Jan 2021 13:06:54 +0000 (14:06 +0100)]
disable leap15 for master and pacific

SUSE is not going to support ceph except of octopus anymore

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoMerge pull request #1731 from tchaikov/wip-opensuse-q
kyr [Wed, 27 Jan 2021 12:50:35 +0000 (13:50 +0100)]
Merge pull request #1731 from tchaikov/wip-opensuse-q

ceph-dev-build: update {build,setup}_osc for quincy

3 years agoceph-dev-build: update {build,setup}_osc for quincy 1731/head
Kefu Chai [Wed, 27 Jan 2021 11:45:49 +0000 (19:45 +0800)]
ceph-dev-build: update {build,setup}_osc for quincy

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1730 from tchaikov/wip-build_utils-q
Dan Mick [Tue, 26 Jan 2021 23:12:21 +0000 (15:12 -0800)]
Merge pull request #1730 from tchaikov/wip-build_utils-q

scripts/build_utils: map 17.* to quincy

3 years agoMerge pull request #1664 from tchaikov/wip-zbd
Kefu Chai [Tue, 26 Jan 2021 15:34:19 +0000 (23:34 +0800)]
Merge pull request #1664 from tchaikov/wip-zbd

ceph-pull-requests: enable WITH_ZBD

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pull-requests: enable WITH_ZBD on ubuntu 1664/head
Kefu Chai [Mon, 25 Jan 2021 06:00:36 +0000 (14:00 +0800)]
ceph-pull-requests: enable WITH_ZBD on ubuntu

to avoid zbd backend bitrot, and for build test it in our "make check"
builds.

currently, libzbd-devel and libzbd packages were only prebuilt on bionic,
so only enable this on ubuntu distros.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils: map 17.* to quincy 1730/head
Kefu Chai [Sat, 23 Jan 2021 09:46:45 +0000 (17:46 +0800)]
scripts/build_utils: map 17.* to quincy

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils: map 0.80.* to firefly
Kefu Chai [Sat, 23 Jan 2021 09:39:11 +0000 (17:39 +0800)]
scripts/build_utils: map 0.80.* to firefly

it's not giant. since both branches are EOL, but this change helps to
silence a warning from ShellCheck.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1728 from ceph/wip-pacific-cephci
Sage Weil [Thu, 21 Jan 2021 17:40:13 +0000 (11:40 -0600)]
Merge pull request #1728 from ceph/wip-pacific-cephci

ceph*trigger: Add pacific conditional steps

3 years agoceph*trigger: Add pacific conditional steps 1728/head
David Galloway [Thu, 21 Jan 2021 17:08:00 +0000 (12:08 -0500)]
ceph*trigger: Add pacific conditional steps

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1726 from ceph/wip-t-test
David Galloway [Thu, 21 Jan 2021 14:16:10 +0000 (09:16 -0500)]
Merge pull request #1726 from ceph/wip-t-test

teuthology-pull-requests: whitelist red-hat-storage gh group

3 years agoMerge pull request #1727 from ceph/wip-docs-timeout
David Galloway [Wed, 20 Jan 2021 22:47:58 +0000 (17:47 -0500)]
Merge pull request #1727 from ceph/wip-docs-timeout

ceph-pr-docs: Timeout after an hour

3 years agoMerge pull request #1724 from ceph/wip-pacific
Sage Weil [Wed, 20 Jan 2021 19:28:43 +0000 (13:28 -0600)]
Merge pull request #1724 from ceph/wip-pacific

add pacific targets

3 years agoceph-pr-docs: Timeout after an hour 1727/head
David Galloway [Wed, 20 Jan 2021 18:36:42 +0000 (13:36 -0500)]
ceph-pr-docs: Timeout after an hour

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoteuthology-pull-requests: whitelist red-hat-storage gh group 1726/head
David Galloway [Wed, 20 Jan 2021 17:56:59 +0000 (12:56 -0500)]
teuthology-pull-requests: whitelist red-hat-storage gh group

Most of Ceph QE is in this group but may not necessarily be in (or need to be in) the 'ceph' group.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1725 from ceph/wip-a
David Galloway [Wed, 20 Jan 2021 17:39:03 +0000 (12:39 -0500)]
Merge pull request #1725 from ceph/wip-a

teuthology-pull-requests: Do not run on arm64

3 years agoteuthology-pull-requests: Do not run on arm64 1725/head
David Galloway [Wed, 20 Jan 2021 16:48:17 +0000 (11:48 -0500)]
teuthology-pull-requests: Do not run on arm64

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agouse tag for ceph-ansible until we have a stable-6.0 branch 1724/head
Sage Weil [Wed, 20 Jan 2021 14:16:24 +0000 (08:16 -0600)]
use tag for ceph-ansible until we have a stable-6.0 branch

3 years agoadd pacific targets
Sage Weil [Mon, 18 Jan 2021 17:31:33 +0000 (11:31 -0600)]
add pacific targets

3 years agoMerge pull request #1723 from ceph/ca-sleep
Guillaume Abrioux [Tue, 12 Jan 2021 14:54:48 +0000 (15:54 +0100)]
Merge pull request #1723 from ceph/ca-sleep

ceph-ansible: refact write_collect_logs_playbook

3 years agoceph-ansible: refact write_collect_logs_playbook 1723/head
Guillaume Abrioux [Tue, 12 Jan 2021 14:45:27 +0000 (15:45 +0100)]
ceph-ansible: refact write_collect_logs_playbook

This playbook doesn't work in containerized context.
Importing ceph-defaults and ceph-facts fixes this issue.

This also adds some output that might be helpful.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1721 from tchaikov/wip-gcc-toolset-9
Kefu Chai [Fri, 11 Dec 2020 02:42:51 +0000 (10:42 +0800)]
Merge pull request #1721 from tchaikov/wip-gcc-toolset-9

scripts/build_utils: do not add tchaikov/gcc-toolset-9 copr repo anymore

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
3 years agoscripts/build_utils: do not add tchaikov/gcc-toolset-9 copr repo anymore 1721/head
Kefu Chai [Thu, 10 Dec 2020 10:53:42 +0000 (18:53 +0800)]
scripts/build_utils: do not add tchaikov/gcc-toolset-9 copr repo anymore

since both CentOS and RHEL now include the updated
gcc-toolset-9-gcc-9.2.1-2.3.el8.

see also https://bugzilla.redhat.com/show_bug.cgi?id=1853900

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1720 from tchaikov/wip-get_bptag
Kefu Chai [Thu, 10 Dec 2020 01:13:59 +0000 (09:13 +0800)]
Merge pull request #1720 from tchaikov/wip-get_bptag

*/build_deb: extract get_bptag() into build_utils.sh

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoscripts/build_utils: do not handle wheezy anymore 1720/head
Kefu Chai [Wed, 9 Dec 2020 13:36:46 +0000 (21:36 +0800)]
scripts/build_utils: do not handle wheezy anymore

wheezy is the only "baddist" which does not have
"libbabeltrace-ctf-dev". since we don't build wheezy anymore, let's stop
handling wheezy.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-*build: drop wheezy builds
Kefu Chai [Wed, 9 Dec 2020 13:35:50 +0000 (21:35 +0800)]
ceph-*build: drop wheezy builds

per David Galloway

> we don't build for wheezy.

so drop it!

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1719 from dmick/master
David Galloway [Tue, 8 Dec 2020 14:38:45 +0000 (09:38 -0500)]
Merge pull request #1719 from dmick/master

quay-pruner.py: find orphaned SHA1-based tags and delete

3 years agoscripts/build_utils: reuse get_bptag() in gen_debian_version()
Kefu Chai [Tue, 8 Dec 2020 05:45:47 +0000 (13:45 +0800)]
scripts/build_utils: reuse get_bptag() in gen_debian_version()

less repeating this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years ago*/build_deb: extract get_bptag() into build_utils.sh
Kefu Chai [Tue, 8 Dec 2020 05:36:37 +0000 (13:36 +0800)]
*/build_deb: extract get_bptag() into build_utils.sh

all of the related job definitions include build_utils.sh before
including build_deb, so it's safe to extract this function into
scripts/build_utils.sh.

it's safer and simpler to maintain this function in a single place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years ago*/build_deb: extract gen_debian_version() into build_utils.sh
Kefu Chai [Tue, 8 Dec 2020 05:31:21 +0000 (13:31 +0800)]
*/build_deb: extract gen_debian_version() into build_utils.sh

all of the related job definitions include build_utils.sh before
including build_deb, so it's safe to extract this function into
scripts/build_utils.sh.

it's safer and simpler to maintain this function in a single place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils: do not consider squeeze anymore
Kefu Chai [Tue, 8 Dec 2020 05:24:21 +0000 (13:24 +0800)]
scripts/build_utils: do not consider squeeze anymore

we don't build debian squeeze, a.k.a debian 6.0 anymore. squeeze was EOL
in February 2016. see https://www.debian.org/releases/squeeze/

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoquay-pruner: look for orphaned SHA1 tags and delete 1719/head
Dan Mick [Sat, 5 Dec 2020 02:21:12 +0000 (02:21 +0000)]
quay-pruner: look for orphaned SHA1 tags and delete

This required the ability to query shaman for SHA1 alone as
well as the existing ref/sha1/CentOS-minor-version.  Add some
refactoring to pull out the actual shaman request, and some
caching to minimize the actual number of requests.

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoquay-pruner: long lines, sort delete tags when printing
Dan Mick [Sat, 5 Dec 2020 02:17:55 +0000 (02:17 +0000)]
quay-pruner: long lines, sort delete tags when printing

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoquay-pruner: add page limit constants for hacking/debugging
Dan Mick [Sat, 5 Dec 2020 02:16:43 +0000 (02:16 +0000)]
quay-pruner: add page limit constants for hacking/debugging

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1715 from tchaikov/wip-debian-profiles
David Galloway [Mon, 7 Dec 2020 17:26:45 +0000 (12:26 -0500)]
Merge pull request #1715 from tchaikov/wip-debian-profiles

ceph-*build: pass --profiles nocheck to pbuilder

3 years agoMerge pull request #1718 from ceph/fix-brach-api
David Galloway [Mon, 7 Dec 2020 17:26:07 +0000 (12:26 -0500)]
Merge pull request #1718 from ceph/fix-brach-api

ceph-{api,dashboard}-pr: fix source branch ref

3 years agoceph-{api,dashboard}-pr: fix source branch ref 1718/head
Ernesto Puerta [Fri, 4 Dec 2020 17:32:41 +0000 (18:32 +0100)]
ceph-{api,dashboard}-pr: fix source branch ref

Applying same change as already applied by
https://github.com/ceph/ceph-build/pull/1426. A divergence has been
observed between `make check` job (ceph-pull-request) and the `make` in
ceph-pr-api job. For the same PR:

* ceph-pull-request `make check` passes
* ceph-pr-api `make` fails

This fix has been suggested by @sebastian-philipp

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #1717 from ceph/wip-stopit-apt
David Galloway [Thu, 3 Dec 2020 21:24:36 +0000 (16:24 -0500)]
Merge pull request #1717 from ceph/wip-stopit-apt

ansible: Disable daily apt transaction on Ephemeral slaves

3 years agoansible: Disable daily apt transaction on Ephemeral slaves 1717/head
David Galloway [Thu, 3 Dec 2020 19:42:39 +0000 (14:42 -0500)]
ansible: Disable daily apt transaction on Ephemeral slaves

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoscripts/build_utils.sh: pass --profiles nocheck to pbuilder 1715/head
Kefu Chai [Wed, 2 Dec 2020 09:22:49 +0000 (17:22 +0800)]
scripts/build_utils.sh: pass --profiles nocheck to pbuilder

so we can do profile-based build on debian derivative distros.

"nocheck" is one of the registered profile names. be specifying
"nocheck", we can reduce the build depends required by building Ceph
once the related Build-Depends in debian/control are marked with "nocheck".

see https://wiki.debian.org/BuildProfileSpec

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-*build: extract build_deb into scripts/build_utils.sh
Kefu Chai [Wed, 2 Dec 2020 09:18:43 +0000 (17:18 +0800)]
ceph-*build: extract build_deb into scripts/build_utils.sh

so we can modify them in a single place

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-build: define chacra_url in 'setup_deb'
Kefu Chai [Wed, 2 Dec 2020 09:07:41 +0000 (17:07 +0800)]
ceph-build: define chacra_url in 'setup_deb'

and use this variable in build_deb. this change pave the road to a
consolidated build_deb file which can be shared by all ceph*-build jobs

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1714 from ceph/fix_teardown
Dimitri Savineau [Fri, 27 Nov 2020 15:34:30 +0000 (10:34 -0500)]
Merge pull request #1714 from ceph/fix_teardown

ceph-ansible: fix teardown

3 years agoceph-ansible: only exclude non_container-update 1714/head
Guillaume Abrioux [Fri, 27 Nov 2020 15:30:37 +0000 (16:30 +0100)]
ceph-ansible: only exclude non_container-update

c83cd218b3a6fd387b5de2a0e9380c3fb3a26a3c excludes both `container` and
`non_container` jobs.

Only `non_container` should be excluded

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-ansible: fix teardown
Guillaume Abrioux [Fri, 27 Nov 2020 15:24:13 +0000 (16:24 +0100)]
ceph-ansible: fix teardown

If this playbook fails for some reason, it interrupts the teardown so
VMs aren't destroyed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1713 from ceph/ca_disable_update_5.0
Guillaume Abrioux [Fri, 27 Nov 2020 13:55:30 +0000 (14:55 +0100)]
Merge pull request #1713 from ceph/ca_disable_update_5.0

ceph-ansible: disable update scenario on octopus

3 years agoceph-ansible: disable update scenario on octopus 1713/head
Guillaume Abrioux [Fri, 27 Nov 2020 13:49:48 +0000 (14:49 +0100)]
ceph-ansible: disable update scenario on octopus

`ceph-volume simple scan` in octopus is broken and make the upgrade
testing scenario failing.
Until 15.2.8 is out, which will be the next release including the fix
for this. We can't make this scenario passing the CI.
Let's disable it temporarily.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1712 from ceph/wip-insecure
Yuri Weinstein [Wed, 25 Nov 2020 17:22:22 +0000 (09:22 -0800)]
Merge pull request #1712 from ceph/wip-insecure

build_utils: curl docker-mirror insecurely

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agobuild_utils: curl docker-mirror insecurely wip-insecure 1712/head
David Galloway [Wed, 25 Nov 2020 16:13:55 +0000 (11:13 -0500)]
build_utils: curl docker-mirror insecurely

I had initially planned on installing the self-signed cert globally but that was not advised.  See https://github.com/ceph/ceph-build/pull/1698#issuecomment-725840305

So we should curl insecurely.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1711 from ceph/guits-cv_ca
Dimitri Savineau [Mon, 23 Nov 2020 16:48:14 +0000 (11:48 -0500)]
Merge pull request #1711 from ceph/guits-cv_ca

ceph-volume: set CEPH_ANSIBLE_BRANCH properly

3 years agoceph-volume: set CEPH_ANSIBLE_BRANCH properly 1711/head
Guillaume Abrioux [Mon, 23 Nov 2020 16:45:05 +0000 (17:45 +0100)]
ceph-volume: set CEPH_ANSIBLE_BRANCH properly

At the moment it's using ceph-ansible@master to deploy octopus and
nautilus which is wrong.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1710 from ceph/guits-fix_cv_nautilus_pr
Dimitri Savineau [Mon, 23 Nov 2020 16:24:02 +0000 (11:24 -0500)]
Merge pull request #1710 from ceph/guits-fix_cv_nautilus_pr

ceph-volume: fix nautilus PRs job

3 years agoceph-volume: fix nautilus PRs job 1710/head
Guillaume Abrioux [Mon, 23 Nov 2020 16:06:34 +0000 (17:06 +0100)]
ceph-volume: fix nautilus PRs job

ceph-volume PRs against nautilus are failing for a while because it
tries to run against centos8 while the tox environment only defines
centos7 environments.

Let's enforce `DISTRO` environment variable when `ghprbTargetBranch` is
`nautilus` so we override the environment variable injected by Jenkins.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1692 from ceph/jan--f-patch-1
Guillaume Abrioux [Tue, 17 Nov 2020 13:08:21 +0000 (14:08 +0100)]
Merge pull request #1692 from ceph/jan--f-patch-1

ceph-volume-nightly: Drop mimic from nightlies

3 years agoMerge pull request #1708 from tchaikov/wip-revert-skip-when-not-needed
Kefu Chai [Tue, 17 Nov 2020 09:59:14 +0000 (17:59 +0800)]
Merge pull request #1708 from tchaikov/wip-revert-skip-when-not-needed

ceph-pr,api-pr: Revert" skip when not needed"

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoceph-pr,api-pr: Revert" skip when not needed" 1708/head
Kefu Chai [Tue, 17 Nov 2020 03:48:35 +0000 (11:48 +0800)]
ceph-pr,api-pr: Revert" skip when not needed"

This reverts commit ae9a52ba2faa0b7faf0b9e0c6d3fd289cdd576ea.

3 years agoMerge pull request #1593 from tchaikov/wip-enable-javapackages-tools
Kefu Chai [Mon, 16 Nov 2020 08:00:26 +0000 (16:00 +0800)]
Merge pull request #1593 from tchaikov/wip-enable-javapackages-tools

script/build_utils: enable javapackages-tools for building java binding

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoscript/build_utils: enable javapackages-tools for building java binding 1593/head
Kefu Chai [Mon, 16 Nov 2020 07:50:40 +0000 (15:50 +0800)]
script/build_utils: enable javapackages-tools for building java binding

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1706 from ceph/wip-sepia-create
adam kraitman [Sun, 15 Nov 2020 12:35:45 +0000 (14:35 +0200)]
Merge pull request #1706 from ceph/wip-sepia-create

sepia-fog-images: Create FOG image template if missing

3 years agoMerge pull request #1705 from ceph/wip-exclude_region-master
Kefu Chai [Sat, 14 Nov 2020 09:15:57 +0000 (17:15 +0800)]
Merge pull request #1705 from ceph/wip-exclude_region-master

ceph-pr,api-pr: skip when not needed

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agosepia-fog-images: Create FOG image template if missing 1706/head
David Galloway [Fri, 13 Nov 2020 22:14:30 +0000 (17:14 -0500)]
sepia-fog-images: Create FOG image template if missing

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pr,api-pr: skip when not needed 1705/head
Ernesto Puerta [Fri, 13 Nov 2020 19:14:44 +0000 (20:14 +0100)]
ceph-pr,api-pr: skip when not needed

Skip running make-check and ceph-api tests when the PR only contains
changes in certain dirs (doc/, .github/) or certain extensions (.rst,
.md, .txt). In any case, a Jenkins job can still be manually triggered
(`jenkins test...`).

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #1704 from neha-ojha/wip-fix-48162
Neha Ojha [Thu, 12 Nov 2020 21:04:42 +0000 (13:04 -0800)]
Merge pull request #1704 from neha-ojha/wip-fix-48162

scripts/build_utils.sh: use correct DIST value for el7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
3 years agoscripts/build_utils.sh: use correct DIST value for el7 1704/head
Neha Ojha [Thu, 12 Nov 2020 20:46:43 +0000 (20:46 +0000)]
scripts/build_utils.sh: use correct DIST value for el7

Fixes a3f26c8ab781a5ffe54aedf45be9e373bede4d6c, which ended up
comparing [[ el7 == centos7 ]].

Follow-on fix for: https://tracker.ceph.com/issues/48162
Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #1702 from ceph/ceph_container_inject_docker_credentials
Dimitri Savineau [Thu, 12 Nov 2020 17:51:09 +0000 (12:51 -0500)]
Merge pull request #1702 from ceph/ceph_container_inject_docker_credentials

ceph-container: inject registry credentials

3 years agoceph-container: inject registry credentials 1702/head
Dimitri Savineau [Thu, 12 Nov 2020 17:13:00 +0000 (12:13 -0500)]
ceph-container: inject registry credentials

To avoid docker hub rate limit, we should use the authenticate docker
hub user like we're currently using in the build and publish jobs.
This adds the credentials for both ceph-container-prs and
ceph-container-nightly jobs.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1698 from ceph/wip-dockercerts
David Galloway [Thu, 12 Nov 2020 17:15:54 +0000 (12:15 -0500)]
Merge pull request #1698 from ceph/wip-dockercerts

Use internal docker registry mirror

3 years agoMerge pull request #1701 from ceph/wip-disable-leap15-on-nautilus
David Galloway [Thu, 12 Nov 2020 17:02:26 +0000 (12:02 -0500)]
Merge pull request #1701 from ceph/wip-disable-leap15-on-nautilus

ceph-dev-new-trigger: disable leap15 for nautilus

3 years agoansible: Install docker/podman and docker-mirror TLS cert 1698/head
David Galloway [Wed, 11 Nov 2020 23:40:06 +0000 (18:40 -0500)]
ansible: Install docker/podman and docker-mirror TLS cert

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev*build: Pull centos images from our registry mirror
David Galloway [Wed, 11 Nov 2020 19:35:17 +0000 (14:35 -0500)]
ceph-dev*build: Pull centos images from our registry mirror

Since docker started rate limiting on Nov2, we've often seen errors that we hit our `pull` limit.  This should greatly reduce the number of times we're going to docker.io.  Only ephemeral builders would pull from docker.io once this is merged and those builders' IP changes when they're spun up.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1700 from tchaikov/wip-48162
Kefu Chai [Thu, 12 Nov 2020 14:37:17 +0000 (22:37 +0800)]
Merge pull request #1700 from tchaikov/wip-48162

ceph-dev-*-build: reset CI_CONTAINER when building octopus for el7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
3 years agoceph-dev-new-trigger: disable leap15 for nautilus 1701/head
Kyr Shatskyy [Thu, 12 Nov 2020 14:29:23 +0000 (15:29 +0100)]
ceph-dev-new-trigger: disable leap15 for nautilus

We do not need for now opensuse-15.1 builds, since
support of it is limited.

The current version of Leap is 15.2 and the 15.1
is going to be EOL, thus we are not going to spend
resources on it.

We can disable it back if required in future.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoceph-dev-*-build: reset CI_CONTAINER when building octopus for el7 1700/head
Kefu Chai [Thu, 2 Jul 2020 13:29:15 +0000 (21:29 +0800)]
ceph-dev-*-build: reset CI_CONTAINER when building octopus for el7

because the consumers of ceph container images are referencing the
required images using
"${CONTAINER_REPO_HOSTNAME}/${CONTAINER_REPO_ORGANIZATION}/ceph:${SHA1}".
see ceph-container/contrib/build-push-ceph-container-imgs.sh.

but in a recent change, we push both the images built for el7 and for
el8 with the same tag. and the last one wins. this breaks the tests
which expect the cephadm and other tools included in an image built for
el8. but these tools are not included by el7 because of the missing
dependencies.

so we have at least two options

- stop building octopus+el7 container images
- use a different tag for octopus+el7 to avoid the racing and name collision.

before the 2nd change lands on ceph-container, we should have the 1st
one in ceph-build to unblock the builds of octopus.

Fixes: https://tracker.ceph.com/issues/48162
Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1695 from ceph/wip-osc-build-root-typo
David Galloway [Fri, 6 Nov 2020 18:02:43 +0000 (13:02 -0500)]
Merge pull request #1695 from ceph/wip-osc-build-root-typo

ansible: fix osc build-root typo for opensuse worker

3 years agoansible: fix osc build-root typo for opensuse worker 1695/head
Kyr Shatskyy [Fri, 6 Nov 2020 16:46:52 +0000 (17:46 +0100)]
ansible: fix osc build-root typo for opensuse worker

Fixes: https://tracker.ceph.com/issues/48141
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoMerge pull request #1685 from ceph/wip-change-osc-builroot
David Galloway [Thu, 5 Nov 2020 14:42:42 +0000 (09:42 -0500)]
Merge pull request #1685 from ceph/wip-change-osc-builroot

ceph-dev-build: Change build path for Leap builds

3 years agoMerge pull request #1694 from tchaikov/wip-seastar-allocator
Kefu Chai [Wed, 4 Nov 2020 07:24:02 +0000 (15:24 +0800)]
Merge pull request #1694 from tchaikov/wip-seastar-allocator

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

Reviewed-by: Samuel Just <sjust@redhat.com>