ceph-build.git
3 years agobuild_utils.sh: Don't build containers for luminous either wip-no-containers-luminous 1613/head
David Galloway [Fri, 10 Jul 2020 17:53:13 +0000 (13:53 -0400)]
build_utils.sh: Don't build containers for luminous either

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1611 from ceph/wip-nocentos6
Kefu Chai [Fri, 10 Jul 2020 02:10:19 +0000 (10:10 +0800)]
Merge pull request #1611 from ceph/wip-nocentos6

ceph-release-rpm: Drop centos6

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-release-rpm: Drop centos6 1611/head
David Galloway [Thu, 9 Jul 2020 20:31:08 +0000 (16:31 -0400)]
ceph-release-rpm: Drop centos6

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1609 from ceph/ceph_ansible_cephadm_adopt
Guillaume Abrioux [Thu, 9 Jul 2020 12:05:22 +0000 (14:05 +0200)]
Merge pull request #1609 from ceph/ceph_ansible_cephadm_adopt

ceph-ansible-prs: add cephadm_adopt scenario

3 years agoMerge pull request #1610 from ceph/ceph-ansible-docker-login
Guillaume Abrioux [Tue, 7 Jul 2020 15:14:53 +0000 (17:14 +0200)]
Merge pull request #1610 from ceph/ceph-ansible-docker-login

ceph-ansible: add docker hub credentials

3 years agoceph-ansible: add docker hub credentials 1610/head
Dimitri Savineau [Tue, 7 Jul 2020 15:10:00 +0000 (11:10 -0400)]
ceph-ansible: add docker hub credentials

To avoid to be rated limited by the docker.io registry when pulling the
ceph container image, we need to use an authenticated user.

https://docs.docker.com/docker-hub/download-rate-limit/

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoceph-ansible-prs: add cephadm_adopt scenario 1609/head
Dimitri Savineau [Mon, 6 Jul 2020 18:20:14 +0000 (14:20 -0400)]
ceph-ansible-prs: add cephadm_adopt scenario

This adds an optional cephadm_adopt scenario.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1607 from tchaikov/wip-no-nautilus-images
Kefu Chai [Fri, 3 Jul 2020 11:48:31 +0000 (19:48 +0800)]
Merge pull request #1607 from tchaikov/wip-no-nautilus-images

ceph-dev-*-build: reset CI_CONTAINER when building nautilus

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
3 years agoMerge pull request #1605 from tchaikov/wip-build-crimson-on-master
Kefu Chai [Fri, 3 Jul 2020 08:56:22 +0000 (16:56 +0800)]
Merge pull request #1605 from tchaikov/wip-build-crimson-on-master

ceph-dev-*: add crimson flavor for master build

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoceph-dev-*-build: reset CI_CONTAINER when building nautilus 1607/head
Kefu Chai [Thu, 2 Jul 2020 13:29:15 +0000 (21:29 +0800)]
ceph-dev-*-build: reset CI_CONTAINER when building nautilus

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-dev-*: add crimson flavor for master build 1605/head
Kefu Chai [Tue, 30 Jun 2020 09:29:02 +0000 (17:29 +0800)]
ceph-dev-*: add crimson flavor for master build

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1604 from ceph/wip-rmrfcontainer
David Galloway [Mon, 29 Jun 2020 15:45:47 +0000 (11:45 -0400)]
Merge pull request #1604 from ceph/wip-rmrfcontainer

ceph-dev*build: Delete ceph-container dir on failure

3 years agoceph-dev*build: Delete ceph-container dir on failure 1604/head
David Galloway [Mon, 29 Jun 2020 15:36:51 +0000 (11:36 -0400)]
ceph-dev*build: Delete ceph-container dir on failure

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1602 from rishabh-d-dave/cv-dont-run-simple-func-tests
Guillaume Abrioux [Mon, 29 Jun 2020 07:03:07 +0000 (09:03 +0200)]
Merge pull request #1602 from rishabh-d-dave/cv-dont-run-simple-func-tests

ceph-volume: don't run simple func tests against PRs

