ceph-build.git
3 years agonfs-ganesha: remove centos7 and xenial, build arm64 (centos8 only) 1799/head
Dan Mick [Fri, 9 Apr 2021 02:42:34 +0000 (19:42 -0700)]
nfs-ganesha: remove centos7 and xenial, build arm64 (centos8 only)

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agonfs-ganesha: fix patch for debian/rules
Dan Mick [Fri, 9 Apr 2021 02:40:24 +0000 (19:40 -0700)]
nfs-ganesha: fix patch for debian/rules

Some branches of nfs-ganesha-debian don't have the right format for
the patch file to work (Cmake features can be turned on or off
with various words, ON/OFF, YES/NO, etc.).  Use sed instead to be
more resilient to such chicanery.

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1797 from dmick/wip-build-utils
Kefu Chai [Thu, 8 Apr 2021 02:04:42 +0000 (10:04 +0800)]
Merge pull request #1797 from dmick/wip-build-utils

Wrong variable use / shell syntax errors in build_utils.sh

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agobuild_utils.sh: delete unescaped newlines in sources.list addition 1797/head
Dan Mick [Thu, 8 Apr 2021 01:47:51 +0000 (18:47 -0700)]
build_utils.sh: delete unescaped newlines in sources.list addition

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agobuild_utils.sh: check correct version of variable for distro
Dan Mick [Thu, 8 Apr 2021 01:47:16 +0000 (18:47 -0700)]
build_utils.sh: check correct version of variable for distro

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1796 from ceph/wip-unattende
adam kraitman [Wed, 7 Apr 2021 19:28:52 +0000 (22:28 +0300)]
Merge pull request #1796 from ceph/wip-unattende

ansible: Remove unattended-upgrades after package install

3 years agoansible: Remove unattended-upgrades after package install 1796/head
David Galloway [Wed, 7 Apr 2021 15:35:22 +0000 (11:35 -0400)]
ansible: Remove unattended-upgrades after package install

One of the packages we *do* want to install (software-properties-common maybe) pulls in unattended upgrades.  It's not a strict dependency so we can remove it after package install.  It's the only package that gets removed.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1795 from tchaikov/wip-hookdir
Kefu Chai [Wed, 7 Apr 2021 14:44:11 +0000 (22:44 +0800)]
Merge pull request #1795 from tchaikov/wip-hookdir

scripts/build_utils.sh: set hookdir using pbuilderrc

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoscripts/build_utils.sh: set hookdir using pbuilderrc 1795/head
Kefu Chai [Wed, 7 Apr 2021 13:09:57 +0000 (21:09 +0800)]
scripts/build_utils.sh: set hookdir using pbuilderrc

per our testing, --hookdir does not work even the pbuilderrc(5) puts

> HOOKDIR=/usr/lib/pbuilder/hooks
>    Specifies the default location for the user hooks directory.  This is overridden with the option --hookdir.

so let use HOOKDIR as we did before e81fd7baa0e49242cef2db66eeb3fe6dc4269905

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils.sh: no need to update repo if ppa repo is not used
Kefu Chai [Wed, 7 Apr 2021 12:43:56 +0000 (20:43 +0800)]
scripts/build_utils.sh: no need to update repo if ppa repo is not used

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils.sh: make user script executable
Kefu Chai [Wed, 7 Apr 2021 12:41:50 +0000 (20:41 +0800)]
scripts/build_utils.sh: make user script executable

as per pbuilder(8),

> The  scripts  must be executable and may be either binaries or
> interpreted scripts.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1792 from tchaikov/wip-updates
Dan Mick [Fri, 2 Apr 2021 19:07:53 +0000 (12:07 -0700)]
Merge pull request #1792 from tchaikov/wip-updates

scripts/build_utils.sh: install gnupg before ppa packages

3 years agoscripts/build_utils: use -security and -updates repo 1792/head
Kefu Chai [Fri, 2 Apr 2021 05:09:50 +0000 (13:09 +0800)]
scripts/build_utils: use -security and -updates repo

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1790 from tchaikov/wip-no-quotes-thanks
Dan Mick [Fri, 2 Apr 2021 03:20:39 +0000 (20:20 -0700)]
Merge pull request #1790 from tchaikov/wip-no-quotes-thanks

