]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
6 years agoceph-dev-build: add osc build scripts
Kyr Shatskyy [Wed, 14 Aug 2019 17:41:08 +0000 (19:41 +0200)]
ceph-dev-build: add osc build scripts

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agovalidate_rpm: reuse rpm validation from another project
Kyr Shatskyy [Wed, 14 Aug 2019 17:06:21 +0000 (19:06 +0200)]
validate_rpm: reuse rpm validation from another project

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoosc: add osc related scripts:
Kyr Shatskyy [Mon, 12 Aug 2019 17:06:55 +0000 (19:06 +0200)]
osc: add osc related scripts:
- validate_osc
- setup_osc
- build_osc
Supposed for adding them later to ceph-dev-new-build or ceph-dev-build

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1361 from ceph/wip-release-from-version
David Galloway [Thu, 15 Aug 2019 12:51:06 +0000 (08:51 -0400)]
Merge pull request #1361 from ceph/wip-release-from-version

build_utils: add release from version

6 years agobuild_utils: use virtualenv -p python2.7 instead virtualenv 1361/head
Kyr Shatskyy [Mon, 12 Aug 2019 21:00:11 +0000 (23:00 +0200)]
build_utils: use virtualenv -p python2.7 instead virtualenv

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agobuild_utils: fix get_rpm_dist openSUSE detection
Kyr Shatskyy [Mon, 12 Aug 2019 19:22:40 +0000 (21:22 +0200)]
build_utils: fix get_rpm_dist openSUSE detection

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agobuild_utils: add release from version function
Kyr Shatskyy [Mon, 12 Aug 2019 22:31:16 +0000 (00:31 +0200)]
build_utils: add release from version function

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1359 from ceph/wip-leap15-slave
David Galloway [Wed, 14 Aug 2019 17:38:44 +0000 (13:38 -0400)]
Merge pull request #1359 from ceph/wip-leap15-slave

ansible/slave: add opensuse leap15 osc support

6 years agoansible/slave: add opensuse leap15 osc support 1359/head
Kyr Shatskyy [Fri, 2 Aug 2019 00:18:38 +0000 (02:18 +0200)]
ansible/slave: add opensuse leap15 osc support

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1360 from ceph/wip-tserlin-nfs-ganesha-disable-xenial
Ali Maredia [Tue, 13 Aug 2019 17:33:09 +0000 (13:33 -0400)]
Merge pull request #1360 from ceph/wip-tserlin-nfs-ganesha-disable-xenial

nfs-ganesha: don't build on xenial

6 years agonfs-ganesha: don't build on xenial 1360/head
Thomas Serlin [Tue, 13 Aug 2019 17:20:24 +0000 (13:20 -0400)]
nfs-ganesha: don't build on xenial

Ceph no longer builds its master branch on Xenial. See:
https://github.com/ceph/ceph-build/pull/1345

So we can no longer build the latest nfs-ganesha V2.9-dev on Xenial.

6 years agoMerge pull request #1357 from tchaikov/wip-ceph-pr-docs/python3
Alfredo Deza [Fri, 9 Aug 2019 15:16:39 +0000 (11:16 -0400)]
Merge pull request #1357 from tchaikov/wip-ceph-pr-docs/python3

ceph-pr-docs: install python3 packages

6 years agoMerge pull request #1355 from ceph/fix-validate
David Galloway [Wed, 7 Aug 2019 18:55:12 +0000 (14:55 -0400)]
Merge pull request #1355 from ceph/fix-validate

ceph-dev-build: fix deb and rpm validate

6 years agoceph-pr-docs: install python3 packages 1357/head
Kefu Chai [Wed, 7 Aug 2019 10:23:55 +0000 (18:23 +0800)]
ceph-pr-docs: install python3 packages

see also https://github.com/ceph/ceph/pull/29528

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-build: fix deb and rpm validate 1355/head
Kyr Shatskyy [Thu, 1 Aug 2019 22:04:37 +0000 (00:04 +0200)]
ceph-dev-build: fix deb and rpm validate