3 years agoMerge pull request #1596 from tchaikov/wip-chacracl-0.0.21
Kefu Chai [Sun, 28 Jun 2020 03:09:29 +0000 (11:09 +0800)]
Merge pull request #1596 from tchaikov/wip-chacracl-0.0.21

s/chacractl>=0.0.4/chacractl>=0.0.21/

Reviewed-by: Justin Caratzas <justin.caratzas@gmail.com>
3 years agoMerge pull request #1603 from sebastian-philipp/ceph-dev-new-build-mandatory-containers
David Galloway [Fri, 26 Jun 2020 14:32:23 +0000 (10:32 -0400)]
Merge pull request #1603 from sebastian-philipp/ceph-dev-new-build-mandatory-containers

ceph-dev-new-build: fail, if building containers fail

3 years agoceph-dev-new-build: fail, if building containers fail 1603/head
Sebastian Wagner [Thu, 25 Jun 2020 12:22:02 +0000 (14:22 +0200)]
ceph-dev-new-build: fail, if building containers fail

This avoids:

* unnecessary breakages in the master branch
* unnecessary pulpito runs due to failing containers

Let's fail early, instead of later in the pulpilto runs.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
3 years agoceph-volume: don't run simple func tests for PRs 1602/head
Rishabh Dave [Wed, 24 Jun 2020 05:50:24 +0000 (11:20 +0530)]
ceph-volume: don't run simple func tests for PRs

Since "simple" functional tests are meant to test that ceph-volume
successfully takes over ceph-disk deployed OSDs.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #1601 from ceph/revert_container_nightly_changes
Dimitri Savineau [Tue, 23 Jun 2020 17:03:24 +0000 (13:03 -0400)]
Merge pull request #1601 from ceph/revert_container_nightly_changes

container: revert flavors/releases update

3 years agocontainer: revert flavors/releases update 1601/head
Dimitri Savineau [Tue, 23 Jun 2020 16:31:59 +0000 (12:31 -0400)]
container: revert flavors/releases update

We can do this kind of changes directly in ceph-container instead of
doing some kind of hack.

https://github.com/ceph/ceph-container/pull/1696

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1600 from ceph/container_nightly_flavors
Dimitri Savineau [Tue, 23 Jun 2020 15:19:13 +0000 (11:19 -0400)]
Merge pull request #1600 from ceph/container_nightly_flavors

container: update nighly flavors

3 years agocontainer: update nighly flavors 1600/head
Dimitri Savineau [Tue, 23 Jun 2020 15:11:42 +0000 (11:11 -0400)]
container: update nighly flavors

In addition of 61b7b619 we also need to update the FLAVORS env variable.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1599 from ceph/container_nightly_update
Dimitri Savineau [Tue, 23 Jun 2020 14:53:00 +0000 (10:53 -0400)]
Merge pull request #1599 from ceph/container_nightly_update

container: update devel nightly list

3 years agocontainer: update devel nightly list 1599/head
Dimitri Savineau [Tue, 23 Jun 2020 14:39:20 +0000 (10:39 -0400)]
container: update devel nightly list

We don't need to build luminous and mimic devel anymore.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1598 from tchaikov/wip-stop-building-wip-branches-on-el7
Kefu Chai [Tue, 23 Jun 2020 01:39:48 +0000 (09:39 +0800)]
Merge pull request #1598 from tchaikov/wip-stop-building-wip-branches-on-el7

ceph-dev-trigger: stop building wip-* on el7

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoceph-dev-trigger: stop building wip-* on el7 1598/head
Kefu Chai [Tue, 23 Jun 2020 01:27:48 +0000 (09:27 +0800)]
ceph-dev-trigger: stop building wip-* on el7

it's a follow-up of f57a522325a61ab8de3a2817729013f7f4a96177

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1597 from tchaikov/wip-no-more-master-on-el7
David Galloway [Mon, 22 Jun 2020 15:34:37 +0000 (11:34 -0400)]
Merge pull request #1597 from tchaikov/wip-no-more-master-on-el7

ceph-dev-trigger: stop building master on el7

