]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
7 years agoceph-medic-tests: disable nightly tests disable-ceph-medic 1119/head
Alfredo Deza [Mon, 10 Sep 2018 15:06:19 +0000 (11:06 -0400)]
ceph-medic-tests: disable nightly tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1117 from ceph/ceph-volume-tests
Alfredo Deza [Thu, 6 Sep 2018 17:17:35 +0000 (13:17 -0400)]
Merge pull request #1117 from ceph/ceph-volume-tests

ceph-volume-ansible-pr: include the batch mixed type tests

7 years agoceph-volume-ansible-pr: include the batch mixed type tests 1117/head
Andrew Schoen [Thu, 6 Sep 2018 17:13:56 +0000 (12:13 -0500)]
ceph-volume-ansible-pr: include the batch mixed type tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1116 from tchaikov/wip-build-with-total-memory
Alfredo Deza [Thu, 6 Sep 2018 11:55:24 +0000 (07:55 -0400)]
Merge pull request #1116 from tchaikov/wip-build-with-total-memory

ceph-*-build: evaluate num jobs using total mem not free mem

7 years agoceph-*-build: evaluate num jobs using total mem not free mem 1116/head
Kefu Chai [Thu, 6 Sep 2018 11:44:52 +0000 (19:44 +0800)]
ceph-*-build: evaluate num jobs using total mem not free mem

there is chance that the system is under extremely high load when `vmstat`
is called. so the "free memory" can not reflect the available memroy
when building Ceph. so use "total memory" instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1114 from ceph/wip-centos-pip
Alfredo Deza [Wed, 5 Sep 2018 16:15:27 +0000 (12:15 -0400)]
Merge pull request #1114 from ceph/wip-centos-pip

ansible: Install python-pip from epel on centos slaves

7 years agoansible: Install python-pip from epel on centos slaves 1114/head
David Galloway [Tue, 4 Sep 2018 17:43:41 +0000 (13:43 -0400)]
ansible: Install python-pip from epel on centos slaves

I'm not sure why we're just now seeing this.  Perhaps it was manually
fixed on prado.ceph.com and a redeploy overwrote it?  Regardless
non-libvirt slaves are failing to join Jenkins currently.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1113 from ceph/group_vars_all
Sébastien Han [Tue, 28 Aug 2018 17:32:41 +0000 (10:32 -0700)]
Merge pull request #1113 from ceph/group_vars_all

ceph-ansible-pr-syntax-check: group_vars operator

7 years agoceph-ansible-pr-syntax-check: group_vars operator 1113/head
Sébastien Han [Tue, 28 Aug 2018 17:23:55 +0000 (10:23 -0700)]
ceph-ansible-pr-syntax-check: group_vars operator

When defaults/main.yml is touched we will generate 2 group_vars files,
one for all.yml.sample and one for rhcs.yml.sample, this is making the
conditional never pass since there is one more value in the count.

Basically if defaults/main.yml and osd/defaults/main.yml are touched
this will result in 3 group_vars file but the count for
defaults/main.yml is 2.

In the end we want to fail if the number of defaults/main.yml is
greather than the number of group_vars files.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1112 from ceph/group_var
Sébastien Han [Tue, 28 Aug 2018 16:51:25 +0000 (18:51 +0200)]
Merge pull request #1112 from ceph/group_var

ceph-ansible-pr-syntax-check: fix typo

7 years agoceph-ansible-pr-syntax-check: fix typo 1112/head
Sébastien Han [Tue, 28 Aug 2018 16:42:45 +0000 (09:42 -0700)]
ceph-ansible-pr-syntax-check: fix typo

The directory we are looking for is called group_vars not group_var

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1105 from ceph/wip-iscsi-release
David Galloway [Tue, 28 Aug 2018 15:40:08 +0000 (11:40 -0400)]
Merge pull request #1105 from ceph/wip-iscsi-release

Add job for ceph-iscsi-* stable releases

7 years agoAdd job for ceph-iscsi-* stable releases 1105/head
David Galloway [Mon, 4 Jun 2018 14:36:54 +0000 (10:36 -0400)]
Add job for ceph-iscsi-* stable releases

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1111 from ceph/ceph-volume-tests
David Galloway [Mon, 27 Aug 2018 16:15:01 +0000 (12:15 -0400)]
Merge pull request #1111 from ceph/ceph-volume-tests