validate_deb - not redhat does not mean it is deb distro,
there can be other packaging systems
validate_rpm - we do not want to proceed for zypper based,
we only want to proceed for redhat like repo

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1346 from ceph/nfs_ganesha_disable_lizardfs
Guillaume Abrioux [Wed, 31 Jul 2019 13:57:21 +0000 (15:57 +0200)]
Merge pull request #1346 from ceph/nfs_ganesha_disable_lizardfs

nfs-ganesha: Disable LizardFS FSAL

6 years agoMerge pull request #1350 from ceph/guits-remove-dashboard
Guillaume Abrioux [Mon, 29 Jul 2019 06:27:34 +0000 (08:27 +0200)]
Merge pull request #1350 from ceph/guits-remove-dashboard

ceph-ansible: remove dashboard scenarios

6 years agoceph-ansible: remove dashboard scenarios 1350/head
Guillaume Abrioux [Fri, 26 Jul 2019 08:56:16 +0000 (10:56 +0200)]
ceph-ansible: remove dashboard scenarios

since dashboard is enabled by default, we test it in all_daemons
scenario.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1349 from tchaikov/wip-grep-cleanup
David Galloway [Fri, 26 Jul 2019 14:22:20 +0000 (10:22 -0400)]
Merge pull request #1349 from tchaikov/wip-grep-cleanup

ceph-dev-new-trigger: only use positive match for filter

6 years agoMerge pull request #1354 from tchaikov/wip-pin-jjb
Kefu Chai [Fri, 26 Jul 2019 13:23:51 +0000 (21:23 +0800)]
Merge pull request #1354 from tchaikov/wip-pin-jjb

ceph-build-pull-requests: ping jjb to 2.10.1

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-build-pull-requests: ping jjb to 2.10.1 1354/head
Kefu Chai [Fri, 26 Jul 2019 12:39:55 +0000 (20:39 +0800)]
ceph-build-pull-requests: ping jjb to 2.10.1

jjb 3.0 brings some incompatible behavior:

* it tries to expand the strings like ${FOO} using the parameters,
  so if we continue using include-raw, jjb test will fail like

```
Failure formatting job
....
ERROR:root:Failure formatting job '{
with itself
Traceback (most recent call last):
...
  File
"/tmp/venv.Pa7CUfDCFK/local/lib/python2.7/site-packages/jenkins_jobs/formatter.py",
line 43, in deep_format
    raise JenkinsJobsException(desc)
jenkins_jobs.errors.JenkinsJobsException:
...
...
TEMPVENV=$(mktemp -td venv.XXXXXXXXXX)
```
* also, it fails to pass down some parameters to the build job, for
  instance, the `WORKSPACE` is not passed anymore.

both these change break the "test" job, as we are using `include-raw`
everywhere, and we also use `${WORKSAPCE}` in some yml files.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1352 from tchaikov/wip-include-raw
Alfredo Deza [Fri, 26 Jul 2019 13:17:55 +0000 (09:17 -0400)]
Merge pull request #1352 from tchaikov/wip-include-raw

s/!include-raw/!include-raw:/

6 years agos/!include-raw/!include-raw:/ 1352/head
Kefu Chai [Fri, 26 Jul 2019 12:54:15 +0000 (20:54 +0800)]
s/!include-raw/!include-raw:/

the former is deprecated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new-trigger: only use positive match for filter 1349/head
Kefu Chai [Fri, 26 Jul 2019 02:55:25 +0000 (10:55 +0800)]
ceph-dev-new-trigger: only use positive match for filter

there is no need to put
```
grep -v '\(jewel\|kraken\|luminous\)' | grep '\(mimic\|nautilus\)'
```

as we are not likely to have both "jewel" and "mimic" in a branch name.

this change is a follow-up of the discussion when reviewing #1345

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1347 from ceph/jan--f-add-notifications
Alfredo Deza [Wed, 24 Jul 2019 17:29:10 +0000 (13:29 -0400)]
Merge pull request #1347 from ceph/jan--f-add-notifications

add Jans email for nightly notifications

6 years agoMerge branch 'master' into jan--f-add-notifications 1347/head
Andrew Schoen [Wed, 24 Jul 2019 16:28:50 +0000 (11:28 -0500)]
Merge branch 'master' into jan--f-add-notifications

