]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
4 years agoprune-quay.py: handle aarch64 images
Dan Mick [Thu, 4 Mar 2021 19:52:10 +0000 (11:52 -0800)]
prune-quay.py: handle aarch64 images

4 years agoprune-quay.py: limit shaman search to ceph project
Dan Mick [Thu, 4 Mar 2021 19:51:04 +0000 (11:51 -0800)]
prune-quay.py: limit shaman search to ceph project

Some of the searches were broad enough to find hits in other projects

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoMerge pull request #1758 from ceph/wip-tmpreaper-notimeout
adam kraitman [Thu, 4 Mar 2021 14:14:58 +0000 (16:14 +0200)]
Merge pull request #1758 from ceph/wip-tmpreaper-notimeout

ansible: Disable timeout on tmp{watch,reaper}

4 years agoansible: Disable timeout on tmp{watch,reaper} 1758/head
David Galloway [Thu, 4 Mar 2021 13:45:14 +0000 (08:45 -0500)]
ansible: Disable timeout on tmp{watch,reaper}

From the man page:

```
       -T x, --runtime=x
              Execution of tmpreaper will aborted after x seconds; this is to prevent attacks that create many, many files.  By default the timeout is set to 55 seconds.  A value of 0 will disable this feature, which is not advised as this feature prevents possible
              race-conditions between different instances of tmpreaper.
```

So tmpreaper wasn't running for the past week since I set this up because there was so much to clean up that it'd time out.  These are Jenkins builders where the primary user already has sudo access so there's no real use to locking down tmpreaper.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1757 from ceph/ceph_ansible_nightly_pacific_centos_release
Dimitri Savineau [Thu, 4 Mar 2021 02:41:55 +0000 (21:41 -0500)]
Merge pull request #1757 from ceph/ceph_ansible_nightly_pacific_centos_release

ceph_ansible_nightly: add pacific centos release

4 years agoceph_ansible_nightly: add pacific centos release 1757/head
Dimitri Savineau [Thu, 4 Mar 2021 02:36:43 +0000 (21:36 -0500)]
ceph_ansible_nightly: add pacific centos release

This adds Pacific release based on CentOS 8 like Octopus.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoMerge pull request #1756 from ceph/wip-win32-build
Jason Dillaman [Tue, 2 Mar 2021 22:23:16 +0000 (17:23 -0500)]
Merge pull request #1756 from ceph/wip-win32-build

ceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment 1756/head
Jason Dillaman [Tue, 2 Mar 2021 18:08:49 +0000 (13:08 -0500)]
ceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #1754 from ceph/wip-win32-build-trigger
Jason Dillaman [Tue, 2 Mar 2021 14:39:21 +0000 (09:39 -0500)]
Merge pull request #1754 from ceph/wip-win32-build-trigger

ceph-dev-new-trigger: build windows for pacific and master

4 years agoMerge pull request #1755 from petrutlucian94/win_pbuilder
Jason Dillaman [Tue, 2 Mar 2021 14:15:05 +0000 (09:15 -0500)]
Merge pull request #1755 from petrutlucian94/win_pbuilder

ceph-dev-new-build: cross-compile Windows targets using pbuilder

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoceph-dev-new-build: cross-compile Windows targets using pbuilder 1755/head
Lucian Petrut [Tue, 2 Mar 2021 08:44:19 +0000 (10:44 +0200)]
ceph-dev-new-build: cross-compile Windows targets using pbuilder

The Windows builds that are generated right now are unusable due to
known Mingw runtime bugs.

We need Ubuntu Focal or later, for which reason we're going to use
pbuilder.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
4 years agoMerge pull request #1753 from ceph/wip-win32-build
Jason Dillaman [Fri, 26 Feb 2021 00:57:58 +0000 (19:57 -0500)]
Merge pull request #1753 from ceph/wip-win32-build

ceph-dev-new-build: tweak chacra binary and repo endpoints for windows

4 years agoceph-dev-new-build: use dynamic chacra url for windows build 1753/head
Jason Dillaman [Fri, 26 Feb 2021 00:54:47 +0000 (19:54 -0500)]
ceph-dev-new-build: use dynamic chacra url for windows build

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoceph-dev-new-trigger: build windows for pacific and master 1754/head
Jason Dillaman [Thu, 25 Feb 2021 19:14:40 +0000 (14:14 -0500)]
ceph-dev-new-trigger: build windows for pacific and master

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoceph-dev-new-build: tweak chacra binary and repo endpoints for windows
Jason Dillaman [Thu, 25 Feb 2021 19:11:24 +0000 (14:11 -0500)]
ceph-dev-new-build: tweak chacra binary and repo endpoints for windows

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #1752 from ceph/wip-win32-build
Jason Dillaman [Thu, 25 Feb 2021 18:26:02 +0000 (13:26 -0500)]
Merge pull request #1752 from ceph/wip-win32-build

ceph-dev-new-build: extract artifacts prior to attempting windows build

4 years agoceph-dev-new-build: extract artifacts prior to attempting windows build 1752/head
Jason Dillaman [Thu, 25 Feb 2021 18:19:57 +0000 (13:19 -0500)]
ceph-dev-new-build: extract artifacts prior to attempting windows build

Also fixed the chacra endpoints to be consistent between the setup and
build steps.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #1751 from ceph/wip-win32-build
Jason Dillaman [Thu, 25 Feb 2021 17:57:07 +0000 (12:57 -0500)]
Merge pull request #1751 from ceph/wip-win32-build