ceph-volume-ansible-prs: enable tests on centos 7

7 years agoceph-volume-ansible-prs: enable tests on centos 7 1111/head
Andrew Schoen [Mon, 27 Aug 2018 15:28:20 +0000 (10:28 -0500)]
ceph-volume-ansible-prs: enable tests on centos 7

Running the tests on Centos 7.4 hosts allows the vagrant vms
to boot properly.

See:
https://github.com/ceph/mita/pull/126/commits/35d53b13e177831306b0b401b0b5d0fafecf4b78

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1103 from tchaikov/wip-less-make-j
Kefu Chai [Sat, 25 Aug 2018 04:06:50 +0000 (12:06 +0800)]
Merge pull request #1103 from tchaikov/wip-less-make-j

ceph-pull-requests-arm64: set jobs number according to free memory

7 years agoMerge pull request #1110 from ceph/wip-target-branch
Alfredo Deza [Fri, 24 Aug 2018 18:27:41 +0000 (14:27 -0400)]
Merge pull request #1110 from ceph/wip-target-branch

ceph-volume-ansible-prs: require ghprbTargetBranch when manually triggering

7 years agoceph-volume-ansible-prs: require ghprbTargetBranch when manually triggering 1110/head
Alfredo Deza [Fri, 24 Aug 2018 18:18:55 +0000 (14:18 -0400)]
ceph-volume-ansible-prs: require ghprbTargetBranch when manually triggering

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1109 from ajarr/nfs-ganesha-lttng
Patrick Donnelly [Fri, 24 Aug 2018 16:56:05 +0000 (09:56 -0700)]
Merge pull request #1109 from ajarr/nfs-ganesha-lttng

nfs-ganesha: build with LTTNG

7 years agoceph-*-build: set jobs number according to free memory 1103/head
Kefu Chai [Wed, 22 Aug 2018 07:27:32 +0000 (15:27 +0800)]
ceph-*-build: set jobs number according to free memory

limits the job number of building ceph/ceph pull requests and deb packages
with the (size of free memory in MB)/1800.

guess we are using more compile-time optimizations now, so to compile
ceph source requires more memory. sometimes, a single cc1plus takes
more than 3GB memeory. that's why we are seeing more and more OOM
in our arm64 builders. following is a sample from omani09 -- a
arm64 builder compiling a ceph/ceph PR targeting master:

30474 jenkins+  20   0 2573092 2.388g  16220 R 100.0  3.8   9:11.04 cc1plus
34339 jenkins+  20   0 3279768 3.005g  16296 R 100.0  4.8   5:07.63 cc1plus
36382 jenkins+  20   0  322276 278932  12740 R 100.0  0.4   0:09.78 cc1plus
...

also, the performance of over-all compiling is also impacted by the I/O
subsystem. so lower the number of job could actually reduce the time
of the compiling processes to completing for the I/O queue of local
device. so we can use an conservative number for calc an upper bound of
job number for "make" instead using $(nproc). in this change,
$(free_memory_in_mega / 1800) is used as the upper limit of n_jobs.

on a typical arm64 builder with 48 cores and 64 GB mem, the n_jobs is
now 34 .