6 years agoMerge pull request #1348 from ceph/master-fix
David Galloway [Wed, 24 Jul 2019 15:41:53 +0000 (11:41 -0400)]
Merge pull request #1348 from ceph/master-fix

ceph-dev-trigger: add missing escape for grep on master

6 years agoceph-dev-trigger: add missing escape for grep on master 1348/head
Alfredo Deza [Wed, 24 Jul 2019 15:35:32 +0000 (11:35 -0400)]
ceph-dev-trigger: add missing escape for grep on master

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoadd Jans email for nightly notifications
Jan Fajerski [Wed, 24 Jul 2019 14:53:46 +0000 (16:53 +0200)]
add Jans email for nightly notifications

6 years agoMerge pull request #1345 from ceph/rm-xenial
Alfredo Deza [Tue, 23 Jul 2019 15:47:38 +0000 (11:47 -0400)]
Merge pull request #1345 from ceph/rm-xenial

ceph-dev-*: remove xenial for master and octopus

6 years agoceph-dev-trigger: add conditional step for master and octopus 1345/head
Alfredo Deza [Fri, 19 Jul 2019 17:17:42 +0000 (13:17 -0400)]
ceph-dev-trigger: add conditional step for master and octopus

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-dev-new-trigger: remove xenial for master and development branches
Alfredo Deza [Thu, 18 Jul 2019 20:17:37 +0000 (16:17 -0400)]
ceph-dev-new-trigger: remove xenial for master and development branches

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agonfs-ganesha: Disable LizardFS FSAL 1346/head
Dimitri Savineau [Tue, 23 Jul 2019 14:49:21 +0000 (10:49 -0400)]
nfs-ganesha: Disable LizardFS FSAL

LizardFS FSAL has been added in [1] and it's enabled by default. This
is currently failing in the CI.

CMake Error at CMakeLists.txt:595 (message):
  STRICT_PACKAGE: Cannot find LizardFS client lib.  Disabling lizardfs fsal

This patch configures the USE_FSAL_LIZARDFS option to OFF.

[1] https://github.com/nfs-ganesha/nfs-ganesha/commit/884ec97

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
6 years agoMerge pull request #1329 from ceph/ceph_container_nightly_devel_build
Sébastien Han [Wed, 17 Jul 2019 15:11:40 +0000 (17:11 +0200)]
Merge pull request #1329 from ceph/ceph_container_nightly_devel_build

Add ceph container nightly devel build job

6 years agoMerge branch 'master' into ceph_container_nightly_devel_build 1329/head
Sébastien Han [Wed, 17 Jul 2019 15:07:46 +0000 (17:07 +0200)]
Merge branch 'master' into ceph_container_nightly_devel_build

6 years agoMerge pull request #1342 from ceph/ceph-volume-nautilus
Andrew Schoen [Wed, 10 Jul 2019 21:38:01 +0000 (16:38 -0500)]
Merge pull request #1342 from ceph/ceph-volume-nautilus

ceph-volume-test: adds on-evaluation-failure to the simple build step

6 years agoceph-volume-test: adds on-evaluation-failure to the simple build step ceph-volume-nautilus 1342/head
Andrew Schoen [Wed, 10 Jul 2019 21:25:24 +0000 (16:25 -0500)]
ceph-volume-test: adds on-evaluation-failure to the simple build step

This makes the job skip the simple tests if the condition fails instead
of failing the run.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #1339 from ceph/ceph_ansible_nightly_registry_pagesize
Guillaume Abrioux [Wed, 10 Jul 2019 20:22:33 +0000 (22:22 +0200)]
Merge pull request #1339 from ceph/ceph_ansible_nightly_registry_pagesize

ceph-ansible-nightly: update tags pagination

6 years agoMerge branch 'master' into ceph_ansible_nightly_registry_pagesize 1339/head
Dimitri Savineau [Wed, 10 Jul 2019 20:15:28 +0000 (16:15 -0400)]
Merge branch 'master' into ceph_ansible_nightly_registry_pagesize

6 years agoMerge pull request #1341 from ceph/ceph-volume-nautilus
Andrew Schoen [Wed, 10 Jul 2019 19:12:09 +0000 (14:12 -0500)]
Merge pull request #1341 from ceph/ceph-volume-nautilus