scripts/build_utils.sh: should not quote --mirror option

3 years agoscripts/build_utils.sh: should not quote --mirror option 1790/head
Kefu Chai [Fri, 2 Apr 2021 03:16:59 +0000 (11:16 +0800)]
scripts/build_utils.sh: should not quote --mirror option

otherwise the URL is not reachable with quotes in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1781 from dmick/wip-nfs-ganesha-arm64
Dan Mick [Thu, 1 Apr 2021 21:27:57 +0000 (14:27 -0700)]
Merge pull request #1781 from dmick/wip-nfs-ganesha-arm64

Fix up nfs-ganesha for arm64/centos8 builds

3 years agoMerge pull request #1788 from tchaikov/wip-xunit-thresholds
Kefu Chai [Wed, 31 Mar 2021 15:40:47 +0000 (23:40 +0800)]
Merge pull request #1788 from tchaikov/wip-xunit-thresholds

ceph-pull-requests: specify threshold for a failure

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1789 from ceph/wip-allow-focal
David Galloway [Wed, 31 Mar 2021 14:26:34 +0000 (10:26 -0400)]
Merge pull request #1789 from ceph/wip-allow-focal

multiple PR jobs: Run on any Ubuntu node

3 years agomultiple PR jobs: Run on any Ubuntu node 1789/head
David Galloway [Wed, 31 Mar 2021 14:14:13 +0000 (10:14 -0400)]
multiple PR jobs: Run on any Ubuntu node

All of Jenkins builders are running Ubuntu Focal.  They all have the bionic label.  They also have the xenial label but that's only because we're still building packages *for* Xenial.  But not *on* Xenial.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pull-requests: specify threshold for a failure 1788/head
Kefu Chai [Wed, 31 Mar 2021 09:15:11 +0000 (17:15 +0800)]
ceph-pull-requests: specify threshold for a failure

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #1785 from tchaikov/wip-pbuilder
Kefu Chai [Wed, 31 Mar 2021 00:37:43 +0000 (08:37 +0800)]
Merge pull request #1785 from tchaikov/wip-pbuilder

scripts/build_utils: write settings to /root/.pbuilderrc

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoscripts/build_utils: write settings to /root/.pbuilderrc 1785/head
Kefu Chai [Tue, 30 Mar 2021 15:06:43 +0000 (23:06 +0800)]
scripts/build_utils: write settings to /root/.pbuilderrc

according to pbuilder(8)

> ${HOME}/.pbuilderrc
>       The personal configuration file for pbuilder, which overrides settings set in other configuration files.
>
>       Note that ${HOME} is usually /root (if you are running pbuilder through sudo).

since we always call `pbuilder` via `sudo`, we should overwrite
/root/.pbuilderrc with $HOME/.pbuilderrc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils: use "pbuilder clean"
Kefu Chai [Tue, 30 Mar 2021 15:04:18 +0000 (23:04 +0800)]
scripts/build_utils: use "pbuilder clean"

"clean" is now a command instead of an option.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoscript/build_utils.sh: use a single variable for pbuilder options
Kefu Chai [Tue, 30 Mar 2021 14:43:38 +0000 (22:43 +0800)]
script/build_utils.sh: use a single variable for pbuilder options

for better maintainability

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1780 from dmick/wip-xunit-skip
Kefu Chai [Tue, 30 Mar 2021 17:03:20 +0000 (01:03 +0800)]
Merge pull request #1780 from dmick/wip-xunit-skip

ceph-pull-requests: skip xunit publisher if no test files present

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1782 from tchaikov/wip-gcc-9-bionic
David Galloway [Tue, 30 Mar 2021 15:07:30 +0000 (11:07 -0400)]
Merge pull request #1782 from tchaikov/wip-gcc-9-bionic

scripts/build_utils.sh: use gcc-9 from ppa on bionic

