]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
Dimitri Savineau [Fri, 2 Jul 2021 17:23:57 +0000 (13:23 -0400)]
ceph-ansible-prs: don't run cephadm jobs on smithi
smithi nodes aren't enough powerful for that job, let's run it on either
braggi or amadi.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
David Galloway [Wed, 30 Jun 2021 21:29:06 +0000 (17:29 -0400)]
Merge pull request #1861 from ceph/wip-normaldistro
build_utils.sh: Fix variable
David Galloway [Wed, 30 Jun 2021 21:14:24 +0000 (17:14 -0400)]
build_utils.sh: Fix variable
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Wed, 30 Jun 2021 16:42:20 +0000 (18:42 +0200)]
Merge pull request #1860 from ceph/auth_cephadm_ansible
cephadm-ansible: use dedicated credential-id
Guillaume Abrioux [Wed, 30 Jun 2021 16:39:11 +0000 (18:39 +0200)]
cephadm-ansible: use dedicated credential-id
This makes the cephadm-ansible job use the right credential id
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Kefu Chai [Wed, 30 Jun 2021 16:27:45 +0000 (00:27 +0800)]
Merge pull request #1850 from galsalomon66/update-repo-for-arrow-parquet-installation
scripts/build_utils.sh: add package repo for apache arrow
Reviewed-by: Kefu Chai <kchai@redhat.com>
Guillaume Abrioux [Tue, 29 Jun 2021 23:49:11 +0000 (01:49 +0200)]
Merge pull request #1859 from ceph/drop_syntax_check
ceph-ansible: drop pr-syntax-check
Guillaume Abrioux [Tue, 29 Jun 2021 23:42:36 +0000 (01:42 +0200)]
ceph-ansible: drop pr-syntax-check
This is now done using GitHub workflows.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
gal salomon [Sun, 20 Jun 2021 10:08:49 +0000 (13:08 +0300)]
script/build_utils: update repo for arrow and parquet installation;
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Kefu Chai [Tue, 29 Jun 2021 03:18:52 +0000 (11:18 +0800)]
Merge pull request #1858 from ceph/wip-modules
ceph-pr-submodules: This job can run anywhere
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Galloway [Mon, 28 Jun 2021 20:20:21 +0000 (16:20 -0400)]
ceph-pr-submodules: This job can run anywhere
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Thu, 24 Jun 2021 18:40:24 +0000 (20:40 +0200)]
Merge pull request #1856 from ceph/wip-orirvingi
ceph-volume-*: Run on irvingi too.
Guillaume Abrioux [Thu, 24 Jun 2021 18:37:16 +0000 (20:37 +0200)]
Merge pull request #1855 from ceph/c-v-test-suite-cleanup
ceph-volume-test: cleanup
David Galloway [Thu, 24 Jun 2021 18:36:58 +0000 (14:36 -0400)]
ceph-volume-*: Run on irvingi too.
I added irvingi01 and irvingi02 as CentOS7 Vagrant builders today. We very briefly tried to use DHC for builders but that crashed and burned.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Thu, 24 Jun 2021 18:26:34 +0000 (20:26 +0200)]
ceph-volume-test: cleanup
Those jobs don't exist anymore in tox.ini of ceph-volume functional
tests. Let's remove them.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 24 Jun 2021 17:53:08 +0000 (19:53 +0200)]
Merge pull request #1854 from ceph/fix_missing_subcommand
ceph-volume-test: add missing SUBCOMMAND var
Guillaume Abrioux [Thu, 24 Jun 2021 17:45:01 +0000 (19:45 +0200)]
ceph-volume-test: add missing SUBCOMMAND var
SUBCOMMAND is missing for `centos7-bluestore-mixed_type` test.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 24 Jun 2021 14:58:40 +0000 (16:58 +0200)]
Merge pull request #1853 from ceph/fix_cv_test_suite
ceph-volume-test: add missing SUBCOMMAND definition
Guillaume Abrioux [Thu, 24 Jun 2021 14:53:08 +0000 (16:53 +0200)]
ceph-volume-test: add missing SUBCOMMAND definition
This is making some tests fail in the CI like following:
```
+ /tmp/venv.LBZdiW0Nx4/bin/tox --workdir=/tmp/tox.pQhNDR2lrs -vre
xenial-bluestore-mixed_type -- --provider=libvirt
using tox.ini:
/home/jenkins-build/build/workspace/ceph-volume-scenario/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini
(pid 1864)
ERROR: unknown environment 'xenial-bluestore-mixed_type'
```
it's picking up the wrong tox.ini file because SUBCOMMAND isn't injected
as it should be.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 24 Jun 2021 14:08:10 +0000 (16:08 +0200)]
Merge pull request #1852 from ceph/wip-naginator
ansible: Install naginator on Jenkins master
David Galloway [Thu, 24 Jun 2021 14:02:25 +0000 (10:02 -0400)]
ceph-ansible-prs: Retry failed builds w/ naginator
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 24 Jun 2021 13:57:10 +0000 (09:57 -0400)]
ansible: Install naginator on Jenkins master
Signed-off-by: David Galloway <dgallowa@redhat.com>
adam kraitman [Wed, 23 Jun 2021 19:44:59 +0000 (22:44 +0300)]
Merge pull request #1851 from ceph/wip-website-live
ceph-website: Update build script for go-live
David Galloway [Wed, 23 Jun 2021 16:11:09 +0000 (12:11 -0400)]
ceph-website: Update build script for go-live
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Jun 2021 15:31:35 +0000 (11:31 -0400)]
Merge pull request #1848 from ceph/wip-website-dev
ceph-website: Use proper build env per branch
David Galloway [Mon, 21 Jun 2021 21:12:11 +0000 (17:12 -0400)]
Merge pull request #1840 from ceph/wip-tags
ansible: Give registration tasks a tag
David Galloway [Mon, 21 Jun 2021 17:09:22 +0000 (13:09 -0400)]
Merge pull request #1849 from ceph/wip-cleaner-args
ansible: Set tmpwatch/tmpcleaner args correctly
David Galloway [Thu, 17 Jun 2021 22:11:58 +0000 (18:11 -0400)]
ceph-website: Use proper build env per branch
Fixes: https://github.com/ceph/ceph.io/issues/161
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Jun 2021 15:09:03 +0000 (11:09 -0400)]
Merge pull request #1847 from ceph/wip-cic8
ceph-iscsi-*: Support CentOS8
David Galloway [Thu, 17 Jun 2021 23:17:15 +0000 (19:17 -0400)]
ansible: Set tmpwatch/tmpcleaner args correctly
https://github.com/ceph/ceph-build/pull/1838#pullrequestreview-
686910470
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Jun 2021 15:00:53 +0000 (11:00 -0400)]
Merge pull request #1838 from ceph/wip-suse-cleaner
ansible: It's called tmpwatch in OpenSUSE
David Galloway [Wed, 16 Jun 2021 21:27:32 +0000 (17:27 -0400)]
ceph-iscsi-*: Support CentOS8
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 17 Jun 2021 17:44:41 +0000 (13:44 -0400)]
Merge pull request #1845 from ceph/wip-debugmore
ceph-ansible-prs: Debug vagrant problems
David Galloway [Wed, 16 Jun 2021 20:53:26 +0000 (16:53 -0400)]
Merge pull request #1846 from ceph/ca_split_jobs
ceph-ansible-prs: don't run all_in_one on smithi
Guillaume Abrioux [Wed, 16 Jun 2021 20:49:00 +0000 (22:49 +0200)]
ceph-ansible-prs: don't run all_in_one on smithi
smithi nodes aren't enough powerful for that job, let's run it on either
braggi or amadi
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
David Galloway [Wed, 16 Jun 2021 19:06:15 +0000 (15:06 -0400)]
ceph-ansible-prs: Debug vagrant problems
Occasionally having VMs come up but not get an IP. Or vagrant thinks they got an IP but didn't. This is impossible to debug after the VMs in the job are torn down so let's spit out some debug info before that.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Wed, 16 Jun 2021 15:30:37 +0000 (23:30 +0800)]
Merge pull request #1844 from tchaikov/wip-revert-
92b5739f271a263d58bd7fe6ef8c8000f3cb4204
Revert "add repo update for arrow installation (ubunto/centos)."
Kefu Chai [Wed, 16 Jun 2021 15:29:53 +0000 (23:29 +0800)]
Revert "add repo update for arrow installation (ubunto/centos)."
curl and sudo are missing.
This reverts commit
92b5739f271a263d58bd7fe6ef8c8000f3cb4204 .
Guillaume Abrioux [Wed, 16 Jun 2021 13:22:18 +0000 (15:22 +0200)]
Merge pull request #1843 from ceph/wip-c7-vl
ansible: Pin CentOS7 vagrant-libvirt to 0.3.0
David Galloway [Wed, 16 Jun 2021 13:10:42 +0000 (09:10 -0400)]
ansible: Pin CentOS7 vagrant-libvirt to 0.3.0
So the vagrant-libvirt project itself admits that it does not support CentOS8.
Jobs /usually/ pass on the smithi builders (CentOS7.9, Vagrant 2.2.3, and vagrant-libvirt 0.0.40 or 0.3.0) so let's try running that everywhere.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Wed, 16 Jun 2021 12:40:41 +0000 (20:40 +0800)]
Merge pull request #1827 from galsalomon66/wip-test-repo-update-for-arrow
scripts/build_utils.sh: add package repo for apache arrow (enables parquet objects processing)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Guillaume Abrioux [Tue, 15 Jun 2021 22:32:01 +0000 (00:32 +0200)]
Merge pull request #1841 from ceph/wip-pin-vagrant-libvirt
ansible: Pin vagrant-libvirt to 0.3.0
David Galloway [Tue, 15 Jun 2021 21:16:59 +0000 (17:16 -0400)]
ansible: Pin vagrant-libvirt to 0.3.0
The latest version (and possibly older) 0.5.3 is giving us tons of issues.
- VMs hanging on `vagrant up`
- `vagrant ssh-config` failing
Not to mention we have to manually build libssh as well as krb5.
Let's not mess with all that.
With this PR, we also don't /need/ to run centos8-vagrant.yml. It can be used to RE-install vagrant but the separate playbook is no longer required.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Tue, 15 Jun 2021 18:11:21 +0000 (20:11 +0200)]
Merge pull request #1836 from ceph/wip-c8-v2210
ansible: Pin centos8 vagrant builders to 2.2.10
David Galloway [Tue, 15 Jun 2021 17:44:05 +0000 (13:44 -0400)]
Merge pull request #1839 from ceph/split_smithi_braggi
ceph-ansible-prs: use braggi for biggest jobs
David Galloway [Tue, 15 Jun 2021 17:37:29 +0000 (13:37 -0400)]
ansible: Give registration tasks a tag
This is so I can skip it when I'm setting up a new CentOS 8 Vagrant builder.
https://wiki.sepia.ceph.com/doku.php?id=production:jenkins.ceph.com&#setting_up_new_jenkins_builder
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Tue, 15 Jun 2021 17:33:57 +0000 (19:33 +0200)]
ceph-ansible-prs: use braggi for biggest jobs
smithi and ovh workers aren't enough powerful, let's use braggi and
adami instead for those jobs.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
David Galloway [Tue, 15 Jun 2021 17:23:17 +0000 (13:23 -0400)]
ansible: It's called tmpwatch in OpenSUSE
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Tue, 15 Jun 2021 16:31:16 +0000 (18:31 +0200)]
Merge pull request #1837 from ceph/wip-remove-saved
scripts/build_utils.sh: Remove virsh save images
David Galloway [Tue, 15 Jun 2021 16:18:12 +0000 (12:18 -0400)]
scripts/build_utils.sh: Remove virsh save images
Fixes
```
+ sudo virsh undefine container_rgw0_1623696405_fb24199d9194c338f3d6
error: Refusing to undefine while domain managed save image exists
```
and subsequent
```
+ sudo service libvirt-guests restart
Redirecting to /bin/systemctl restart libvirt-guests.service
Job for libvirt-guests.service failed because the control process exited with error code.
See "systemctl status libvirt-guests.service" and "journalctl -xe" for details.
Build step 'Conditional step (single)' marked build as failure
Jun 15 15:40:10 braggi19 libvirt-guests.sh[44513]: Resuming guest container_rgw0_1623696405_fb24199d9194c338f3d6: error: Failed to start domain container_rgw0_1623696405_fb24199d9194c338f3d6
Jun 15 15:40:10 braggi19 libvirt-guests.sh[44513]: error: Network not found: no network with matching name 'vagrant-libvirt'
Jun 15 15:40:11 braggi19 systemd[1]: libvirt-guests.service: Main process exited, code=exited, status=1/FAILURE
Jun 15 15:40:11 braggi19 systemd[1]: libvirt-guests.service: Failed with result 'exit-code'.
Jun 15 15:40:11 braggi19 systemd[1]: Failed to start Suspend/Resume Running libvirt Guests.
```
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 15 Jun 2021 16:16:50 +0000 (12:16 -0400)]
ansible: Pin centos8 vagrant builders to 2.2.10
Seeing weird random failures with 2.2.16.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Mon, 14 Jun 2021 22:53:07 +0000 (00:53 +0200)]
Merge pull request #1835 from ceph/wip-vagrantdestroy
ceph-{ansible,container}*: Globally destroy all stale VMs
David Galloway [Mon, 14 Jun 2021 20:11:51 +0000 (16:11 -0400)]
ceph-{ansible,container}*: Globally destroy all stale VMs
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Mon, 14 Jun 2021 18:28:14 +0000 (20:28 +0200)]
Merge pull request #1834 from ceph/wip-c8-vagrant
ansible: Update centos8-vagrant playbook to work for CentOS8.4
David Galloway [Mon, 14 Jun 2021 18:11:59 +0000 (14:11 -0400)]
Merge pull request #1833 from ceph/wip-feature_branches-master
pr-api: trigger on feature branches
David Galloway [Mon, 14 Jun 2021 17:44:24 +0000 (13:44 -0400)]
ansible: Update centos8-vagrant playbook to work for CentOS8.4
Signed-off-by: David Galloway <dgallowa@redhat.com>
Ernesto Puerta [Fri, 11 Jun 2021 11:41:26 +0000 (13:41 +0200)]
pr-api: trigger on feature branches
While other Jenkins jobs don't filter by specific branches, the API
tests do, so we need to support 'feature-*' branch syntax.
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
gal salomon [Tue, 25 May 2021 00:19:31 +0000 (03:19 +0300)]
add repo update for arrow installation (ubunto/centos).
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Kefu Chai [Sat, 5 Jun 2021 00:52:51 +0000 (08:52 +0800)]
Merge pull request #1831 from tchaikov/wip-build-deb-mem
scripts/build_utils: increase mem per job to 3000 MiB
Kefu Chai [Sat, 5 Jun 2021 00:22:09 +0000 (08:22 +0800)]
Merge pull request #1832 from tchaikov/wip-no-master-on-bionic
ceph-dev-cron: remove leap15 from comment for job building master
Kefu Chai [Sat, 5 Jun 2021 00:17:39 +0000 (08:17 +0800)]
ceph-dev-cron: remove leap15 from comment for job building master
as we don't build master on leap15 anymore
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Kefu Chai [Sat, 5 Jun 2021 00:16:58 +0000 (08:16 +0800)]
ceph-dev-cron: do not build master on bionic
see also
2cbeb00308051188337773b587ea5e2913a42b56
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Kefu Chai [Fri, 4 Jun 2021 16:12:58 +0000 (00:12 +0800)]
scripts/build_utils: increase mem per job to 3000 MiB
see also https://github.com/ceph/ceph/pull/41677
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Jun 2021 14:55:59 +0000 (22:55 +0800)]
Merge pull request #1830 from tchaikov/wip-no-bionic-on-master
ceph-dev-*-trigger: stop building master on bionic
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 4 Jun 2021 12:07:53 +0000 (20:07 +0800)]
ceph-dev-trigger: remove leap15 from comment for job building master
as we don't build master on leap15 anymore
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Jun 2021 08:23:09 +0000 (16:23 +0800)]
scripts/build_utils: always pass -DALLOCATOR
this change reverts
901fe2e097548707350bc89c7650e0f72c45d994 and
17b40974b1cb10d1d8ba0373dbf578fb0e82f036 .
since we don't need to buld master (quincy and up) on bionic anymore,
there is no need to worry about the FTBFS when compiling with a buggy
gperftools (<2.6.2) shipped along with bionic.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Jun 2021 06:57:00 +0000 (14:57 +0800)]
ceph-dev-*-trigger: stop building master on bionic
in short, we don't need to test on bionic anymore for couple reasons:
- for accessing newer GCC
- for accessing more packages
see the discussion at
https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/BW5NKQ4KTOPV7OYUBUHVDVCSH72LVIEO/
the only qa suite referencing ubuntu 18.04 is the qa/suites/orch/rook/smoke,
but it deploys ceph using Rook, and the container image of Ceph is
based on CentOS, so stop building on ubuntu/bionic does not
break it, despite the fact that 18.04 is included by
qa/suites/orch/rook/smoke/0-distro.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Guillaume Abrioux [Thu, 3 Jun 2021 09:30:01 +0000 (11:30 +0200)]
Merge pull request #1829 from tchaikov/wip-viva-la-venv
*/build/teardown: create venv for running teardown_vagrant_tests()
Kefu Chai [Thu, 3 Jun 2021 09:25:46 +0000 (17:25 +0800)]
ceph-volume-nightly: do not set $scenarios
teardown_vagrant_tests() takes care of this already.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 3 Jun 2021 09:23:59 +0000 (17:23 +0800)]
*/build/teardown: create venv for running teardown_vagrant_tests()
to address the regression introduced by
e302eaabb977f3e93b1a7005c879f4b2eba581fc , which failed to create venv
after removing the global `$(mktemp -td venv.XXXXXXXXXX)` call.
Signed-off-by: Kefu Chai <kchai@redhat.com>
David Galloway [Thu, 27 May 2021 20:27:36 +0000 (16:27 -0400)]
Merge pull request #1826 from dmick/wip-ceph-grafana
Add ceph-grafana job
Dan Mick [Tue, 4 May 2021 22:03:38 +0000 (15:03 -0700)]
Add ceph-grafana job to build ceph-grafana container.
This job builds from the ceph workspace based on a ceph branch and an
architecture (x86_64 or arm64). A parent job calls this job for
branches or architectures. More versions etc. could be parameterized,
but for now they're hardcoded in the ceph branch in
monitoring/grafana/build/Makefile.
Andrew Schoen [Tue, 25 May 2021 20:24:13 +0000 (15:24 -0500)]
Merge pull request #1825 from ceph/wip-kernel-sha
kernel: Export sha1 as an env variable so shaman build URLs work
David Galloway [Tue, 25 May 2021 19:54:35 +0000 (15:54 -0400)]
kernel: Export sha1 as an env variable so shaman build URLs work
Signed-off-by: David Galloway <dgallowa@redhat.com>
adam kraitman [Tue, 25 May 2021 18:17:59 +0000 (21:17 +0300)]
Merge pull request #1824 from ceph/wip-oklist
ceph-website: Allow Pete-Robelou to build beta.ceph.io
David Galloway [Tue, 25 May 2021 18:12:37 +0000 (14:12 -0400)]
ceph-website: Allow Pete-Robelou to build beta.ceph.io
Signed-off-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Fri, 21 May 2021 14:38:21 +0000 (22:38 +0800)]
Merge pull request #1821 from tchaikov/wip-teuthology-pull-requests
teuthology-pull-requests: call create_venv_dir()
Kefu Chai [Fri, 21 May 2021 14:34:46 +0000 (22:34 +0800)]
teuthology-pull-requests: call create_venv_dir()
it was an oversight in
e302eaabb977f3e93b1a7005c879f4b2eba581fc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Guillaume Abrioux [Fri, 21 May 2021 12:06:41 +0000 (14:06 +0200)]
Merge pull request #1820 from ceph/create_venv_ca_syntax_check
ceph-ansible-syntax: create virtualenv after dir creation
Guillaume Abrioux [Fri, 21 May 2021 12:02:58 +0000 (14:02 +0200)]
ceph-ansible-syntax: create virtualenv after dir creation
add back venv creation that has been removed accidentally by
commit
3d832da831f0b938faa6f845617b0257bda184f4
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Fri, 21 May 2021 11:53:18 +0000 (13:53 +0200)]
Merge pull request #1819 from ceph/fix_ca_syntax
ceph-ansible-syntax: fix broken job
Guillaume Abrioux [Fri, 21 May 2021 11:45:35 +0000 (13:45 +0200)]
ceph-ansible-syntax: fix broken job
commit
b09f6470745a09ce4fce0265cb7a22a56b049886 supposed to fix
regression introduced by
e302eaabb977f3e93b1a7005c879f4b2eba581fc missed
the ceph-ansible-pr-syntax-check job, so the CI is still failing like
following:
```
[ceph-ansible-pr-syntax-check] $ /bin/bash /tmp/jenkins6031146002439656501.sh
+ set -e
+ virtualenv
You must provide a DEST_DIR
Usage: virtualenv [OPTIONS] DEST_DIR
```
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Kefu Chai [Thu, 20 May 2021 17:16:07 +0000 (01:16 +0800)]
Merge pull request #1818 from tchaikov/wip-ansible
ceph-ansible*: pass $TEMPVENV to start_tox
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Kefu Chai [Thu, 20 May 2021 17:08:50 +0000 (01:08 +0800)]
ceph-ansible*: pass $TEMPVENV to start_tox
to address the regression introduced by
e302eaabb977f3e93b1a7005c879f4b2eba581fc
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Ilya Dryomov [Thu, 20 May 2021 13:02:33 +0000 (15:02 +0200)]
Merge pull request #1816 from ceph/wip-kernel-deb-source-name
kernel: specify KDEB_SOURCENAME for make bindeb-pkg
Ilya Dryomov [Thu, 20 May 2021 10:48:03 +0000 (12:48 +0200)]
kernel: specify KDEB_SOURCENAME for make bindeb-pkg
Undo the damage caused by linux.git commit
82526ef43399 ("kbuild:
deb-pkg: change the source package name to linux-upstream").
We don't build a source package, but the source package name gets
embedded in the package metadata and ends up affecting the paths in
the repository generated by chacra.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Thu, 20 May 2021 07:01:53 +0000 (15:01 +0800)]
Merge pull request #1815 from tchaikov/wip-venv-dir
*: use create_venv_dir() helper
Reviewed-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Wed, 19 May 2021 13:59:34 +0000 (21:59 +0800)]
*: use create_venv_dir() helper
* define create_venv_dir() helper to
1. create a temp dir
2. set a trap to clean it up upon exit
* use create_venv_dir() in all scripts where
TEMPVENV and/or VENV variables are used.
this change can help us to avoid creating a tempdir in /tmp,
and keep the tempdir forever.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 19 May 2021 07:45:40 +0000 (15:45 +0800)]
Merge pull request #1813 from tchaikov/wip-venv-cleanup
scripts/build_utils.sh: pass VENV to helper functions
Reviewed-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 17 May 2021 15:20:23 +0000 (11:20 -0400)]
Merge pull request #1699 from tchaikov/wip-ceph-pr-commits-cleanup
ceph-pr-commits: wrap lines over 79 chars
David Galloway [Mon, 17 May 2021 15:17:03 +0000 (11:17 -0400)]
Merge pull request #1812 from ceph/wip-sunilkumarn417
teuthology-pull-requests: Allowlist sunilkumarn417
Kefu Chai [Sat, 15 May 2021 12:57:32 +0000 (20:57 +0800)]
Merge pull request #1814 from tchaikov/wip-allocator-tcmalloc
ceph-dev-*-setup: do not specify ALLOCATOR
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Sat, 15 May 2021 11:32:11 +0000 (19:32 +0800)]
ceph-dev-*-setup: do not specify ALLOCATOR
$DIST env variable is not set by ceph-dev-new-setup, as it prepares
the dist tarball for building on different distros. to build with
tcmalloc if gperftools 2.6.2 is available, we leave it to cmake to
decide the allocator to use. because, if ALLOCATOR is not specified,
cmake first tries to find gperftools, and falls back to JeMalloc, and
the libc allocator. after quincy, the fix for gperftools <2.6.2 is
dropped, and gperftools >= 2.6.2 is required, so it's safe. before
quincy, the fix gperftools <2.6.2 is still included, so it's also safe.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 15 May 2021 09:55:10 +0000 (17:55 +0800)]
Merge pull request #1811 from tchaikov/wip-no-tcmalloc-bionic
ceph-dev-*-setup: use libc allocator when building quincy on bionic
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Fri, 14 May 2021 14:37:08 +0000 (22:37 +0800)]
ceph-dev-*-setup: use libc allocator when building quincy on bionic
see also https://tracker.ceph.com/issues/39703, to silence the warning
std::allocator<void> is deprecated in C++17 and will be removed in
C++20, so stop using allocator<void> in quincy and up.
but the libtcmalloc shipped by bionic is still buggy (v2.5), so we should not
build qunincy and up with tcmalloc on this distro.
after this change, we only build quincy and up with tcmalloc on non-bionic distro.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 15 May 2021 03:15:01 +0000 (11:15 +0800)]
scripts/build_utils.sh: pass VENV to helper functions
pass VENV to following functions explicitly:
* teardown_vagrant_tests()
* start_tox()
* build_debs()
* install_python_packages()
* install_python_packages_no_binary()
* pip_download()
* check_binary_existence()
prepare for the cleanup to avoid creating TEMPVENV everytime the script
is included.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 15 May 2021 03:07:14 +0000 (11:07 +0800)]
scripts/build_utils.sh: reindent start_tox()
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
David Galloway [Fri, 14 May 2021 19:28:28 +0000 (15:28 -0400)]
teuthology-pull-requests: Allowlist sunilkumarn417
https://github.com/ceph/teuthology/pull/1646#issuecomment-
841353102
Signed-off-by: David Galloway <dgallowa@redhat.com>
Guillaume Abrioux [Fri, 14 May 2021 12:06:14 +0000 (14:06 +0200)]
Merge pull request #1810 from ceph/update_cephadm-ansible
cephadm-ansible: update scripts
Guillaume Abrioux [Fri, 14 May 2021 11:57:59 +0000 (13:57 +0200)]
cephadm-ansible: update scripts
This updates the build and teardown scripts so the playbook in
cephadm-ansible repository can be tested with the upstream ci.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>