3 years agoceph-dev-trigger: stop building master on el7 1597/head
Kefu Chai [Mon, 22 Jun 2020 15:18:05 +0000 (23:18 +0800)]
ceph-dev-trigger: stop building master on el7

as we already have octopus build for el7, which is suffice for preparing
user of older release on el7 to upgrade to octopus, and laster octopus
on el8 or containerized deployment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agos/chacractl>=0.0.4/chacractl>=0.0.21/ 1596/head
Kefu Chai [Mon, 22 Jun 2020 12:23:41 +0000 (20:23 +0800)]
s/chacractl>=0.0.4/chacractl>=0.0.21/

chacractl v0.0.21 is python3 compatible, let's use chacractl>=0.0.21, so
no need to install python2 just for using chacractl!

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1595 from ceph/private-tserlin-nfs-ganesha-PowerTools-remove-sed
Ali Maredia [Sun, 21 Jun 2020 19:30:10 +0000 (15:30 -0400)]
Merge pull request #1595 from ceph/private-tserlin-nfs-ganesha-PowerTools-remove-sed

nfs-ganesha: enable PowerTools repo for CentOS 8; remove sed hack

3 years agonfs-ganesha: enable PowerTools repo for CentOS 8; remove sed hack private-tserlin-nfs-ganesha-PowerTools-remove-sed 1595/head
Thomas Serlin [Fri, 19 Jun 2020 23:19:54 +0000 (19:19 -0400)]
nfs-ganesha: enable PowerTools repo for CentOS 8; remove sed hack

The CentOS 8 PowerTools repo is disabled by default, but we need
it for a few *-devel packages.

Also, the sed hack for adding the libacl-devel package is no longer
needed. The change was merged upstream:

https://github.com/nfs-ganesha/nfs-ganesha/commit/8f01a5df9dbcdad6c501efb929a711c3ba6a6b4c

3 years agoMerge pull request #1592 from ceph/wip-newquay
David Galloway [Wed, 17 Jun 2020 12:39:09 +0000 (08:39 -0400)]
Merge pull request #1592 from ceph/wip-newquay

ceph-dev*/quay*: Use our own quay.ceph.io registry

3 years agoMerge pull request #1590 from tchaikov/wip-nautilus-el8
Kefu Chai [Wed, 17 Jun 2020 00:57:33 +0000 (08:57 +0800)]
Merge pull request #1590 from tchaikov/wip-nautilus-el8

ceph-dev-new-trigger: build nautilus on el8 also

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev*/quay*: Use our own quay.ceph.io registry 1592/head
David Galloway [Tue, 16 Jun 2020 21:32:53 +0000 (17:32 -0400)]
ceph-dev*/quay*: Use our own quay.ceph.io registry

This will have to be overridden in ceph.git/qa as well.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1589 from ceph/private-tserlin-nfs-ganesha-enable-el8
Ali Maredia [Tue, 16 Jun 2020 17:42:13 +0000 (13:42 -0400)]
Merge pull request #1589 from ceph/private-tserlin-nfs-ganesha-enable-el8

nfs-ganesha: enable CentOS 8 builds, other fixes

3 years agoMerge pull request #1591 from ceph/private-tserlin-nfs-ganesha-stable-enable-el8
Ali Maredia [Tue, 16 Jun 2020 17:40:31 +0000 (13:40 -0400)]
Merge pull request #1591 from ceph/private-tserlin-nfs-ganesha-stable-enable-el8

nfs-ganesha-stable: Enable CentOS 8 builds of the stable branches of nfs-ganesha

3 years agonfs-ganesha-stable: Enable CentOS 8 builds; other fixes private-tserlin-nfs-ganesha-stable-enable-el8 1591/head
Thomas Serlin [Tue, 16 Jun 2020 16:44:02 +0000 (12:44 -0400)]
nfs-ganesha-stable: Enable CentOS 8 builds; other fixes

We also needed other fixes to the build script to account for both
el8/el7 builds, as well as handling for the newer version of "mock"
which now uses templates.