3 years agoMerge pull request #1784 from tchaikov/wip-dashboard-py3
Kefu Chai [Tue, 30 Mar 2021 13:04:11 +0000 (21:04 +0800)]
Merge pull request #1784 from tchaikov/wip-dashboard-py3

ceph-dashboard-pull-requests: install python3 packages only

Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoceph-dashboard-pull-requests: install python3 packages only 1784/head
Kefu Chai [Tue, 30 Mar 2021 11:59:00 +0000 (19:59 +0800)]
ceph-dashboard-pull-requests: install python3 packages only

since we've moved to ubuntu focal for running "make check", "ceph-dashboard-pull-requests"
and "ceph-pr-api" tests. and ubuntu focal does not package python2 packages
for python-scipy or python-routes. let's just install the python3
packages.

this change is related to nautilus builds. because nautilus is the last
release which supports python2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1783 from tchaikov/wip-api-test-python2
Kefu Chai [Tue, 30 Mar 2021 08:51:44 +0000 (16:51 +0800)]
Merge pull request #1783 from tchaikov/wip-api-test-python2

ceph-{api-nightly,pr-api}: install python3 packages on debian derivat…

Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoceph-{api-nightly,pr-api}: install python3 packages on debian derivatives 1783/head
Kefu Chai [Tue, 30 Mar 2021 02:57:43 +0000 (10:57 +0800)]
ceph-{api-nightly,pr-api}: install python3 packages on debian derivatives

since we've moved to ubuntu focal for running "make check" and
"ceph-pr-api" tests. and ubuntu focal does not package python2 packages
for python-scipy or python-routes. let's just install the python3
packages.

this change is related to nautilus builds. because nautilus is the last
release which supports python2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1778 from dmick/wip-tcmu-runner-arm64
Dan Mick [Tue, 30 Mar 2021 01:10:41 +0000 (18:10 -0700)]
Merge pull request #1778 from dmick/wip-tcmu-runner-arm64

tcmu-runner: add arm64

3 years agoscripts/build_utils.sh: use gcc-9 from ppa on bionic 1782/head
Kefu Chai [Mon, 29 Mar 2021 15:48:34 +0000 (23:48 +0800)]
scripts/build_utils.sh: use gcc-9 from ppa on bionic

for using more C++17 compliant compiler

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agonfs-ganesha: remove unused variable 1781/head
Dan Mick [Sat, 27 Mar 2021 01:56:40 +0000 (18:56 -0700)]
nfs-ganesha: remove unused variable

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agonfs-ganesha: mock arch is aarch64, not arm64
Dan Mick [Sat, 27 Mar 2021 01:55:44 +0000 (18:55 -0700)]
nfs-ganesha: mock arch is aarch64, not arm64

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agonfs-ganesha: enable centos8 for arm64, handle lowercase repo names
Dan Mick [Sat, 27 Mar 2021 01:55:12 +0000 (18:55 -0700)]
nfs-ganesha: enable centos8 for arm64, handle lowercase repo names

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoceph-pull-requests: skip xunit publisher if no test files present 1780/head
Dan Mick [Thu, 25 Mar 2021 23:02:48 +0000 (16:02 -0700)]
ceph-pull-requests: skip xunit publisher if no test files present

otherwise make check, at least, fails

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1779 from tchaikov/wip-pr-ctest
Kefu Chai [Thu, 25 Mar 2021 12:22:06 +0000 (20:22 +0800)]
Merge pull request #1779 from tchaikov/wip-pr-ctest

ceph-pull-requests: use XUnit for publishing the test result of ctest

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoceph-pr-commits: remove non-ascii char 1779/head
Kefu Chai [Thu, 25 Mar 2021 10:55:45 +0000 (18:55 +0800)]
ceph-pr-commits: remove non-ascii char

otherwise `jenkins-jobs test` fails when reading it in non-utf-8 locale,

Traceback (most recent call last):
  File "/tmp/venv.KVnqGXyZ3a/bin/jenkins-jobs", line 8, in <module>
    sys.exit(main())
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/entry.py", line 165, in main
    jjb.execute()
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/entry.py", line 146, in execute
    ext.obj.execute(self.options, self.jjb_config)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/subcommand/test.py", line 66, in execute
    config_xml=options.config_xml)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/builder.py", line 279, in update_jobs
    output.write(job.output())
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/codecs.py", line 836, in write
    return self.writer.write(data)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/codecs.py", line 376, in write
    data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 57823: ordinal not in range(256)