ceph-volume-test: only run simple tests for luminous and mimic

6 years agoceph-volume-test: only run simple tests for luminous and mimic 1341/head
Andrew Schoen [Wed, 10 Jul 2019 17:54:03 +0000 (12:54 -0500)]
ceph-volume-test: only run simple tests for luminous and mimic

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #1340 from ceph/ceph-volume-nautilus
Andrew Schoen [Wed, 10 Jul 2019 16:27:12 +0000 (11:27 -0500)]
Merge pull request #1340 from ceph/ceph-volume-nautilus

ceph-volume: fix logic when deciding to run simple tests

6 years agoceph-volume: fix logic when deciding to run simple tests 1340/head
Andrew Schoen [Wed, 10 Jul 2019 16:22:52 +0000 (11:22 -0500)]
ceph-volume: fix logic when deciding to run simple tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-ansible-nightly: update tags pagination
Dimitri Savineau [Wed, 10 Jul 2019 16:14:15 +0000 (12:14 -0400)]
ceph-ansible-nightly: update tags pagination

Set the page size to 100 instead of 10 (default).
Also we should add an extra page when the remainder of the modulo
operation between the tag count and page size isn't zero.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
6 years agoMerge pull request #1337 from ceph/guits-install_jq
David Galloway [Wed, 10 Jul 2019 15:25:08 +0000 (11:25 -0400)]
Merge pull request #1337 from ceph/guits-install_jq

jjb: install jq package

6 years agojjb: actually fail if a command doesn't return 0 1337/head
Guillaume Abrioux [Wed, 10 Jul 2019 08:47:53 +0000 (10:47 +0200)]
jjb: actually fail if a command doesn't return 0

this sets `-euxo pipefail` to avoid this situation :

```
++ sort
++ grep -v jenkins-job-builder
++ jq -r '.jobs[].name'
/tmp/jenkins7521600802673204021.sh: line 1043: jq: command not found
++ curl -s https://2.jenkins.ceph.com/api/json
[PostBuildScript] - Executing post build scripts.
[jenkins-job-builder] $ /bin/sh -xe /tmp/jenkins7309655147676749318.sh
+ rm /home/jenkins-build/.jenkins_jobs.2.jenkins.ceph.com.ini
Finished: SUCCESS
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1338 from ceph/guits-containers_releases
Sébastien Han [Wed, 10 Jul 2019 09:50:13 +0000 (11:50 +0200)]
Merge pull request #1338 from ceph/guits-containers_releases

ceph-ansible: make it possible to run nighly job on custom branch

6 years agoceph-ansible: make it possible to run nighly job on custom branch 1338/head
Guillaume Abrioux [Wed, 10 Jul 2019 09:35:18 +0000 (11:35 +0200)]
ceph-ansible: make it possible to run nighly job on custom branch

When running manually a nightly containerized job against a custom branch of
ceph-ansible, it fails because `CEPH_DOCKER_IMAGE_TAG` is not set.

Typical error:
```
+ case "$CEPH_ANSIBLE_BRANCH" in
+ CEPH_DOCKER_IMAGE_TAG=
+ '[' -n '' ']'
Build step 'Execute shell' marked build as failure
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1336 from ceph/guits-remove_oldstable_jobs
Guillaume Abrioux [Wed, 10 Jul 2019 08:19:13 +0000 (10:19 +0200)]
Merge pull request #1336 from ceph/guits-remove_oldstable_jobs

ceph-ansible: remove old stable jobs

6 years agoceph-ansible: remove old stable jobs 1336/head
Guillaume Abrioux [Wed, 10 Jul 2019 08:14:50 +0000 (10:14 +0200)]
ceph-ansible: remove old stable jobs

This commit removes the (very) old stable jobs.
These jobs can't be launched, we have to use the new matrix.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1335 from ceph/guits-ubuntu_def
Guillaume Abrioux [Wed, 10 Jul 2019 08:04:11 +0000 (10:04 +0200)]
Merge pull request #1335 from ceph/guits-ubuntu_def

ceph-ansible: remove unused ubuntu jobs