when building rpm packages, the number of build jobs is specified by
_smp_mflags macro, which is defined by
/usr/lib/rpm/platform/*/macros and /usr/lib/rpm/redhat/macros.
see
https://github.com/rpm-software-management/rpm/blob/master/platform.in#L53
and rhel/centos use following patch
https://git.centos.org/blob/rpms!redhat-rpm-config.git/eaaa6282147d0797a3733f3b91671b7a0752d448/SOURCES!redhat-rpm-config-9.1.0-ncpus-max.patch;jsessionid=xv8lqw4ipwwetge0i19ejo9t

so one cannot build rpm packages on centos/rhel with more than 16 jobs
when using redhat-rpm-config. and 16 is a safe number for us.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agonfs-ganesha: for shaman, build with LTTNG 1109/head
Ramana Raja [Fri, 24 Aug 2018 13:31:42 +0000 (19:01 +0530)]
nfs-ganesha: for shaman, build with LTTNG

... and install required LTTNG libraries

Signed-off-by: Ramana Raja <rraja@redhat.com>
7 years agoMerge pull request #1108 from ceph/ceph-volume-tests
Alfredo Deza [Fri, 24 Aug 2018 13:16:38 +0000 (09:16 -0400)]
Merge pull request #1108 from ceph/ceph-volume-tests

ceph-volume: deploy the target branch, not the source branch

7 years agoceph-volume-ansible-prs: disable centos7 tests 1108/head
Andrew Schoen [Fri, 24 Aug 2018 12:54:46 +0000 (08:54 -0400)]
ceph-volume-ansible-prs: disable centos7 tests

We're having infrastructure issues with OVH and the centos7 vagrant
vm kernel panics after booting. Disabling these for now until the issue
can be resolved.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume-ansible-prs: deploy the target branch, not the source branch
Andrew Schoen [Wed, 22 Aug 2018 19:38:47 +0000 (15:38 -0400)]
ceph-volume-ansible-prs: deploy the target branch, not the source branch

We're going to start deploying the target branch, the branch we're
merging PRs into, instead of the source branch. This way we don't have to
wait on packages as we can assume there is somethign already available
for the target branch. The ceph-volume code we're testing will be
rsynced to the testing nodes from the source branch.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1107 from ceph/wip-no-ovh
Sébastien Han [Fri, 24 Aug 2018 11:21:35 +0000 (13:21 +0200)]
Merge pull request #1107 from ceph/wip-no-ovh

ceph-ansible: Run all tests on smithi

7 years agoceph-ansible: Run all tests on smithi 1107/head
David Galloway [Thu, 23 Aug 2018 18:46:05 +0000 (14:46 -0400)]
ceph-ansible: Run all tests on smithi

OVH nodes cause vagrant boxes to kernel panic

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1104 from ceph/ceph-release
Erwan Velu [Wed, 22 Aug 2018 11:26:45 +0000 (13:26 +0200)]
Merge pull request #1104 from ceph/ceph-release

Ceph release

7 years agoceph-ansible-pr-syntax-chec: add test_ceph_release_in_ceph_default 1104/head
Sébastien Han [Wed, 22 Aug 2018 09:30:53 +0000 (11:30 +0200)]
ceph-ansible-pr-syntax-chec: add test_ceph_release_in_ceph_default
function

This new function searches for statements like '    -
ceph_release_num[ceph_release] ' in the ceph-defaults role. These must
never be used since the ceph_release is set by role running after
ceph-defaults.
However, the ceph-ansible ci passes this variable when running so it's
always defined, even before ceph-defaults runs. This is particularity
from our CI. So this is done, our Ci won't complain but general users
will end with an error like "'dict object' has no attribute" since the
variable does not exist at the time of the ceph-defaults play.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoceph-ansible-pr-syntax-chec: use the two new functions
Sébastien Han [Wed, 22 Aug 2018 09:29:11 +0000 (11:29 +0200)]
ceph-ansible-pr-syntax-chec: use the two new functions

The code now uses git_diff_to_head and match_file functions.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoceph-ansible-pr-syntax-check: add two functions to search files
Sébastien Han [Wed, 22 Aug 2018 09:25:52 +0000 (11:25 +0200)]
ceph-ansible-pr-syntax-check: add two functions to search files

Adding 2 new functions:

* git_diff_to_head which prints the diff for the current new code
* match_file which searches and print a particular file that was
modified by the current code.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1102 from ceph/pipeline-osd
David Galloway [Tue, 21 Aug 2018 11:54:18 +0000 (07:54 -0400)]
Merge pull request #1102 from ceph/pipeline-osd

ceph-ansible-pipeline: reduce pipeline workload

7 years agoceph-ansible-pipeline: reduce pipeline workload 1102/head
Sébastien Han [Mon, 20 Aug 2018 10:40:15 +0000 (12:40 +0200)]
ceph-ansible-pipeline: reduce pipeline workload

We now play the OSD scenarios only when
roles/ceph-defaults/tasks/facts.yml|roles/ceph-osd|ceph-validate are
touched.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1101 from ceph/ceph-ansible-pr-syntax-check-version
Sébastien Han [Mon, 20 Aug 2018 08:45:40 +0000 (10:45 +0200)]
Merge pull request #1101 from ceph/ceph-ansible-pr-syntax-check-version

ceph-ansible-pr-syntax-check: use latest ansible version

7 years agoceph-ansible-pr-syntax-check: use latest ansible version 1101/head
Sébastien Han [Mon, 20 Aug 2018 08:39:21 +0000 (10:39 +0200)]
ceph-ansible-pr-syntax-check: use latest ansible version

There is no reason to pin to an old ansible version. Since this is doing
syntax checking we should have the latest Ansible version to compare
against our latest ceph-ansible code.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1100 from ceph/cv-batch-nightly
Andrew Schoen [Fri, 17 Aug 2018 19:53:52 +0000 (19:53 +0000)]
Merge pull request #1100 from ceph/cv-batch-nightly

ceph-volume-nightly add batch tests for master

7 years agoceph-volume-nightly add batch tests for master 1100/head
Alfredo Deza [Wed, 15 Aug 2018 11:29:00 +0000 (07:29 -0400)]
ceph-volume-nightly add batch tests for master

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1099 from ceph/capital-letters-additions-only
Erwan Velu [Tue, 14 Aug 2018 14:09:31 +0000 (16:09 +0200)]
Merge pull request #1099 from ceph/capital-letters-additions-only

ceph-ansible-pr-syntax-check: do not check for removed lines

7 years agoceph-ansible-pr-syntax-check: do not check for removed lines 1099/head
Sébastien Han [Mon, 13 Aug 2018 16:36:09 +0000 (18:36 +0200)]
ceph-ansible-pr-syntax-check: do not check for removed lines

The git show was returning - and + lines, we only want to check for
lines that were added not removed.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1098 from ceph/wip-cv-batch-underscores
Alfredo Deza [Mon, 13 Aug 2018 14:27:05 +0000 (10:27 -0400)]
Merge pull request #1098 from ceph/wip-cv-batch-underscores

ceph-volume-ansible-prs: use underscores for scenarios

7 years agoceph-volume-ansible-prs: use underscores for scenarios 1098/head
Alfredo Deza [Mon, 13 Aug 2018 12:51:56 +0000 (08:51 -0400)]
ceph-volume-ansible-prs: use underscores for scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1097 from ceph/capital-letters
Sébastien Han [Mon, 13 Aug 2018 12:56:24 +0000 (14:56 +0200)]
Merge pull request #1097 from ceph/capital-letters

ceph-ansible-pr-syntax-check: add cbheck for coding convention

7 years agoceph-ansible-pr-syntax-check: add cbheck for coding convention 1097/head
Sébastien Han [Mon, 13 Aug 2018 12:34:52 +0000 (14:34 +0200)]
ceph-ansible-pr-syntax-check: add cbheck for coding convention

One of our convention in ceph-ansible is to not use capital letters in
task's name. So let's hardcode it in the initial phase of the pipeline.
ALso, this will let user discover what's wrong without us doing the
review and finding the problem.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1095 from ceph/wip-cv-batch
Andrew Schoen [Thu, 9 Aug 2018 15:23:26 +0000 (15:23 +0000)]
Merge pull request #1095 from ceph/wip-cv-batch

ceph-volume-ansible-prs: support batch scenarios

7 years agoceph-volume-ansible-prs: support batch scenarios 1095/head
Alfredo Deza [Thu, 9 Aug 2018 14:29:28 +0000 (10:29 -0400)]
ceph-volume-ansible-prs: support batch scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1094 from ceph/guits-add_params_individual_scenario_testing
Sébastien Han [Tue, 7 Aug 2018 15:14:23 +0000 (17:14 +0200)]
Merge pull request #1094 from ceph/guits-add_params_individual_scenario_testing

ceph-ansible: add docker params for individual scenario testing

7 years agoceph-ansible: add docker params for individual scenario testing 1094/head
Guillaume Abrioux [Tue, 7 Aug 2018 15:02:00 +0000 (17:02 +0200)]
ceph-ansible: add docker params for individual scenario testing

So we can test a specific docker image.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1093 from ceph/guits-fix_find_latest_tag
Guillaume Abrioux [Wed, 25 Jul 2018 09:28:16 +0000 (11:28 +0200)]
Merge pull request #1093 from ceph/guits-fix_find_latest_tag

ceph-ansible-nightly: take the first tag only in find_latest_tag

7 years agoceph-ansible-nightly: take the first tag only in find_latest_tag 1093/head
Guillaume Abrioux [Wed, 25 Jul 2018 09:21:36 +0000 (11:21 +0200)]
ceph-ansible-nightly: take the first tag only in find_latest_tag

`find_latest_tag()` might return more than 1 tag if two tags match the
`jq` query in a same page of results. This breaks the nightly jobs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1092 from ceph/wip-ceph-iscsi-cli-flake8
Jason Dillaman [Tue, 24 Jul 2018 19:11:00 +0000 (15:11 -0400)]
Merge pull request #1092 from ceph/wip-ceph-iscsi-cli-flake8

ceph-iscsi-cli-flake8: initial version

7 years agoMerge branch 'master' into wip-ceph-iscsi-cli-flake8 wip-ceph-iscsi-cli-flake8 1092/head
Jason Dillaman [Tue, 24 Jul 2018 19:06:19 +0000 (15:06 -0400)]
Merge branch 'master' into wip-ceph-iscsi-cli-flake8

7 years agoMerge pull request #1091 from ceph/wip-ceph-iscsi-config-flake8
Alfredo Deza [Tue, 24 Jul 2018 18:44:43 +0000 (14:44 -0400)]
Merge pull request #1091 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: added context to GitHub PR status

7 years agoceph-iscsi-cli-flake8: initial version
Jason Dillaman [Tue, 24 Jul 2018 18:44:43 +0000 (14:44 -0400)]
ceph-iscsi-cli-flake8: initial version

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-iscsi-config-flake8: added context to GitHub PR status 1091/head
Jason Dillaman [Tue, 24 Jul 2018 18:40:13 +0000 (14:40 -0400)]
ceph-iscsi-config-flake8: added context to GitHub PR status

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1090 from ceph/wip-ceph-iscsi-config-flake8
Jason Dillaman [Tue, 24 Jul 2018 17:39:23 +0000 (13:39 -0400)]
Merge pull request #1090 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: removed use of docker

7 years agoceph-iscsi-config-flake8: removed use of docker 1090/head
Jason Dillaman [Tue, 24 Jul 2018 16:50:34 +0000 (12:50 -0400)]
ceph-iscsi-config-flake8: removed use of docker

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1089 from ceph/wip-ceph-iscsi-config-flake8
Alfredo Deza [Tue, 24 Jul 2018 17:27:49 +0000 (13:27 -0400)]
Merge pull request #1089 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: removed jenkins override

7 years agoceph-iscsi-config-flake8: removed jenkins override 1089/head
Jason Dillaman [Tue, 24 Jul 2018 16:50:34 +0000 (12:50 -0400)]
ceph-iscsi-config-flake8: removed jenkins override

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1088 from ceph/wip-ceph-iscsi-config-flake8
Jason Dillaman [Tue, 24 Jul 2018 16:37:53 +0000 (12:37 -0400)]
Merge pull request #1088 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: initial version

7 years agoceph-iscsi-config-flake8: initial version 1088/head
Jason Dillaman [Tue, 24 Jul 2018 16:32:08 +0000 (12:32 -0400)]
ceph-iscsi-config-flake8: initial version

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1084 from ceph/guits-ceph-ansible_mimic
Sébastien Han [Thu, 19 Jul 2018 14:54:29 +0000 (16:54 +0200)]
Merge pull request #1084 from ceph/guits-ceph-ansible_mimic

ceph-ansible: update the testing matrix

7 years agoceph-ansible: update the testing matrix 1084/head
Guillaume Abrioux [Thu, 19 Jul 2018 12:36:46 +0000 (14:36 +0200)]
ceph-ansible: update the testing matrix

stable-3.0 => jewel,luminous
stable-3.1 => jewel,luminous,mimic
master     => dev (last sha1 on master)

This also removes xenial_cluster scenario on PRs and leave it played
in nightly.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1085 from ceph/guits-fix_ca_prs
David Galloway [Thu, 19 Jul 2018 13:47:57 +0000 (09:47 -0400)]
Merge pull request #1085 from ceph/guits-fix_ca_prs

ceph-ansible-prs: fix a typo

7 years agoceph-ansible-prs: fix a typo 1085/head
Guillaume Abrioux [Thu, 19 Jul 2018 13:43:24 +0000 (15:43 +0200)]
ceph-ansible-prs: fix a typo

`$scenario` gets set by the last iteration in the loop above.
The actual value we want is `$SCENARIO`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1083 from ceph/wip-cansible-stable3
Guillaume Abrioux [Wed, 18 Jul 2018 16:25:00 +0000 (18:25 +0200)]
Merge pull request #1083 from ceph/wip-cansible-stable3

ceph-ansible: Just pass LVM scenarios if the branch is stable-3.0

7 years agoceph-ansible: Just pass LVM scenarios if the branch is stable-3.0 1083/head
David Galloway [Wed, 18 Jul 2018 15:40:08 +0000 (11:40 -0400)]
ceph-ansible: Just pass LVM scenarios if the branch is stable-3.0

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1082 from ceph/wip-cansible-stable2
Guillaume Abrioux [Wed, 18 Jul 2018 15:37:27 +0000 (17:37 +0200)]
Merge pull request #1082 from ceph/wip-cansible-stable2

ceph-ansible: Stop hardcoding ansible version in scenarios

7 years agoceph-ansible: Stop hardcoding ansible version in scenarios 1082/head
David Galloway [Tue, 10 Jul 2018 16:17:33 +0000 (12:17 -0400)]
ceph-ansible: Stop hardcoding ansible version in scenarios

We'll set the ansible version in each ceph-ansible branch's respective
requirements.txt.

For example, master will use ansible2.5 and stable-3.{1,2} will use ansible2.4.

The only reason the ansible version was in each scenario name was so it
could get passed to tox.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1081 from ceph/wip-sepia-unlock
Zack Cerza [Tue, 17 Jul 2018 20:41:23 +0000 (14:41 -0600)]
Merge pull request #1081 from ceph/wip-sepia-unlock

sepia-fog-images: Unpause queue and leave systems up

7 years agosepia-fog-images: Unpause queue and leave systems up 1081/head
David Galloway [Tue, 17 Jul 2018 20:32:53 +0000 (16:32 -0400)]
sepia-fog-images: Unpause queue and leave systems up

We don't need to mark the systems down.  If there's something wrong with
them, we'll find it during teuthology tests.

I also forgot to unpause the queue in the event of a job failure so I've
added that too.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1080 from ceph/wip-jessie-key
Alfredo Deza [Tue, 17 Jul 2018 15:59:25 +0000 (11:59 -0400)]
Merge pull request #1080 from ceph/wip-jessie-key

build_utils.sh: Use archive keyring for Jessie

7 years agobuild_utils.sh: Use archive keyring for Jessie 1080/head
David Galloway [Wed, 11 Jul 2018 15:35:43 +0000 (11:35 -0400)]
build_utils.sh: Use archive keyring for Jessie

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1079 from ceph/guits-fix_ceph-container_nightlies
Erwan Velu [Fri, 13 Jul 2018 15:26:44 +0000 (17:26 +0200)]
Merge pull request #1079 from ceph/guits-fix_ceph-container_nightlies

ceph-container: add a nightly flag

7 years agoceph-container: add a nightly flag 1079/head
Guillaume Abrioux [Fri, 13 Jul 2018 12:49:11 +0000 (14:49 +0200)]
ceph-container: add a nightly flag

In addition to
ceph/ceph-container@fa0a1483d59c5a30e99f379e12a24239f91e7980

Adding this environment variable allows tests/tox.sh in ceph/ceph-container to
know whether we are running in a nightly job.

This is needed because ceph-container project checks if some code has
been changed, if no, test is not run.
Since in nightlies job will always enter this condition we must have a
way to be aware if we are running a nightly so we can skip this test.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1078 from tchaikov/wip-no-sudo
Alfredo Deza [Thu, 12 Jul 2018 15:13:27 +0000 (11:13 -0400)]
Merge pull request #1078 from tchaikov/wip-no-sudo

build_utils: should not use "sudo" in pbuilder hook script

7 years agobuild_utils: should not use "sudo" in pbuilder hook script 1078/head
Kefu Chai [Thu, 12 Jul 2018 13:15:10 +0000 (21:15 +0800)]
build_utils: should not use "sudo" in pbuilder hook script

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1076 from tchaikov/wip-import-pub-key-without-hkp-server
Kefu Chai [Thu, 12 Jul 2018 03:29:10 +0000 (11:29 +0800)]
Merge pull request #1076 from tchaikov/wip-import-pub-key-without-hkp-server

build_utils: import ubuntu-toolchain-r's key without keyserver

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agobuild_utils: import ubuntu-toolchain-r's key without keyserver 1076/head
Kefu Chai [Mon, 9 Jul 2018 15:08:41 +0000 (23:08 +0800)]
build_utils: import ubuntu-toolchain-r's key without keyserver

we are running into following error recently

gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
gpgkeys: key 1E9377A2BA9EF27F can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm

so use the local copy of the pubkey instead

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1073 from ceph/evelu-ccache2
Kefu Chai [Thu, 5 Jul 2018 06:58:56 +0000 (14:58 +0800)]
Merge pull request #1073 from ceph/evelu-ccache2

ceph-pull-requests: Simplifying run-make-check call

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-pull-requests: Simplifying run-make-check call 1073/head
Erwan Velu [Wed, 4 Jul 2018 07:59:56 +0000 (09:59 +0200)]
ceph-pull-requests: Simplifying run-make-check call

Once https://github.com/ceph/ceph/pull/22847 will be merged, this commit
will remove all the custom hacks from this script as they moved directly
in ./run-make-check.sh

7 years agoMerge pull request #1070 from ceph/return-0
Erwan Velu [Tue, 3 Jul 2018 12:53:12 +0000 (14:53 +0200)]
Merge pull request #1070 from ceph/return-0

ceph-ansible-pr-syntax-check: force return 0

7 years agoceph-ansible-pr-syntax-check: force return 0 1070/head
Sébastien Han [Tue, 3 Jul 2018 12:49:15 +0000 (14:49 +0200)]
ceph-ansible-pr-syntax-check: force return 0

If the test succeeds we return 0.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1069 from ceph/do-not-return
Erwan Velu [Tue, 3 Jul 2018 12:31:43 +0000 (14:31 +0200)]
Merge pull request #1069 from ceph/do-not-return

ceph-ansible-pr-syntax-check: return 1 only on failure

7 years agoceph-ansible-pr-syntax-check: return 1 only on failure 1069/head
Sébastien Han [Tue, 3 Jul 2018 12:12:12 +0000 (14:12 +0200)]
ceph-ansible-pr-syntax-check: return 1 only on failure

This was a leftover from an initial attempt with if combinaison. We now
return 1 only if the test line fails.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1068 from ceph/syntax-head-3
Erwan Velu [Tue, 3 Jul 2018 10:38:48 +0000 (12:38 +0200)]
Merge pull request #1068 from ceph/syntax-head-3

ceph-ansible-pr-syntax-check: remove merge commit from count

7 years agoceph-ansible-pr-syntax-check: remove merge commit from count 1068/head
Sébastien Han [Tue, 3 Jul 2018 10:18:30 +0000 (12:18 +0200)]
ceph-ansible-pr-syntax-check: remove merge commit from count

When counting the number of commit you must remove the merge commit so
we get the right number of commits.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1067 from ceph/syntax-head-2
Guillaume Abrioux [Tue, 3 Jul 2018 08:41:52 +0000 (10:41 +0200)]
Merge pull request #1067 from ceph/syntax-head-2

Syntax head 2

7 years agoceph-ansible-pr-syntax-check: use target branch to compare 1067/head
Sébastien Han [Tue, 3 Jul 2018 08:26:43 +0000 (10:26 +0200)]
ceph-ansible-pr-syntax-check: use target branch to compare

We must use the target branch as a reference when we try to find the
number of commits pushed.
We use 'ghprbTargetBranch' env variable, which comes  from jenkins's
injectedEnvVars.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoRevert "ceph-ansible-pr-syntax-check: use master instead of HEAD"
Sébastien Han [Tue, 3 Jul 2018 08:25:09 +0000 (10:25 +0200)]
Revert "ceph-ansible-pr-syntax-check: use master instead of HEAD"

This reverts commit 7c971b82771ef6766206b7ef0716a8705fdbe649.
Because this is the wrong fix, if you push a PR on a stable branch, the
comparaison will happen against master, we don't want that.

7 years agoMerge pull request #1066 from ceph/syntax-head
Guillaume Abrioux [Tue, 3 Jul 2018 07:40:07 +0000 (09:40 +0200)]
Merge pull request #1066 from ceph/syntax-head

ceph-ansible-pr-syntax-check: use master instead of HEAD

7 years agoceph-ansible-pr-syntax-check: use master instead of HEAD 1066/head
Sébastien Han [Tue, 3 Jul 2018 07:35:44 +0000 (09:35 +0200)]
ceph-ansible-pr-syntax-check: use master instead of HEAD

origin/HEAD does not exist so let's use origin/master instead. This
prevents the following error:

bad revision 'origin/HEAD'

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1065 from ceph/collect-ceph-volume-logs
Alfredo Deza [Mon, 2 Jul 2018 22:06:36 +0000 (18:06 -0400)]
Merge pull request #1065 from ceph/collect-ceph-volume-logs

scripts: collect all logs in /var/log/ceph on ansible failures

7 years agoscripts: collect all logs in /var/log/ceph on ansible failures 1065/head
Andrew Schoen [Mon, 2 Jul 2018 21:48:00 +0000 (16:48 -0500)]
scripts: collect all logs in /var/log/ceph on ansible failures

On the jobs that use ceph-ansible to test ceph logs are collected from
the vms on failure. However, if the cluster name was not ceph the find
command would fail to collect any ceph-volume logs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1064 from ceph/wip-no-ask
David Galloway [Mon, 2 Jul 2018 15:23:52 +0000 (11:23 -0400)]
Merge pull request #1064 from ceph/wip-no-ask

ceph-pull-requests: Automatically rebuild w/o asking params

7 years agoceph-pull-requests: Automatically rebuild w/o asking params 1064/head
David Galloway [Mon, 2 Jul 2018 14:53:20 +0000 (10:53 -0400)]
ceph-pull-requests: Automatically rebuild w/o asking params

This will carry over our custom sha1 variable when "Rebuild" is clicked.
Previously, it was possible to click "Rebuild," and leave the `sha1`
variable empty which caused every branch/PR to get built.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1063 from ceph/signof-pipeline
Erwan Velu [Mon, 2 Jul 2018 14:45:23 +0000 (16:45 +0200)]
Merge pull request #1063 from ceph/signof-pipeline

ceph-ansible-pr-syntax-check: add sign-off check

7 years agoceph-ansible-pr-syntax-check: add sign-off check 1063/head
Sébastien Han [Mon, 2 Jul 2018 14:02:35 +0000 (16:02 +0200)]
ceph-ansible-pr-syntax-check: add sign-off check

We now fail if the commits don't contain a Signed-off-by certificate.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1061 from joscollin/wip-cobertura-fail-fix
Dan Mick [Sat, 30 Jun 2018 01:30:28 +0000 (18:30 -0700)]
Merge pull request #1061 from joscollin/wip-cobertura-fail-fix

ceph-build/cobertura: set *auto-update to false

7 years agoceph-build/cobertura: set *auto-update to false 1061/head
Jos Collin [Sat, 30 Jun 2018 01:12:50 +0000 (06:42 +0530)]
ceph-build/cobertura: set *auto-update to false

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #1060 from ceph/wip-fix-pipeline
Sébastien Han [Fri, 29 Jun 2018 15:49:43 +0000 (17:49 +0200)]
Merge pull request #1060 from ceph/wip-fix-pipeline

ceph-ansible-pipeline: Fix stable-3.0 phase conditional steps

7 years agoceph-ansible-pipeline: Fix stable-3.0 phase conditional steps 1060/head
David Galloway [Fri, 29 Jun 2018 14:54:28 +0000 (10:54 -0400)]
ceph-ansible-pipeline: Fix stable-3.0 phase conditional steps

Signed-off-by: David Galloway <dgallowa@redhat.com>