before this change:

$ iconv -f ascii -t ascii < ./ceph-pr-commits/build/build
...
input sequence at position 197

after this change,

$ iconv -f ascii -t ascii < ./ceph-pr-commits/build/build

finishes without issues.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-pull-requests: use XUnit for publishing the test result of ctest
Kefu Chai [Thu, 25 Mar 2021 09:15:44 +0000 (17:15 +0800)]
ceph-pull-requests: use XUnit for publishing the test result of ctest

for better developer experience

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agotcmu-runner: add arm64 1778/head
Dan Mick [Tue, 23 Mar 2021 02:23:17 +0000 (19:23 -0700)]
tcmu-runner: add arm64

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1775 from ceph/wip-nomore10
David Galloway [Thu, 18 Mar 2021 20:34:43 +0000 (16:34 -0400)]
Merge pull request #1775 from ceph/wip-nomore10

build_utils: Start using pip 21.0.1 instead of 10.0.0

3 years agobuild_utils: Start using pip 20.3.4 instead of 10.0.0 1775/head
David Galloway [Thu, 18 Mar 2021 19:09:20 +0000 (15:09 -0400)]
build_utils: Start using pip 20.3.4 instead of 10.0.0

Started seeing
```
+ /tmp/venv.ivc8u2qcCO/bin/pip install --no-binary=:all: --upgrade --exists-action=i --find-links=file:///home/jenkins-build/.cache/pip --no-index 'jenkins-job-builder>=3.5.0'
Looking in links: file:///home/jenkins-build/.cache/pip
Collecting jenkins-job-builder>=3.5.0
Collecting six>=1.9.0 (from jenkins-job-builder>=3.5.0)
Collecting PyYAML<6,>=3.10.0 (from jenkins-job-builder>=3.5.0)
  Could not find a version that satisfies the requirement wheel (from versions: )
No matching distribution found for wheel
```

Even 21.0.1 on Ubuntu 16.04 was failing.  It's just time to pin a newer version.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1774 from ceph/wip-preferpy3
Dan Mick [Thu, 18 Mar 2021 20:10:37 +0000 (13:10 -0700)]
Merge pull request #1774 from ceph/wip-preferpy3

build_utils.sh: Prefer python3 instead of python2 for virtualenvs

3 years agoMerge pull request #1709 from ceph/wip-login-dockerhub
David Galloway [Thu, 18 Mar 2021 19:59:54 +0000 (15:59 -0400)]
Merge pull request #1709 from ceph/wip-login-dockerhub

ceph*build: Login to docker.io if needed

3 years agoMerge pull request #1761 from ceph/wip-spc
David Galloway [Thu, 18 Mar 2021 19:53:44 +0000 (15:53 -0400)]
Merge pull request #1761 from ceph/wip-spc

ansible: Install software-properties-common on deb builders

3 years agoMerge pull request #1769 from ceph/wip-use-network
David Galloway [Thu, 18 Mar 2021 19:45:21 +0000 (15:45 -0400)]
Merge pull request #1769 from ceph/wip-use-network

build_utils: Use network in pbuilder env

3 years agoMerge pull request #1773 from ceph/wip-or-pacific
David Galloway [Thu, 18 Mar 2021 19:37:37 +0000 (15:37 -0400)]
Merge pull request #1773 from ceph/wip-or-pacific

build_utils: Don't build pacific containers for el7

3 years agoMerge pull request #1772 from ceph/wip-oh-noes
David Galloway [Thu, 18 Mar 2021 19:26:11 +0000 (15:26 -0400)]
Merge pull request #1772 from ceph/wip-oh-noes

sync-push: Print releases in order

3 years agoMerge pull request #1776 from ceph/wip-laterjjb
David Galloway [Thu, 18 Mar 2021 19:23:54 +0000 (15:23 -0400)]
Merge pull request #1776 from ceph/wip-laterjjb