6 years agoceph-ansible: remove unused ubuntu jobs 1335/head
Guillaume Abrioux [Wed, 10 Jul 2019 07:58:42 +0000 (09:58 +0200)]
ceph-ansible: remove unused ubuntu jobs

This commit removes some ubuntu job definition which are unused.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1333 from ceph/wip-ok-dan
David Galloway [Tue, 9 Jul 2019 21:11:44 +0000 (17:11 -0400)]
Merge pull request #1333 from ceph/wip-ok-dan

ceph-dev-*: Clarify job descriptions

6 years agoceph-dev-*: Clarify job descriptions 1333/head
David Galloway [Tue, 9 Jul 2019 20:54:01 +0000 (16:54 -0400)]
ceph-dev-*: Clarify job descriptions

Signed-off-by: David Galloway <dgallowa@redhat.com>
6 years agoMerge pull request #1332 from ceph/ceph-volume-nautilus
Alfredo Deza [Tue, 9 Jul 2019 20:23:50 +0000 (16:23 -0400)]
Merge pull request #1332 from ceph/ceph-volume-nautilus

ceph-volume: only test simple on mimic and luminous branches

6 years agoceph-volume: only test simple on mimic and luminous branches 1332/head
Andrew Schoen [Tue, 9 Jul 2019 20:02:32 +0000 (15:02 -0500)]
ceph-volume: only test simple on mimic and luminous branches

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #1331 from ceph/ceph-volume-nautilus
Alfredo Deza [Tue, 9 Jul 2019 14:53:48 +0000 (10:53 -0400)]
Merge pull request #1331 from ceph/ceph-volume-nautilus

ceph-volume: add nautilus to nightly testing

6 years agoceph-volume: add nautilus to nightly testing 1331/head
Andrew Schoen [Tue, 9 Jul 2019 14:12:40 +0000 (09:12 -0500)]
ceph-volume: add nautilus to nightly testing

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #1330 from tchaikov/wip-40646
Kefu Chai [Tue, 9 Jul 2019 14:36:17 +0000 (22:36 +0800)]
Merge pull request #1330 from tchaikov/wip-40646

ceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
6 years agoceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1 1330/head
Kefu Chai [Thu, 4 Jul 2019 06:31:55 +0000 (14:31 +0800)]
ceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1

Fixes: http://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoAdd ceph container nightly devel build job
Dimitri Savineau [Tue, 2 Jul 2019 15:42:39 +0000 (11:42 -0400)]
Add ceph container nightly devel build job

The ceph container images are only built on github event and also based
on stable ceph content.
We can also have nightly builds with ceph developement content from
shaman/chacra.

See https://github.com/ceph/ceph-container/pull/1411

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
6 years agoMerge pull request #1327 from rishabh-d-dave/add-shrink_rgw-to-CI
Dimitri Savineau [Fri, 28 Jun 2019 15:08:56 +0000 (11:08 -0400)]
Merge pull request #1327 from rishabh-d-dave/add-shrink_rgw-to-CI

ceph-ansible: add shrink_rgw scenario test to CI

6 years agoMerge branch 'master' into add-shrink_rgw-to-CI 1327/head
Dimitri Savineau [Fri, 28 Jun 2019 15:01:45 +0000 (11:01 -0400)]
Merge branch 'master' into add-shrink_rgw-to-CI

6 years agoMerge pull request #1328 from tchaikov/wip-gcc-9-is-nice-but
Brad Hubbard [Fri, 28 Jun 2019 05:35:09 +0000 (15:35 +1000)]
Merge pull request #1328 from tchaikov/wip-gcc-9-is-nice-but

scripts/build_utils.sh: only use GCC-9 for building crimson

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoscripts/build_utils.sh: only use GCC-9 for building crimson 1328/head
Kefu Chai [Fri, 28 Jun 2019 03:07:22 +0000 (11:07 +0800)]
scripts/build_utils.sh: only use GCC-9 for building crimson

using GCC-9 for building mimic and other stable releases has following
consequences:

* it brings runtime dependencies of libstdc++ runtime shipped along with
  GCC-9
* GCC-9 is more picky, so some 3rd party libraries fail to build due to
  -Werror.

