]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
5 years agoMerge pull request #1579 from ceph/drop-focal
Kefu Chai [Tue, 2 Jun 2020 15:29:04 +0000 (23:29 +0800)]
Merge pull request #1579 from ceph/drop-focal

ceph-*-build: remove focal for crimson flavor

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-*-build: remove focal for crimson flavor 1579/head
Deepika Upadhyay [Tue, 2 Jun 2020 11:11:53 +0000 (16:41 +0530)]
ceph-*-build: remove focal for crimson flavor

we have now shifted to using centos 8 as base for building crimson
instead of using focal.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agoMerge pull request #1580 from ceph/wip-db-m
David Galloway [Tue, 2 Jun 2020 11:53:12 +0000 (07:53 -0400)]
Merge pull request #1580 from ceph/wip-db-m

ceph-dashboard-pr-backend: Target master too

5 years agoceph-dashboard-pr-backend: Target master too 1580/head
David Galloway [Tue, 2 Jun 2020 11:52:37 +0000 (07:52 -0400)]
ceph-dashboard-pr-backend: Target master too

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1578 from tchaikov/wip-ceph-deploy-pr-playbook-sudo
Kefu Chai [Tue, 2 Jun 2020 08:26:36 +0000 (16:26 +0800)]
Merge pull request #1578 from tchaikov/wip-ceph-deploy-pr-playbook-sudo

ansible: replace sudo with become

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoansible: replace sudo by become 1578/head
Kefu Chai [Tue, 2 Jun 2020 06:35:00 +0000 (14:35 +0800)]
ansible: replace sudo by become

sudo has be deprecated since Ansible 1.9 [0] and was removed in 2.9 [1], let's
use "become" instead.

---
[0]
https://github.com/ansible/ansible/blob/stable-2.0/CHANGELOG.md#19-dancing-in-the-street---mar-25-2015
[1] https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1576 from tchaikov/wip-crimson-clang
Kefu Chai [Mon, 1 Jun 2020 15:55:46 +0000 (23:55 +0800)]
Merge pull request #1576 from tchaikov/wip-crimson-clang

ceph-perf-pull-requests: use clang for crimson perf test

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoceph-perf-pull-requests: install clang for crimson build 1576/head
Kefu Chai [Mon, 1 Jun 2020 08:52:16 +0000 (16:52 +0800)]
ceph-perf-pull-requests: install clang for crimson build

so we can detect build failures on clang

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: prefer clang over gcc when building crimson
Kefu Chai [Mon, 1 Jun 2020 08:51:08 +0000 (16:51 +0800)]
ceph-perf-pull-requests: prefer clang over gcc when building crimson

for detecting test failures on clang

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1575 from ceph/wip-backend-octopus
David Galloway [Wed, 27 May 2020 18:09:30 +0000 (14:09 -0400)]
Merge pull request #1575 from ceph/wip-backend-octopus

ceph-dashboard-pr-backend: Auto-run on octopus PRs only

5 years agoceph-dashboard-pr-backend: Auto-run on octopus PRs only 1575/head
David Galloway [Wed, 27 May 2020 17:34:37 +0000 (13:34 -0400)]
ceph-dashboard-pr-backend: Auto-run on octopus PRs only

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1574 from ceph/wip-cephio
David Galloway [Tue, 26 May 2020 16:23:28 +0000 (12:23 -0400)]
Merge pull request #1574 from ceph/wip-cephio

Add ceph-website job

5 years agoMerge pull request #1573 from ceph/wip-one-playbook
Zack Cerza [Fri, 22 May 2020 18:15:22 +0000 (12:15 -0600)]
Merge pull request #1573 from ceph/wip-one-playbook

Refactor slave playbook

5 years agoMerge pull request #1549 from ceph/wip-syncpull
David Galloway [Fri, 22 May 2020 16:21:11 +0000 (12:21 -0400)]
Merge pull request #1549 from ceph/wip-syncpull

scripts: Fix sync-pull so it still supports older than Octopus

5 years agoansible: Add some shebangs to the jenkins_node module 1573/head
David Galloway [Thu, 21 May 2020 21:14:53 +0000 (17:14 -0400)]
ansible: Add some shebangs to the jenkins_node module

This module wasn't working on python3-only distros.  This fixes it and is apparently fine.

https://blogs.gnome.org/mcatanzaro/2018/02/16/on-python-shebangs/

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: One playbook to rule them all
David Galloway [Thu, 21 May 2020 16:52:14 +0000 (12:52 -0400)]
ansible: One playbook to rule them all

I/we got into a bad habit of updating one playbook to support X new distro or X new package but wouldn't update the others.