ceph-build-pull-requests: Use newer jjb

3 years agoceph-build-pull-requests: Use newer jjb 1776/head
David Galloway [Thu, 18 Mar 2021 19:12:29 +0000 (15:12 -0400)]
ceph-build-pull-requests: Use newer jjb

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agobuild_utils.sh: Prefer python3 instead of python2 for virtualenvs 1774/head
David Galloway [Thu, 4 Mar 2021 14:51:56 +0000 (09:51 -0500)]
build_utils.sh: Prefer python3 instead of python2 for virtualenvs

https://github.com/ceph/ceph-build/blob/master/scripts/build_utils.sh#L94-L105

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agobuild_utils: Don't build pacific containers for el7 1773/head
David Galloway [Thu, 18 Mar 2021 17:46:48 +0000 (13:46 -0400)]
build_utils: Don't build pacific containers for el7

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-push: Print releases in order 1772/head
David Galloway [Thu, 18 Mar 2021 16:06:23 +0000 (12:06 -0400)]
sync-push: Print releases in order

Previous directory listing behavior:

```
octopus-15.2.10
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
```

Desired (and current with this PR) listing behavior:

```
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
octopus-15.2.10
```

This wasn't discovered until now because the `$newgen` stuff I do in this script only applies to Octopus for now.  Octopus only had single digit minor release versions (15.x.{1..9}) until 15.2.10.  The symlink didn't get updated to download.ceph.com/rpm-octopus still pointed to download.ceph.com/rpm-15.2.9 since it was last in the directory listing.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1767 from ceph/drop-3.2-5.0
Guillaume Abrioux [Thu, 18 Mar 2021 05:41:32 +0000 (06:41 +0100)]
Merge pull request #1767 from ceph/drop-3.2-5.0

ceph-ansible: drop stable-3.2 and stable-5.0 nightlies

3 years agoMerge pull request #1771 from ceph/wip-pip3
Dan Mick [Thu, 18 Mar 2021 02:06:04 +0000 (19:06 -0700)]
Merge pull request #1771 from ceph/wip-pip3

Revert "build_utils.sh: Prefer python3 instead of python2 for virtual envs

3 years agoRevert "build_utils.sh: Prefer python3 instead of python2 for virtualenvs" 1771/head
David Galloway [Wed, 17 Mar 2021 23:57:41 +0000 (19:57 -0400)]
Revert "build_utils.sh: Prefer python3 instead of python2 for virtualenvs"

This reverts commit 58afbde0aead09adc1f7af06e8491670e1acd614.

3 years agobuild_utils: Use network in pbuilder env 1769/head
David Galloway [Wed, 17 Mar 2021 20:42:23 +0000 (16:42 -0400)]
build_utils: Use network in pbuilder env

Not sure what happened between 0.229.1 vs 0.230.4 but seems `--use-network no` is now the default.  Discovered on a Focal builder.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1766 from ceph/wip-prefer-py3
David Galloway [Wed, 17 Mar 2021 18:31:31 +0000 (14:31 -0400)]
Merge pull request #1766 from ceph/wip-prefer-py3

build_utils.sh: Prefer python3 instead of python2 for virtualenvs

3 years agoceph-ansible: drop stable-3.2 and stable-5.0 nightlies 1767/head
Guillaume Abrioux [Wed, 17 Mar 2021 15:25:20 +0000 (16:25 +0100)]
ceph-ansible: drop stable-3.2 and stable-5.0 nightlies

stable-3.2 no longer receives patches
stable-5.0 won't be productized

there so few CI resources allocated to ceph-ansible that we can't
affoard testing all of this.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1764 from tchaikov/wip-ceph-pull-request-kill-tests
Kefu Chai [Wed, 17 Mar 2021 14:13:39 +0000 (22:13 +0800)]
Merge pull request #1764 from tchaikov/wip-ceph-pull-request-kill-tests

ceph-pull-requests: kill orphan processes after job is aborted

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-pull-requests: kill orphan processes after job is aborted 1764/head
Kefu Chai [Wed, 17 Mar 2021 11:22:36 +0000 (19:22 +0800)]
ceph-pull-requests: kill orphan processes after job is aborted