let's continue using GCC-8 on bionic when building non-crimson flavors

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-ansible: add shrink_rgw scenario test to CI
Rishabh Dave [Wed, 26 Jun 2019 08:33:07 +0000 (14:03 +0530)]
ceph-ansible: add shrink_rgw scenario test to CI

Add shrink_rgw scenario to CI so that it can be tested against master
and nautilus.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1326 from rishabh-d-dave/remove-shrink_mds-from-oldstable
Guillaume Abrioux [Wed, 26 Jun 2019 06:19:55 +0000 (08:19 +0200)]
Merge pull request #1326 from rishabh-d-dave/remove-shrink_mds-from-oldstable

ceph-ansible: remove shrink_mds from oldstable

6 years agoMerge branch 'master' into remove-shrink_mds-from-oldstable 1326/head
Guillaume Abrioux [Wed, 26 Jun 2019 06:15:02 +0000 (08:15 +0200)]
Merge branch 'master' into remove-shrink_mds-from-oldstable

6 years agoMerge pull request #1325 from rishabh-d-dave/add-shrink_rbdmirror-to-CI
Guillaume Abrioux [Wed, 26 Jun 2019 06:14:42 +0000 (08:14 +0200)]
Merge pull request #1325 from rishabh-d-dave/add-shrink_rbdmirror-to-CI

ceph-ansible: add shrink_rbdmirror to CI

6 years agoceph-ansible: remove shrink_mds from oldstable
Rishabh Dave [Wed, 26 Jun 2019 03:50:49 +0000 (09:20 +0530)]
ceph-ansible: remove shrink_mds from oldstable

We don't need to run shrink_mds against "oldstable" releases.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoceph-ansible: add shrink_rbdmirror to CI 1325/head
Rishabh Dave [Wed, 26 Jun 2019 03:46:19 +0000 (09:16 +0530)]
ceph-ansible: add shrink_rbdmirror to CI

Add shrink_rbdmirror scenario to CI so that it can be tested against
master and nautilus.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1324 from rishabh-d-dave/add-shrink_mgr-to-CI
Guillaume Abrioux [Mon, 24 Jun 2019 13:24:10 +0000 (15:24 +0200)]
Merge pull request #1324 from rishabh-d-dave/add-shrink_mgr-to-CI

ceph-ansible: add shrink_mgr scenario to CI

6 years agoceph-ansible: add shrink_mgr scenario to CI 1324/head
Rishabh Dave [Fri, 21 Jun 2019 15:02:36 +0000 (20:32 +0530)]
ceph-ansible: add shrink_mgr scenario to CI

Add shrink_mgr scenario to CI so that it can be tested against master
and nautilus.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1323 from ceph/guits-use_start_tox
Dimitri Savineau [Thu, 20 Jun 2019 13:37:06 +0000 (09:37 -0400)]
Merge pull request #1323 from ceph/guits-use_start_tox

ceph-ansible: build job name properly

6 years agoceph-ansible: build job name properly 1323/head
Guillaume Abrioux [Thu, 20 Jun 2019 13:30:19 +0000 (15:30 +0200)]
ceph-ansible: build job name properly

Since tox.ini file has been split, this is needed to be able to run the
individual scenario testing. Those parameters are used to build the job
name passed to start_tox() function.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1322 from ceph/guits-use_start_tox
Guillaume Abrioux [Thu, 20 Jun 2019 12:55:00 +0000 (14:55 +0200)]
Merge pull request #1322 from ceph/guits-use_start_tox

ceph-ansible: use start_tox function in ansible-scenario job

6 years agoceph-ansible: use start_tox function in ansible-scenario job 1322/head
Guillaume Abrioux [Thu, 20 Jun 2019 12:50:48 +0000 (14:50 +0200)]
ceph-ansible: use start_tox function in ansible-scenario job

otherwise it always tries to run scenario using tox.ini only.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1320 from rishabh-d-dave/add-shrink_mds-to-CI
Guillaume Abrioux [Tue, 18 Jun 2019 09:47:16 +0000 (11:47 +0200)]
Merge pull request #1320 from rishabh-d-dave/add-shrink_mds-to-CI

add shrink_mds scenario to CI