I think having all the tasks for all the types of slaves in one playbook will help keep things homogenous.  And the playbooks are still idempotent (they can't be run while a job is running of course).

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: Scrap all individual playbooks
David Galloway [Thu, 21 May 2020 16:50:45 +0000 (12:50 -0400)]
ansible: Scrap all individual playbooks

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1572 from ceph/wip-optional-sudo
adam kraitman [Thu, 21 May 2020 08:04:26 +0000 (11:04 +0300)]
Merge pull request #1572 from ceph/wip-optional-sudo

ansible: Optionally disable sudo access for jenkins-build user

5 years agoAdd ceph-website job 1574/head
David Galloway [Wed, 20 May 2020 19:50:28 +0000 (15:50 -0400)]
Add ceph-website job

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: Update slave playbooks for python2-less Ubuntu distros
David Galloway [Wed, 20 May 2020 20:20:23 +0000 (16:20 -0400)]
ansible: Update slave playbooks for python2-less Ubuntu distros

python2 is completely unavailable in Focal Fossa so it's time to split out those deps by Ubuntu version

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: Optionally disable sudo access for jenkins-build user 1572/head
David Galloway [Wed, 20 May 2020 19:53:08 +0000 (15:53 -0400)]
ansible: Optionally disable sudo access for jenkins-build user

Sometimes that user just doesn't need sudo access y'know?

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1569 from lxbsz/new
Ilya Dryomov [Wed, 20 May 2020 06:23:47 +0000 (08:23 +0200)]
Merge pull request #1569 from lxbsz/new

kernel: update KConfig to 5.7.0-rc5-ish

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 years agokernel: update Kconfig templates to 5.7-rc5 1569/head
Xiubo Li [Fri, 15 May 2020 00:54:42 +0000 (20:54 -0400)]
kernel: update Kconfig templates to 5.7-rc5

Because of how "make olddefconfig" works, we were missing netfilter
options and couldn't configure INPUT/FORWARD/OUTPUT chains needed for
kcephfs suite (unshare_ns_mount.sh, mount.py).

Update our Kconfig templates to 5.7-rc5.  This has been generated
from the actual config (/boot/config-*) of one of the latest kernel
builds in shaman (as opposed to e.g. taking a distro config).

Here is the diff against the actual deb config:

14a18
> CONFIG_CC_HAS_ASM_INLINE=y
1199,1201c1203,1205
< # CONFIG_NF_TABLES_INET is not set
< # CONFIG_NF_TABLES_NETDEV is not set
< # CONFIG_NFT_NUMGEN is not set
---
> CONFIG_NF_TABLES_INET=y
> CONFIG_NF_TABLES_NETDEV=y
> CONFIG_NFT_NUMGEN=m
1202a1207
> # CONFIG_NFT_FLOW_OFFLOAD is not set
1208a1214
> CONFIG_NFT_NAT=m
1213a1220
> CONFIG_NFT_REJECT_INET=m
1215a1223,1224
> CONFIG_NFT_FIB=m
> # CONFIG_NFT_FIB_INET is not set
1217,1221c1226,1235
< # CONFIG_NFT_SOCKET is not set
< # CONFIG_NFT_OSF is not set
< # CONFIG_NFT_TPROXY is not set
< # CONFIG_NFT_SYNPROXY is not set
< # CONFIG_NF_FLOW_TABLE is not set
---
> CONFIG_NFT_SOCKET=m
> CONFIG_NFT_OSF=m
> CONFIG_NFT_TPROXY=m
> CONFIG_NFT_SYNPROXY=m
> CONFIG_NF_DUP_NETDEV=m
> CONFIG_NFT_DUP_NETDEV=m
> CONFIG_NFT_FWD_NETDEV=m
> # CONFIG_NFT_FIB_NETDEV is not set
> CONFIG_NF_FLOW_TABLE_INET=m
> CONFIG_NF_FLOW_TABLE=m
1386,1387c1400,1405
< # CONFIG_NF_TABLES_IPV4 is not set
< # CONFIG_NF_TABLES_ARP is not set
---
> CONFIG_NF_TABLES_IPV4=y
> CONFIG_NFT_REJECT_IPV4=m
> CONFIG_NFT_DUP_IPV4=m
> CONFIG_NFT_FIB_IPV4=m
> CONFIG_NF_TABLES_ARP=y
> CONFIG_NF_FLOW_TABLE_IPV4=m
1423c1441,1445
< # CONFIG_NF_TABLES_IPV6 is not set
---
> CONFIG_NF_TABLES_IPV6=y
> CONFIG_NFT_REJECT_IPV6=m
> CONFIG_NFT_DUP_IPV6=m
> CONFIG_NFT_FIB_IPV6=m
> CONFIG_NF_FLOW_TABLE_IPV6=m
1459a1482
> CONFIG_NFT_BRIDGE_REJECT=m
1661a1685
> # CONFIG_NET_ACT_CT is not set

Here is the diff against the actual rpm config:

1167,1169c1170,1172
< # CONFIG_NF_TABLES_INET is not set
< # CONFIG_NF_TABLES_NETDEV is not set
< # CONFIG_NFT_NUMGEN is not set
---
> CONFIG_NF_TABLES_INET=y
> CONFIG_NF_TABLES_NETDEV=y
> CONFIG_NFT_NUMGEN=m
1170a1174
> # CONFIG_NFT_FLOW_OFFLOAD is not set
1177,1178c1181,1183
< # CONFIG_NFT_TUNNEL is not set
< # CONFIG_NFT_OBJREF is not set
---
> CONFIG_NFT_NAT=m
> CONFIG_NFT_TUNNEL=m
> CONFIG_NFT_OBJREF=m
1180c1185
< # CONFIG_NFT_QUOTA is not set
---
> CONFIG_NFT_QUOTA=m
1181a1187
> CONFIG_NFT_REJECT_INET=m
1183a1190,1191
> CONFIG_NFT_FIB=m
> # CONFIG_NFT_FIB_INET is not set
1185c1193
< # CONFIG_NFT_SOCKET is not set
---
> CONFIG_NFT_SOCKET=m
1189c1197,1202
< # CONFIG_NF_FLOW_TABLE is not set
---
> CONFIG_NF_DUP_NETDEV=m
> CONFIG_NFT_DUP_NETDEV=m
> CONFIG_NFT_FWD_NETDEV=m
> # CONFIG_NFT_FIB_NETDEV is not set
> CONFIG_NF_FLOW_TABLE_INET=m
> CONFIG_NF_FLOW_TABLE=m
1354,1355c1367,1372
< # CONFIG_NF_TABLES_IPV4 is not set
< # CONFIG_NF_TABLES_ARP is not set
---
> CONFIG_NF_TABLES_IPV4=y
> CONFIG_NFT_REJECT_IPV4=m
> CONFIG_NFT_DUP_IPV4=m
> CONFIG_NFT_FIB_IPV4=m
> CONFIG_NF_TABLES_ARP=y
> # CONFIG_NF_FLOW_TABLE_IPV4 is not set
1391c1408,1412
< # CONFIG_NF_TABLES_IPV6 is not set
---
> CONFIG_NF_TABLES_IPV6=y
> CONFIG_NFT_REJECT_IPV6=m
> CONFIG_NFT_DUP_IPV6=m
> CONFIG_NFT_FIB_IPV6=m
> CONFIG_NF_FLOW_TABLE_IPV6=m
1420a1442
> CONFIG_NFT_BRIDGE_REJECT=m
1422c1444
< # CONFIG_NF_CONNTRACK_BRIDGE is not set
---
> CONFIG_NF_CONNTRACK_BRIDGE=m
1623a1646
> # CONFIG_NET_ACT_CT is not set

Fixes: https://tracker.ceph.com/issues/45531
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge pull request #1571 from ceph/wip-sepia-defaults2
David Galloway [Fri, 15 May 2020 21:50:47 +0000 (17:50 -0400)]
Merge pull request #1571 from ceph/wip-sepia-defaults2

sepia-fog-images: Update defaults

5 years agosepia-fog-images: Update defaults 1571/head
David Galloway [Fri, 15 May 2020 21:21:01 +0000 (17:21 -0400)]
sepia-fog-images: Update defaults

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1570 from ceph/wip-obs
David Galloway [Fri, 15 May 2020 13:41:26 +0000 (09:41 -0400)]
Merge pull request #1570 from ceph/wip-obs

Support OpenSUSE Leap static slaves too

5 years agoSupport OpenSUSE Leap static slaves too 1570/head
David Galloway [Fri, 15 May 2020 13:36:32 +0000 (09:36 -0400)]
Support OpenSUSE Leap static slaves too

These variables should be passed on the command line when configuring or reconfiguring a static Jenkins slave.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1567 from ceph/wip-kernel-ubuntu-focal
Kefu Chai [Wed, 13 May 2020 02:30:04 +0000 (10:30 +0800)]
Merge pull request #1567 from ceph/wip-kernel-ubuntu-focal

kernel: turn on ubuntu focal builds

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agokernel: turn on ubuntu focal builds 1567/head
Ilya Dryomov [Tue, 12 May 2020 23:09:07 +0000 (01:09 +0200)]
kernel: turn on ubuntu focal builds

Commit 458332be6244 ("Add support for Ubuntu Focal Fossa globally")
added support for focal builds but didn't turn them on.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge pull request #1559 from tspmelo/wip-cypress-key
Kefu Chai [Tue, 12 May 2020 12:00:16 +0000 (20:00 +0800)]
Merge pull request #1559 from tspmelo/wip-cypress-key

ceph-dashboard-pull-requests: Add Cypress key credential

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1566 from tchaikov/wip-crimson-builddeps-fix
David Galloway [Mon, 11 May 2020 14:46:00 +0000 (10:46 -0400)]
Merge pull request #1566 from tchaikov/wip-crimson-builddeps-fix

ceph-*-*: s/esac/fi/

5 years agoceph-*-*: s/esac/fi/ 1566/head
Kefu Chai [Mon, 11 May 2020 14:40:01 +0000 (22:40 +0800)]
ceph-*-*: s/esac/fi/

fix syntax error introduced by f934188b6cb95a56fd799ff2806a3f4ce30a9c58

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1564 from tchaikov/wip-crimson-builddeps
David Galloway [Sun, 10 May 2020 15:39:18 +0000 (11:39 -0400)]
Merge pull request #1564 from tchaikov/wip-crimson-builddeps

ceph-*-build: enable crimson build dependencies

5 years agoceph-*-build: enable crimson build dependencies 1564/head
Kefu Chai [Sat, 9 May 2020 08:20:45 +0000 (16:20 +0800)]
ceph-*-build: enable crimson build dependencies

if $FLAVOR is crimson, crimson specific build dependencies should be
installed, otherwise we could have following failure when trying to
build crimson flavor of ceph packages:

error: Failed build dependencies:
fmt-devel is needed by ceph-2:16.0.0-1456.g311da94.el8.x86_64

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dashboard-pull-requests: Add Cypress key credential 1559/head
Tiago Melo [Tue, 28 Apr 2020 12:49:48 +0000 (12:49 +0000)]
ceph-dashboard-pull-requests: Add Cypress key credential

We need to have access to this key, to be able to record our e2e runs.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #1563 from ceph/wip-jjb-latest
David Galloway [Mon, 4 May 2020 17:08:50 +0000 (13:08 -0400)]
Merge pull request #1563 from ceph/wip-jjb-latest

jenkins-job-builder: Use latest pip

5 years agojenkins-job-builder: Use latest pip 1563/head
David Galloway [Mon, 4 May 2020 17:04:41 +0000 (13:04 -0400)]
jenkins-job-builder: Use latest pip

I guess jjb needs a newer pip.  This job broke a few weeks ago after https://github.com/ceph/ceph-build/commit/21e7a7b2d3aa4d49b3a38c8eab494adb8f928a4b

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1562 from ceph/wip-unpin
Kefu Chai [Fri, 1 May 2020 05:28:10 +0000 (13:28 +0800)]
Merge pull request #1562 from ceph/wip-unpin

ceph*setup: Unpin to trusty slaves

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph*setup: Unpin to trusty slaves 1562/head
David Galloway [Thu, 30 Apr 2020 16:20:51 +0000 (12:20 -0400)]
ceph*setup: Unpin to trusty slaves

Not sure why this was needed in the first place but not only do we not have any actual 'trusty' slaves anymore.  Any Ubuntu slave should do.  I tried CentOS but `dch` is required and conflicts with RPM packaging tools.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1560 from ideepika/wip-crimson-el8
David Galloway [Wed, 29 Apr 2020 20:55:50 +0000 (16:55 -0400)]
Merge pull request #1560 from ideepika/wip-crimson-el8

support crimson flavor for centos 8

5 years agoadd crimson flavor build for centos8 1560/head
Deepika Upadhyay [Wed, 29 Apr 2020 10:39:52 +0000 (16:09 +0530)]
add crimson flavor build for centos8

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agoMerge pull request #1557 from ceph/wip-focal
David Galloway [Tue, 28 Apr 2020 13:38:22 +0000 (09:38 -0400)]
Merge pull request #1557 from ceph/wip-focal

Add support for Ubuntu Focal Fossa globally

5 years agoceph-dev*trigger: Build crimson on Focal instead of Bionic 1557/head
David Galloway [Mon, 27 Apr 2020 18:01:23 +0000 (14:01 -0400)]
ceph-dev*trigger: Build crimson on Focal instead of Bionic

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoAdd support for Ubuntu Focal Fossa globally
David Galloway [Fri, 24 Apr 2020 17:59:28 +0000 (13:59 -0400)]
Add support for Ubuntu Focal Fossa globally

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1552 from tspmelo/wip-xvfb
Kefu Chai [Wed, 22 Apr 2020 14:16:34 +0000 (22:16 +0800)]
Merge pull request #1552 from tspmelo/wip-xvfb

ceph-dashboard-pull-requests: Install xvfb

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #1556 from ceph/wip-no-easyinstall
Andrew Schoen [Tue, 21 Apr 2020 19:52:49 +0000 (14:52 -0500)]
Merge pull request #1556 from ceph/wip-no-easyinstall

Get rid of easy_install and add functionality to install any pip version

5 years agoscripts: Add ability to install a different pip version 1556/head
David Galloway [Tue, 21 Apr 2020 19:00:49 +0000 (15:00 -0400)]
scripts: Add ability to install a different pip version

@guits was seeing an issue in ceph-ansible jobs with pip 10.0.0.  This commit will allow individual jobs to specify "latest" or "pip==X.X.X" or "pip<20.0.0" as a second parameter to the `install_python_packages` functions.  The default behavior is still no second parameter and pip=10.0.0 will still be installed until we're ready to unpin that.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoscripts: Stop using easy_install to upgrade pip
David Galloway [Tue, 21 Apr 2020 18:57:17 +0000 (14:57 -0400)]
scripts: Stop using easy_install to upgrade pip

A recent pip release caused `easy_install --upgrade pip` to break all builds on non-CentOS7 machines.  Let's assume it's safe to stop using easy_install to upgrade pip since we're not building on any ancient distros anymore.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1553 from ceph/guits-ca_doc_stable-5.0
Guillaume Abrioux [Tue, 21 Apr 2020 08:17:51 +0000 (10:17 +0200)]
Merge pull request #1553 from ceph/guits-ca_doc_stable-5.0

ceph-ansible-docs: build doc for stable-5.0

5 years agoceph-ansible-docs: build doc for stable-5.0 1553/head
Guillaume Abrioux [Tue, 21 Apr 2020 08:14:40 +0000 (10:14 +0200)]
ceph-ansible-docs: build doc for stable-5.0

Let's build the upstream documentation for stable-5.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoceph-dashboard-pull-requests: Install xvfb 1552/head
Tiago Melo [Thu, 9 Apr 2020 11:08:15 +0000 (11:08 +0000)]
ceph-dashboard-pull-requests: Install xvfb

This is needed to run cypress.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #1550 from tchaikov/wip-ceph-perf
Kefu Chai [Wed, 15 Apr 2020 01:55:00 +0000 (09:55 +0800)]
Merge pull request #1550 from tchaikov/wip-ceph-perf

ceph-perf-pull-requests: add ceph-perf-classic job

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #1551 from ceph/wip-sepia-defaults
David Galloway [Tue, 14 Apr 2020 19:09:38 +0000 (15:09 -0400)]
Merge pull request #1551 from ceph/wip-sepia-defaults

sepia-fog-images: Don't build for mira

5 years agosepia-fog-images: Don't build for mira 1551/head
David Galloway [Tue, 14 Apr 2020 19:08:58 +0000 (15:08 -0400)]
sepia-fog-images: Don't build for mira

RHEL/CentOS8 don't support them.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoceph-perf-pull-requests: use foo-bar-baz for jjb parameters 1550/head
Kefu Chai [Tue, 14 Apr 2020 05:26:43 +0000 (13:26 +0800)]
ceph-perf-pull-requests: use foo-bar-baz for jjb parameters

use a different naming convention for jjb parameters

- to be consistent with other parameters defined by jjb
- to differentiate them from the environmental variables which
  are determined at runtime.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: reference runtime variables using $name
Kefu Chai [Tue, 14 Apr 2020 05:20:55 +0000 (13:20 +0800)]
ceph-perf-pull-requests: reference runtime variables using $name

they are not template variables, and jjb will error out when trying to
substituting them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: escape when referencing variables in shell
Kefu Chai [Tue, 14 Apr 2020 05:07:03 +0000 (13:07 +0800)]
ceph-perf-pull-requests: escape when referencing variables in shell

`jenkins-jobs ... test` complains at seeing this.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: add ceph-perf-classic job
Kefu Chai [Tue, 14 Apr 2020 04:44:21 +0000 (12:44 +0800)]
ceph-perf-pull-requests: add ceph-perf-classic job

* add "ceph-perf-classic" job. this job is defined using the job
  template of "ceph-perf-{osd_flavor}"
* change the whitelist of "ceph-perf-crimson" and "ceph-perf-classic"
  to "performance", so both of them can be enabled as long as the
  "performance" label is attached to a PR.

please note, "ceph-perf-classic" job is using the test case and
acceptance critiera defined in `src/test/crimson/cbt/radosbench_4K_read.yaml`
for testing the performance. we need to adapt it for the needs of
classic OSD.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: conditionalize run-cbt
Kefu Chai [Tue, 14 Apr 2020 04:34:49 +0000 (12:34 +0800)]
ceph-perf-pull-requests: conditionalize run-cbt

to guard the embedded shell script with the check of "osd-flavor" parameter

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: extract ceph-perf test as a job-template
Kefu Chai [Tue, 14 Apr 2020 04:33:29 +0000 (12:33 +0800)]
ceph-perf-pull-requests: extract ceph-perf test as a job-template

so we can reuse it for testing classic osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoscripts: Fix sync-pull so it still supports older than Octopus 1549/head
David Galloway [Fri, 10 Apr 2020 13:39:56 +0000 (09:39 -0400)]
scripts: Fix sync-pull so it still supports older than Octopus

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1548 from ceph/always-run-teuthology-in-sepia
David Galloway [Tue, 7 Apr 2020 13:37:12 +0000 (09:37 -0400)]
Merge pull request #1548 from ceph/always-run-teuthology-in-sepia

teuthology: always test pull requests in sepia

5 years agoteuthology: always test pull requests in sepia 1548/head
Kyr Shatskyy [Tue, 7 Apr 2020 13:26:17 +0000 (15:26 +0200)]
teuthology: always test pull requests in sepia

Because teuthology has functional and integration tests which
needs a connection to some services running in sepia and
some of the jenkins workers are running far away from the lab,
it takes significantly more time to run tests when using those
nodes. Like 6-7 minutes for running test on nodes in sepia,
and about 55-60 minutes outside.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1547 from tchaikov/wip-cleanup-ws
Sage Weil [Mon, 6 Apr 2020 13:55:48 +0000 (08:55 -0500)]
Merge pull request #1547 from tchaikov/wip-cleanup-ws

ceph-dev-*build: remove ceph-container after done with it

5 years agoceph-dev-*build: remove ceph-container after done with it 1547/head
Kefu Chai [Mon, 6 Apr 2020 06:19:33 +0000 (14:19 +0800)]
ceph-dev-*build: remove ceph-container after done with it

because `ceph-container` contains the artifacts created using `root`
user after 6090e4d00c82b8aba1d56ed249f29352e7c308d6, for instance, the
`staging` directory is created by
https://github.com/ceph/ceph-container/blob/2f61465f6a91f15470ff4f87844c5fe9c64b9664/maint-lib/stage.py#L102

so we need to remove `ceph-container` after pushing the created image
using `sudo` as well. otherwise, jenkins is not able to cleanup the
workspace using the "jenkins-build" user.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1546 from ceph/root-container-build
David Galloway [Fri, 3 Apr 2020 14:28:32 +0000 (10:28 -0400)]
Merge pull request #1546 from ceph/root-container-build

ceph-dev-*build: sudo -E for container build

5 years agoceph-dev-*build: sudo -E for container build 1546/head
Sage Weil [Fri, 3 Apr 2020 14:26:54 +0000 (09:26 -0500)]
ceph-dev-*build: sudo -E for container build

We need the environment, or else

+ sudo CI_CONTAINER=true SHA1=ca338cb74a4f503555323a668a2ba5b2e1845057 /bin/bash ./contrib/build-push-ceph-container-imgs.sh
+ CI_CONTAINER=true
+ true
+ CEPH_BRANCH=
+ for v in BRANCH SHA1 CONTAINER_REPO_HOSTNAME CONTAINER_REPO_ORGANIZATION CONTAINER_REPO_USERNAME CONTAINER_REPO_PASSWORD
+ require BRANCH
+ [[ -z '' ]]
+ echo 'Required variable BRANCH not set, exiting'
Required variable BRANCH not set, exiting

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1539 from ceph/medic-chacra-key
David Galloway [Fri, 3 Apr 2020 13:53:34 +0000 (09:53 -0400)]
Merge pull request #1539 from ceph/medic-chacra-key

ceph-medic-release: Bind CHACRACTL_KEY credential

5 years agoMerge pull request #1545 from ceph/root-container-build
David Galloway [Thu, 2 Apr 2020 19:32:07 +0000 (15:32 -0400)]
Merge pull request #1545 from ceph/root-container-build

ceph-dev-*build: build containers as root

5 years agoceph-dev-*build: build container as root 1545/head
Sage Weil [Wed, 1 Apr 2020 22:46:25 +0000 (17:46 -0500)]
ceph-dev-*build: build container as root

Hopefully this avoids all of the podman/docker issues like

+ make clean.all
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
+ login_docker_hub
+ echo 'Login in the Docker Hub'
Login in the Docker Hub
+ docker login -u **** -p **** quay.io
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1544 from tchaikov/wip-with-seastar
David Galloway [Wed, 1 Apr 2020 16:08:32 +0000 (12:08 -0400)]
Merge pull request #1544 from tchaikov/wip-with-seastar

ceph-perf-pull-requests: enable WITH_SEASTAR

5 years agoceph-perf-pull-requests: enable WITH_SEASTAR 1544/head
Kefu Chai [Wed, 1 Apr 2020 15:24:00 +0000 (23:24 +0800)]
ceph-perf-pull-requests: enable WITH_SEASTAR

as WITH_SEASTAR is now off by default, we need to enable it for testing
crimson-osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1543 from tchaikov/wip-run-cbt-on-el8
David Galloway [Wed, 1 Apr 2020 14:26:23 +0000 (10:26 -0400)]
Merge pull request #1543 from tchaikov/wip-run-cbt-on-el8

ceph-perf-pull-requests: install cbt dependencies for el8

5 years agoceph-perf-pull-requests: install cbt dependencies for el8 1543/head
Kefu Chai [Wed, 1 Apr 2020 13:46:59 +0000 (21:46 +0800)]
ceph-perf-pull-requests: install cbt dependencies for el8

since all "performance" slaves are now el8, we need to update the
dependencies for cbt accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1532 from ceph/wip-sepia-weekly
David Galloway [Tue, 31 Mar 2020 21:40:49 +0000 (17:40 -0400)]
Merge pull request #1532 from ceph/wip-sepia-weekly

sepia-fog-images: Run automatically every week

5 years agoMerge pull request #1542 from ceph/ceph_ansible_podman_stable_4_only
Guillaume Abrioux [Tue, 31 Mar 2020 18:55:29 +0000 (20:55 +0200)]
Merge pull request #1542 from ceph/ceph_ansible_podman_stable_4_only

ceph-ansible-prs: run podman on stable-4.0 only

5 years agoceph-ansible-prs: run podman on stable-4.0 only 1542/head
Dimitri Savineau [Tue, 31 Mar 2020 18:47:15 +0000 (14:47 -0400)]
ceph-ansible-prs: run podman on stable-4.0 only

We don't need to run an extra podman scenario job on newer branches than
stable-4.0 because we're already using podman by default (CentOS 8) for
all container scenarios.
For older branches we don't support podman.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1533 from ceph/ceph_container_nightly_update
Guillaume Abrioux [Tue, 31 Mar 2020 18:37:57 +0000 (20:37 +0200)]
Merge pull request #1533 from ceph/ceph_container_nightly_update

ceph-container-nightly: update job naming

5 years agoMerge pull request #1540 from ceph/wip-unknown-release
Nathan Cutler [Tue, 31 Mar 2020 14:33:44 +0000 (16:33 +0200)]
Merge pull request #1540 from ceph/wip-unknown-release

build_utils.sh: add pacific

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
5 years agoMerge pull request #1541 from ceph/guits-ca-syntax
Guillaume Abrioux [Tue, 31 Mar 2020 12:35:16 +0000 (14:35 +0200)]
Merge pull request #1541 from ceph/guits-ca-syntax

ceph-ansible: update syntax check

5 years agoceph-ansible: update syntax check 1541/head
Guillaume Abrioux [Tue, 31 Mar 2020 12:27:11 +0000 (14:27 +0200)]
ceph-ansible: update syntax check

This commit replaces s/site-docker.yml.sample/site-container.yml.sample

ceph-ansible related PR: ceph/ceph-ansible#5216

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoceph-dev-build: update {build,setup}_osc for pacific 1540/head
Nathan Cutler [Tue, 31 Mar 2020 12:09:54 +0000 (14:09 +0200)]
ceph-dev-build: update {build,setup}_osc for pacific

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agobuild_utils.sh: add pacific
Nathan Cutler [Tue, 31 Mar 2020 10:21:11 +0000 (12:21 +0200)]
build_utils.sh: add pacific

I hope this will fix the FTBFS currently seen in Shaman on openSUSE Leap
15.2 builds of "master" branch:

++ case $ver in
++ rel=unknown
++ echo 'ERROR: Unknown release for version '\''16.0.0'\'''
ERROR: Unknown release for version '16.0.0'
++ echo unknown
++ exit 1
+ RELEASE_BRANCH=unknown

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #1537 from ceph/ceph_ansible_nightly_container_name
Guillaume Abrioux [Mon, 30 Mar 2020 13:22:47 +0000 (15:22 +0200)]
Merge pull request #1537 from ceph/ceph_ansible_nightly_container_name

ceph-ansible-nightly: parametrize centos release

5 years agoMerge pull request #1538 from ceph/quary_prune_el8
Dan Mick [Fri, 27 Mar 2020 22:59:01 +0000 (15:59 -0700)]
Merge pull request #1538 from ceph/quary_prune_el8

quay-pruner: add CentOS 8 container support

5 years agoceph-medic-release: Bind CHACRACTL_KEY credential 1539/head
Zack Cerza [Fri, 27 Mar 2020 22:57:53 +0000 (16:57 -0600)]
ceph-medic-release: Bind CHACRACTL_KEY credential

This job was writing an incomplete .chacractl config file.

Signed-off-by: Zack Cerza <zack@redhat.com>
5 years agoquay-pruner: add CentOS 8 container support 1538/head
Dimitri Savineau [Fri, 27 Mar 2020 14:16:24 +0000 (10:16 -0400)]
quay-pruner: add CentOS 8 container support

Since Ceph Octopus release, the container image are based on CentOS 8
instead of 7 for previous releases.
The current quay pruner script only matches tags for CentOS 7.
This adds the CentOS 8 support.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoceph-ansible-nightly: parametrize centos release 1537/head
Dimitri Savineau [Fri, 27 Mar 2020 13:29:09 +0000 (09:29 -0400)]
ceph-ansible-nightly: parametrize centos release

Since octopus the container image are based on CentOS 8 instead of 7 for
the previous Ceph releases.
The current regex to find the latest stable container image per Ceph
releases is hardcoding 7.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1535 from ceph/ceph_ansible_stable_5
Guillaume Abrioux [Fri, 27 Mar 2020 03:50:34 +0000 (04:50 +0100)]
Merge pull request #1535 from ceph/ceph_ansible_stable_5

ceph-ansible-nightly: add stable-5.0 branch

5 years agoMerge pull request #1536 from ceph/ceph_ansible_get_rid_ubuntu
Guillaume Abrioux [Fri, 27 Mar 2020 03:49:41 +0000 (04:49 +0100)]
Merge pull request #1536 from ceph/ceph_ansible_get_rid_ubuntu

ceph-ansible: remove ubuntu distribution

5 years agoceph-ansible: remove ubuntu distribution 1536/head
Dimitri Savineau [Tue, 3 Mar 2020 15:26:52 +0000 (10:26 -0500)]
ceph-ansible: remove ubuntu distribution

This commit removes the ubuntu distribution testing from the ceph-ansible
jobs for both PRs and nightly configuration.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoceph-ansible-nightly: add stable-5.0 branch 1535/head
Dimitri Savineau [Thu, 26 Mar 2020 22:07:59 +0000 (18:07 -0400)]
ceph-ansible-nightly: add stable-5.0 branch

This adds the ceph-ansible stable-5.0 branch to the nighly jobs which
is used to test the Ceph Octopus release.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1534 from ceph/wip-relative
David Galloway [Tue, 24 Mar 2020 21:25:07 +0000 (17:25 -0400)]
Merge pull request #1534 from ceph/wip-relative

sync-push: Create relative symlinks instead of absolute

5 years agosync-push: Create relative symlinks instead of absolute 1534/head
David Galloway [Tue, 24 Mar 2020 19:28:10 +0000 (15:28 -0400)]
sync-push: Create relative symlinks instead of absolute

This allows people to `rsync --copy-links -aiv rsync://download.ceph.com/ceph/{debian,rpm}-octopus .` and have rsync follow the symlink.

The previous way of symlinking did not.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoceph-container-nightly: update job naming 1533/head
Dimitri Savineau [Tue, 24 Mar 2020 14:31:37 +0000 (10:31 -0400)]
ceph-container-nightly: update job naming

The ceph-container tests using ceph-ansible are using:
  - ceph_ansible-all_daemons
  - ceph_ansible-collocation
  - ceph_ansible-lvm_osds

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1531 from ceph/wip-buster-key
David Galloway [Mon, 23 Mar 2020 23:13:36 +0000 (19:13 -0400)]
Merge pull request #1531 from ceph/wip-buster-key

ansible: Install Buster GPG keys

5 years agosepia-fog-images: Run automatically every week wip-sepia-weekly 1532/head
David Galloway [Mon, 23 Mar 2020 19:35:57 +0000 (15:35 -0400)]
sepia-fog-images: Run automatically every week

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: Install Buster GPG keys 1531/head
David Galloway [Mon, 23 Mar 2020 18:23:49 +0000 (14:23 -0400)]
ansible: Install Buster GPG keys

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1526 from ceph/wip-dirs
David Galloway [Mon, 23 Mar 2020 17:17:50 +0000 (13:17 -0400)]
Merge pull request #1526 from ceph/wip-dirs

scripts: Support new directory structure in signing scripts

5 years agoMerge pull request #1344 from ThoreKr/debian-buster
David Galloway [Mon, 23 Mar 2020 15:55:39 +0000 (11:55 -0400)]
Merge pull request #1344 from ThoreKr/debian-buster

Debian buster support for releases