Fixes: https://tracker.ceph.com/issues/47830
Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1763 from ceph/fix_ganesha_builds
Guillaume Abrioux [Wed, 17 Mar 2021 10:36:03 +0000 (11:36 +0100)]
Merge pull request #1763 from ceph/fix_ganesha_builds

nfs-ganesha: fix wrong url for setting REPO_URL

3 years agonfs-ganesha: fix wrong url for setting REPO_URL 1763/head
Guillaume Abrioux [Wed, 17 Mar 2021 10:29:50 +0000 (11:29 +0100)]
nfs-ganesha: fix wrong url for setting REPO_URL

7173ede7ec472b555c137093cb30e272ce1868cd was an attempt to fix the
nfs-ganesha job but it's using the wrong url. This commit fixes it.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1762 from ceph/fix_ganesha_builds
Guillaume Abrioux [Wed, 17 Mar 2021 10:13:06 +0000 (11:13 +0100)]
Merge pull request #1762 from ceph/fix_ganesha_builds

nfs-ganesha: fix devel builds

3 years agonfs-ganesha: fix devel builds 1762/head
Guillaume Abrioux [Wed, 17 Mar 2021 10:06:16 +0000 (11:06 +0100)]
nfs-ganesha: fix devel builds

since recent changes in shaman, the query for setting `REPO_URL` must be
updated.
This should fix the builds that are currently broken.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1688 from ceph/wip-force-vagrant
Guillaume Abrioux [Wed, 17 Mar 2021 06:24:37 +0000 (07:24 +0100)]
Merge pull request #1688 from ceph/wip-force-vagrant

ansible: New playbook to force reinstall vagrant on CentOS8

3 years agoMerge pull request #1760 from ceph/new-c-v-maintainer
Guillaume Abrioux [Mon, 15 Mar 2021 12:58:02 +0000 (13:58 +0100)]
Merge pull request #1760 from ceph/new-c-v-maintainer

swap ceph-volume maintainers

3 years agoansible: Install software-properties-common on deb builders 1761/head
David Galloway [Thu, 11 Mar 2021 19:17:03 +0000 (14:17 -0500)]
ansible: Install software-properties-common on deb builders

Provides `add-apt-repository`

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1759 from dmick/wip-arm
David Galloway [Thu, 11 Mar 2021 18:48:58 +0000 (13:48 -0500)]
Merge pull request #1759 from dmick/wip-arm

prune-quay.py: Provision for aarch64 containers, manifest lists, minor improvements

3 years agoswap ceph-volume maintainers 1760/head
Jan Fajerski [Tue, 9 Mar 2021 12:29:27 +0000 (13:29 +0100)]
swap ceph-volume maintainers

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
3 years agoprune-quay.py: don't try to examine manifest-list tags 1759/head
Dan Mick [Mon, 8 Mar 2021 20:33:04 +0000 (12:33 -0800)]
prune-quay.py: don't try to examine manifest-list tags

They don't have image_ids, so don't consider them for "same as"
comparisons

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: reinstate verbose log about form of tag
Dan Mick [Mon, 8 Mar 2021 20:31:48 +0000 (12:31 -0800)]
prune-quay.py: reinstate verbose log about form of tag

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: parse and hold possible arch value
Dan Mick [Mon, 8 Mar 2021 19:53:25 +0000 (11:53 -0800)]
prune-quay.py: parse and hold possible arch value

currently only for debugging ease; may be useful in future

Signed-off-by: Dan Mick <dmick@redhat.com>
3 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

3 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>
3 years agobuild_utils.sh: Prefer python3 instead of python2 for virtualenvs wip-prefer-py3 1766/head
David Galloway [Thu, 4 Mar 2021 14:51:56 +0000 (09:51 -0500)]
build_utils.sh: Prefer python3 instead of python2 for virtualenvs

https://github.com/ceph/ceph-build/blob/master/scripts/build_utils.sh#L94-L105

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

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

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

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

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

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

3 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>
3 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>
3 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!

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

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