6 years agoadd shrink_mds scenario to CI 1320/head
Rishabh Dave [Mon, 17 Jun 2019 15:14:28 +0000 (20:44 +0530)]
add shrink_mds scenario to CI

Add shrink_mds scenario to CI so that it can be tested against master.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1319 from tchaikov/wip-1315
Kefu Chai [Mon, 17 Jun 2019 08:01:05 +0000 (16:01 +0800)]
Merge pull request #1319 from tchaikov/wip-1315

ceph-dev-new-setup: missing pieces in PR#1315

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoscripts/build_utils.sh: add missing closing quote 1319/head
Kefu Chai [Mon, 17 Jun 2019 07:39:03 +0000 (15:39 +0800)]
scripts/build_utils.sh: add missing closing quote

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new-setup: pass "--with seastar" to rpmbuild for crimson flavor build
Kefu Chai [Mon, 17 Jun 2019 07:34:10 +0000 (15:34 +0800)]
ceph-dev-new-setup: pass "--with seastar" to rpmbuild for crimson flavor build

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts/build_utils.sh: dyna link against libgcc when building crimson
Kefu Chai [Fri, 14 Jun 2019 02:38:39 +0000 (10:38 +0800)]
scripts/build_utils.sh: dyna link against libgcc when building crimson

as seastar requires dynamic linkage of libgcc, see the comment for more
details. see also

https://github.com/scylladb/seastar/blob/master/src/core/exception_hacks.cc

without this change, we will have errors like:

/usr/lib/gcc/x86_64-linux-gnu/9/libgcc_eh.a(unwind-dw2.o): In function
`_Unwind_RaiseException':
(.text+0x24b0): multiple definition of `_Unwind_RaiseException'
../../../lib/libseastar.a(exception_hacks.cc.o):./obj-x86_64-linux-gnu/src/seastar/./src/seastar/include/seastar/core/future.hh:738:
first defined here
collect2: error: ld returned 1 exit status
src/test/crimson/CMakeFiles/unittest_seastar_lru.dir/build.make:140:
recipe for target 'bin/unittest_seastar_lru' failed

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts/build_utils.sh: install gnupg
Kefu Chai [Thu, 13 Jun 2019 10:01:26 +0000 (18:01 +0800)]
scripts/build_utils.sh: install gnupg

so that `apt-key add -` can import the pubkey

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new-setup: move "git diff" before install-deps.sh
Kefu Chai [Tue, 11 Jun 2019 09:18:21 +0000 (17:18 +0800)]
ceph-dev-new-setup: move "git diff" before install-deps.sh

as install-deps.sh now changes debian/control if we are building the
crimson flavor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1315 from tchaikov/wip-crimson-flavor
Kefu Chai [Mon, 17 Jun 2019 03:03:46 +0000 (11:03 +0800)]
Merge pull request #1315 from tchaikov/wip-crimson-flavor

scripts,ceph-dev-new*: add "crimson" flavor

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoscripts/build_utils.sh: update ubuntu-toolchain-r mirrors 1315/head
Kefu Chai [Fri, 7 Jun 2019 15:51:47 +0000 (23:51 +0800)]
scripts/build_utils.sh: update ubuntu-toolchain-r mirrors

the removed two do not have GCC-9, but the newly added mirros do.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts/build_utils.sh: install GCC-9 on bionic
Kefu Chai [Fri, 7 Jun 2019 15:31:05 +0000 (23:31 +0800)]
scripts/build_utils.sh: install GCC-9 on bionic

GCC-8 is good enough for build Ceph. but we are trying to focus on
1 year later's mainstream toolchain, and only the PPA of
"ubuntu-toolchain-r" offers GCC-9 for bionic, so let's just use GCC-9
for building all flavors on bionic. simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts/build_utils.sh: add a param for "setup_pbuilder_for_ppa()"
Kefu Chai [Fri, 7 Jun 2019 15:24:01 +0000 (23:24 +0800)]
scripts/build_utils.sh: add a param for "setup_pbuilder_for_ppa()"

allowing it to install other GCC than GCC-7

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new*: build "crimson" flavor for octopus and master
Kefu Chai [Fri, 7 Jun 2019 15:08:53 +0000 (23:08 +0800)]
ceph-dev-new*: build "crimson" flavor for octopus and master