ceph-dev-new-build: fixed windows build environment variables

4 years agoceph-dev-new-build: fixed windows build environment variables 1751/head
Jason Dillaman [Thu, 25 Feb 2021 17:51:07 +0000 (12:51 -0500)]
ceph-dev-new-build: fixed windows build environment variables

The environment variables should be placed before the command.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #1722 from petrutlucian94/win32
Jason Dillaman [Thu, 25 Feb 2021 15:19:33 +0000 (10:19 -0500)]
Merge pull request #1722 from petrutlucian94/win32

ceph-dev-new: add Windows build

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1750 from ceph/wip-notcmalloc
Sage Weil [Wed, 24 Feb 2021 21:06:04 +0000 (15:06 -0600)]
Merge pull request #1750 from ceph/wip-notcmalloc

Disable notcmalloc builds!

4 years agoceph-dev-new: add Windows build 1722/head
Lucian Petrut [Wed, 6 Jan 2021 13:09:08 +0000 (15:09 +0200)]
ceph-dev-new: add Windows build

We're going to do a Windows build using Mingw as part of the
ceph-dev-new job.

"windows" is added as a valid distro. The "validate_mingw" script
will ensure that we're running on top of a Linux distro that the
Windows build script supports (currently just Ubuntu and Suse
distros).

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
4 years agoDisable notcmalloc builds! 1750/head
David Galloway [Wed, 24 Feb 2021 20:13:40 +0000 (15:13 -0500)]
Disable notcmalloc builds!

We no longer need notmcalloc packages.  Valgrind works now.

See https://github.com/ceph/ceph/pull/39561

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1749 from ceph/wip-defaults
adam kraitman [Tue, 23 Feb 2021 16:54:51 +0000 (18:54 +0200)]
Merge pull request #1749 from ceph/wip-defaults

Update ceph ARCH defaults

4 years agoUpdate ceph ARCH defaults 1749/head
David Galloway [Tue, 23 Feb 2021 14:09:02 +0000 (09:09 -0500)]
Update ceph ARCH defaults

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1747 from ceph/wip-noarmcrimson
Sage Weil [Fri, 19 Feb 2021 16:01:17 +0000 (10:01 -0600)]
Merge pull request #1747 from ceph/wip-noarmcrimson

ceph-dev: Disable arm64 notcmalloc and crimson builds

4 years agoceph-dev: Disable arm64 notcmalloc and crimson builds 1747/head
David Galloway [Fri, 19 Feb 2021 15:29:21 +0000 (10:29 -0500)]
ceph-dev: Disable arm64 notcmalloc and crimson builds

Nobody will use them and crimson is failing anyway

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1746 from ceph/wip-always
David Galloway [Fri, 19 Feb 2021 14:24:37 +0000 (09:24 -0500)]
Merge pull request #1746 from ceph/wip-always

always set facts

4 years agoansible: Always set_facts 1746/head
David Galloway [Thu, 18 Feb 2021 22:49:55 +0000 (17:49 -0500)]
ansible: Always set_facts

Without these set_fact tasks having the always tag, a few conditionals (e.g., permanent|bool) and vars don't get set.  So if we're running `ansible-playbook --tags tmp`, for example, all the tasks get skipped because `permanent|bool` didn't get set automatically.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1745 from ceph/wip-tmpcleaner
David Galloway [Thu, 18 Feb 2021 22:46:48 +0000 (17:46 -0500)]
Merge pull request #1745 from ceph/wip-tmpcleaner

ansible: Install tmpreaper/tmpwatch and clean /tmp daily

4 years agoansible: Install tmpreaper/tmpwatch and clean /tmp daily 1745/head
David Galloway [Thu, 18 Feb 2021 18:22:53 +0000 (13:22 -0500)]
ansible: Install tmpreaper/tmpwatch and clean /tmp daily

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1744 from ceph/wip-make-ken-happy-again
David Galloway [Thu, 18 Feb 2021 17:03:21 +0000 (12:03 -0500)]
Merge pull request #1744 from ceph/wip-make-ken-happy-again

s/ceph-dev-nightly/ceph-dev-cron

4 years agos/ceph-dev-nightly/ceph-dev-cron 1744/head
David Galloway [Wed, 17 Feb 2021 21:06:03 +0000 (16:06 -0500)]
s/ceph-dev-nightly/ceph-dev-cron

Fixes: https://github.com/ceph/ceph-build/pull/1743#issuecomment-780840190
Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1743 from ceph/wip-cephnightly
David Galloway [Wed, 17 Feb 2021 16:08:20 +0000 (11:08 -0500)]
Merge pull request #1743 from ceph/wip-cephnightly

Switch to building ceph.git branches twice daily

4 years agoceph-dev-trigger: Disable job for now 1743/head
David Galloway [Tue, 16 Feb 2021 16:11:46 +0000 (11:11 -0500)]
ceph-dev-trigger: Disable job for now

We no longer want to build packages for every merge in active branches.  ceph-dev-nightly will build each active branch twice daily instead.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-dev-nightly: Create job
David Galloway [Mon, 15 Feb 2021 22:20:51 +0000 (17:20 -0500)]
ceph-dev-nightly: Create job

Build active branches twice daily if changes are found

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 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

4 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>
4 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

4 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>
4 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

4 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>
4 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

4 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>
4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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>
4 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>
4 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

4 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>
4 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

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

4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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

4 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>
4 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

4 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>
4 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>
4 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>
4 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>