3 years agoceph-dev-new-trigger: build nautilus on el8 also 1590/head
Kefu Chai [Tue, 16 Jun 2020 09:42:37 +0000 (17:42 +0800)]
ceph-dev-new-trigger: build nautilus on el8 also

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agonfs-ganesha: enable CentOS 8 builds, other fixes private-tserlin-nfs-ganesha-enable-el8 1589/head
Thomas Serlin [Tue, 16 Jun 2020 07:27:52 +0000 (03:27 -0400)]
nfs-ganesha: enable CentOS 8 builds, other fixes

Enable CentOS 8 builds of the "next" branch of nfs-ganesha.

We also needed other fixes to the build script to account for both
el8/el7 builds, as well as handling for the newer version of "mock"
which now uses templates.

3 years agoMerge pull request #1587 from ceph/wip-fixrsync
David Galloway [Thu, 11 Jun 2020 21:13:26 +0000 (17:13 -0400)]
Merge pull request #1587 from ceph/wip-fixrsync

ceph-website: Fix typo in rsync command

3 years agoceph-website: Fix typo in rsync command 1587/head
David Galloway [Thu, 11 Jun 2020 21:13:01 +0000 (17:13 -0400)]
ceph-website: Fix typo in rsync command

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1586 from ceph/wip-adam
David Galloway [Thu, 11 Jun 2020 16:16:12 +0000 (12:16 -0400)]
Merge pull request #1586 from ceph/wip-adam

ceph-website: white-list adamduncan

3 years agoceph-website: white-list adamduncan 1586/head
David Galloway [Thu, 11 Jun 2020 16:13:27 +0000 (12:13 -0400)]
ceph-website: white-list adamduncan

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1585 from ceph/wip-slashes
David Galloway [Thu, 11 Jun 2020 16:06:39 +0000 (12:06 -0400)]
Merge pull request #1585 from ceph/wip-slashes

ceph-website: Support GIT_BRANCH with multiple slashes

3 years agoceph-website: Support GIT_BRANCH with multiple slashes 1585/head
David Galloway [Thu, 11 Jun 2020 16:02:16 +0000 (12:02 -0400)]
ceph-website: Support GIT_BRANCH with multiple slashes

The SoftIron folks like to use branch names like 'origin/feature/multingual' so let's support that.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1583 from callithea/ceph-dashboard-pr-backend
Laura Paduano [Mon, 8 Jun 2020 12:26:29 +0000 (14:26 +0200)]
Merge pull request #1583 from callithea/ceph-dashboard-pr-backend

ceph-dashboard-pr-backend: Target nautilus too

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-dashboard-pr-backend: Target nautilus too 1583/head
Laura Paduano [Mon, 8 Jun 2020 08:45:55 +0000 (10:45 +0200)]
ceph-dashboard-pr-backend: Target nautilus too

Signed-off-by: Laura Paduano <lpaduano@suse.com>
3 years agoMerge pull request #1582 from tchaikov/wip-apt-present
Kefu Chai [Wed, 3 Jun 2020 07:59:25 +0000 (15:59 +0800)]
Merge pull request #1582 from tchaikov/wip-apt-present

ceph-deploy-pull-requests: s/installed/present/

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-deploy-pull-requests: drop state parameter 1582/head
Kefu Chai [Wed, 3 Jun 2020 07:34:39 +0000 (15:34 +0800)]
ceph-deploy-pull-requests: drop state parameter

since state is "present" by default, there is no need to specify it
explicitly:
see
https://docs.ansible.com/ansible/latest/modules/apt_module.html#parameters

the desired package state should be "present" instead of "installed".

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1577 from ceph/wip-dash-ansi
David Galloway [Tue, 2 Jun 2020 15:49:10 +0000 (11:49 -0400)]
Merge pull request #1577 from ceph/wip-dash-ansi

ceph-dashboard: Enable ansicolor plugin

3 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>
3 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>
3 years agoceph-dashboard/ceph-prs: Enable ansicolor plugin 1577/head
David Galloway [Mon, 1 Jun 2020 21:22:06 +0000 (17:22 -0400)]
ceph-dashboard/ceph-prs: Enable ansicolor plugin

Ernesto requested this via e-mail

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

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

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

3 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

3 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

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

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

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

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

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

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

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

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

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

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