* add "crimson" as another flavor
* build "default", "notcmalloc" flavors for branches whose name
  match jewel, kraken, luminous, mimic, nautilus
* build "default", "notcmalloc" and "crimson" flavors for branches whose name
  does not match any of jewel, kraken, luminous, mimic, nautilus.
  and build "crimson" on bionic only, because the "ubuntu-toolchain-r"
  PPA offers GCC-9, which is the latest GCC release at the time of
  writing. we want to target the mainstream hardware and toolchain
  available at least 1 year later. by then, GCC-9 will be available
  in most distros. and hopefully, it will be included by the
  devtoolset-9.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new-setup: add "crimson" flavor
Kefu Chai [Fri, 7 Jun 2019 14:10:45 +0000 (22:10 +0800)]
ceph-dev-new-setup: add "crimson" flavor

currently, we have two flavors for ceph builds

1. "default", which is, well, the default build.
2. "notcmalloc" -- "no tcmalloc", originally, it was only for applease
   valgrind. but now, it is more like a Debug build, which is less
   performant, but it is compiled with some facilities enabled to help
   debugging.

as crimson is not yet production ready, a new flavor is added in this
change -- "crimson". this flavor is built only for testing crimson
in sepia nodes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-dev-new-setup: set editor variables/options
Kefu Chai [Thu, 6 Jun 2019 07:54:35 +0000 (15:54 +0800)]
ceph-dev-new-setup: set editor variables/options

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1318 from ceph/guits-modify_collect_log
Sébastien Han [Fri, 14 Jun 2019 08:10:36 +0000 (10:10 +0200)]
Merge pull request #1318 from ceph/guits-modify_collect_log

ceph-ansible: improve collect ceph config file and logs

6 years agoceph-ansible: improve collect ceph config file and logs 1318/head
Guillaume Abrioux [Fri, 14 Jun 2019 06:48:04 +0000 (08:48 +0200)]
ceph-ansible: improve collect ceph config file and logs

let's collect these files in one task instead of two tasks.
By the way, it will avoid undesired failures regarding ceph config files
which don't exist (it first tried ceph.conf > test.conf >
mycluster.conf)

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1317 from ceph/ceph_ansible_dashboard_stable_4.0
Guillaume Abrioux [Wed, 12 Jun 2019 19:09:29 +0000 (21:09 +0200)]
Merge pull request #1317 from ceph/ceph_ansible_dashboard_stable_4.0

ceph-ansible: add dashboard scenario to stable-4.0

6 years agoceph-ansible: add dashboard scenario to stable-4.0 1317/head
Dimitri Savineau [Wed, 12 Jun 2019 17:31:48 +0000 (13:31 -0400)]
ceph-ansible: add dashboard scenario to stable-4.0

This commit adds the dashboard scenario to nautilus deployment.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
6 years agoMerge pull request #1316 from ceph/guits-add_ovh_nodes
Guillaume Abrioux [Wed, 12 Jun 2019 11:51:03 +0000 (13:51 +0200)]
Merge pull request #1316 from ceph/guits-add_ovh_nodes

ceph-ansible: use more slave in CI

6 years agoceph-ansible: use more slave in CI 1316/head
Guillaume Abrioux [Wed, 12 Jun 2019 11:46:47 +0000 (13:46 +0200)]
ceph-ansible: use more slave in CI

we stopped to use OVH nodes because of an old ceph-disk race condition.
Since ceph-disk isn't present anymore as of nautilus, let's use ovh
nodes again.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agoMerge pull request #1306 from ceph/wip-submodules-trigger
Nathan Cutler [Wed, 5 Jun 2019 08:28:10 +0000 (10:28 +0200)]
Merge pull request #1306 from ceph/wip-submodules-trigger

ceph-pr-submodules: add trigger phrase

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-pr-submodules: add trigger phrase 1306/head
Nathan Cutler [Fri, 31 May 2019 13:13:24 +0000 (15:13 +0200)]
ceph-pr-submodules: add trigger phrase

Signed-off-by: Nathan Cutler <ncutler@suse.com>