]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
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>
7 years agoMerge pull request #1058 from ceph/evelu-cache
Kefu Chai [Fri, 29 Jun 2018 01:37:10 +0000 (09:37 +0800)]
Merge pull request #1058 from ceph/evelu-cache

ceph-pull-requests: Improving ccache efficiency

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-pull-requests: Improving ccache efficiency 1058/head
Erwan Velu [Thu, 28 Jun 2018 13:31:11 +0000 (15:31 +0200)]
ceph-pull-requests: Improving ccache efficiency

As of today, ccache is installed by run-make-check but the statistics
reports almost no cache it (<1%) and even worse, this is slowing down
the whole process. The needed time to setup the cache isn't compensated
by the reuse of the cache as every build is rebuilding the cache. This
is leading to a 10% loss of the compilation time.

So the question, is why does two consecutives builds doesn't reuse the
cache. Its usually a matter of variables introduces on each builds like
a sha1 or a __DATE__ or __TIME__ in a header.

As per
https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal, several
tools from the tool chain (like compilers or make tools) are able to use
theses variables to enforce a particular timestamp at build time.

This commit also add a "-D ENABLE_GIT_VERSION=OFF" to avoid having the
commit id in the ceph_ver.h header. Not having the git versioning inside
the CI job is not a by deal as the binaries will be destroyed after the
build procedure.

These changes avoid introducing small variations in the source code
which breaks the build cache (ccache). The expected result is to get a
80 or 90% cache hit between two very close builds.

Signed-off-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge pull request #1042 from a2batic/test1
Jos Collin [Thu, 28 Jun 2018 11:15:48 +0000 (16:45 +0530)]
Merge pull request #1042 from a2batic/test1

mgr/dashboard: Adds unit test coverage report

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomgr/dashboard: Adds unit test coverage report 1042/head
a2batic [Wed, 6 Jun 2018 19:40:40 +0000 (01:10 +0530)]
mgr/dashboard: Adds unit test coverage report
Enable plugin 'Cobertura' to generate code coverage report, for every PR for ceph-dashboard frontend unit test.
Cobertura jenkins plugin: https://wiki.jenkins.io/display/JENKINS/Cobertura+Plugin

Fixes: http://tracker.ceph.com/issues/24377
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
7 years agoMerge pull request #1057 from ceph/wip-arm-name
David Galloway [Wed, 27 Jun 2018 17:38:41 +0000 (13:38 -0400)]
Merge pull request #1057 from ceph/wip-arm-name

ceph-pull-requests-arm64: Normalize name to appease JJB

7 years agoceph-pull-requests-arm64: Normalize name to appease JJB 1057/head
David Galloway [Wed, 27 Jun 2018 14:50:23 +0000 (10:50 -0400)]
ceph-pull-requests-arm64: Normalize name to appease JJB

Not sure why '!!python/unicode' was there originally but the current
version of JJB doesn't like it.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1055 from ceph/wip-ansible-nostable
Sébastien Han [Tue, 26 Jun 2018 14:40:32 +0000 (16:40 +0200)]
Merge pull request #1055 from ceph/wip-ansible-nostable

ceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0

7 years agoceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0 1055/head
David Galloway [Tue, 26 Jun 2018 14:24:08 +0000 (10:24 -0400)]
ceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1054 from ceph/wip-ansible-condition
Sébastien Han [Mon, 25 Jun 2018 16:41:39 +0000 (18:41 +0200)]
Merge pull request #1054 from ceph/wip-ansible-condition

ceph-ansible-pipeline: Only run next phase on SUCCESS

7 years agoceph-ansible-pipeline: Only run next phase on SUCCESS 1054/head
David Galloway [Mon, 25 Jun 2018 16:17:13 +0000 (12:17 -0400)]
ceph-ansible-pipeline: Only run next phase on SUCCESS

I think I misunderstood the jjb syntax before.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1053 from ceph/group-vars-fix
Guillaume Abrioux [Mon, 25 Jun 2018 16:17:44 +0000 (18:17 +0200)]
Merge pull request #1053 from ceph/group-vars-fix

ceph-ansible-pr-syntax-check: fix grep error

7 years agoceph-ansible-pr-syntax-check: fix grep error 1053/head
Sébastien Han [Mon, 25 Jun 2018 16:12:05 +0000 (18:12 +0200)]
ceph-ansible-pr-syntax-check: fix grep error

If grep fails the script exits because of the set -e so let's use ||
true to workaround that issue.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1052 from ceph/group-vars
Guillaume Abrioux [Mon, 25 Jun 2018 14:45:37 +0000 (16:45 +0200)]
Merge pull request #1052 from ceph/group-vars

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

7 years agoceph-ansible-pr-syntax-check: add group_vars check 1052/head
Sébastien Han [Mon, 25 Jun 2018 09:09:19 +0000 (11:09 +0200)]
ceph-ansible-pr-syntax-check: add group_vars check

This commit does 2 things:

* split the structure of the script to use functions
* add a function to test if group_vars weren't generated

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1050 from ceph/guits_update_ceph-ansible_nightlies
Andrew Schoen [Wed, 20 Jun 2018 15:56:40 +0000 (15:56 +0000)]
Merge pull request #1050 from ceph/guits_update_ceph-ansible_nightlies

ceph-ansible: update nightlies definition

7 years agoceph-ansible: update nightlies definition 1050/head
Guillaume Abrioux [Tue, 19 Jun 2018 11:26:25 +0000 (13:26 +0200)]
ceph-ansible: update nightlies definition

- remove testing of stable-2.2 against ceph jewel
- add testing of stable-3.1 against luminous
- update testing of stable-3.0 against luminous:
  - remove lvm scenarios

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1051 from ceph/guits-change_osd_bs_project_ceph-ansible
David Galloway [Wed, 20 Jun 2018 13:43:53 +0000 (09:43 -0400)]
Merge pull request #1051 from ceph/guits-change_osd_bs_project_ceph-ansible

ceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto

7 years agoceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto 1051/head
Guillaume Abrioux [Wed, 20 Jun 2018 13:11:51 +0000 (15:11 +0200)]
ceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto

we are seeing this scenario failing because of the race condition,
moving it to a project which requires smithi nodes should help.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1049 from ceph/rm-ceph-disk-master
Alfredo Deza [Tue, 19 Jun 2018 22:34:03 +0000 (18:34 -0400)]
Merge pull request #1049 from ceph/rm-ceph-disk-master

ceph-volume-nightly: remove master from simple, ceph-disk no longer available

7 years agoceph-volume-nightly: remove master from simple, ceph-disk no longer available 1049/head
Alfredo Deza [Tue, 19 Jun 2018 22:31:13 +0000 (18:31 -0400)]
ceph-volume-nightly: remove master from simple, ceph-disk no longer available

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1048 from ceph/ceph-deploy-distros
Alfredo Deza [Tue, 19 Jun 2018 18:38:48 +0000 (14:38 -0400)]
Merge pull request #1048 from ceph/ceph-deploy-distros

ceph-deploy-build: remove centos6

7 years agoceph-deploy-build: remove centos6 1048/head
Alfredo Deza [Tue, 19 Jun 2018 17:59:22 +0000 (13:59 -0400)]
ceph-deploy-build: remove centos6

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1047 from ceph/wip-allow-all
Guillaume Abrioux [Mon, 18 Jun 2018 15:54:28 +0000 (17:54 +0200)]
Merge pull request #1047 from ceph/wip-allow-all

ceph-ansible-*: permit-all to prevent github comment flood

7 years agoceph-ansible-*: permit-all to prevent github comment flood 1047/head
David Galloway [Mon, 18 Jun 2018 15:50:40 +0000 (11:50 -0400)]
ceph-ansible-*: permit-all to prevent github comment flood

See https://github.com/jenkinsci/ghprb-plugin/issues/608

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1046 from ceph/guits-revert_80f02250028c
Sébastien Han [Mon, 18 Jun 2018 12:18:30 +0000 (08:18 -0400)]
Merge pull request #1046 from ceph/guits-revert_80f02250028c

Revert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh"

7 years agoRevert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh" 1046/head
Guillaume Abrioux [Fri, 15 Jun 2018 21:13:13 +0000 (23:13 +0200)]
Revert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh"

This reverts commit 80f02250028ce5daae6eed3717787732d06302d1.

7 years agoMerge pull request #1045 from ceph/wip-ansible-pipeline3
David Galloway [Fri, 15 Jun 2018 18:46:30 +0000 (14:46 -0400)]
Merge pull request #1045 from ceph/wip-ansible-pipeline3

ceph-ansible-pipeline: Implement additional phases

7 years agoceph-ansible-pipeline: Implement additional phases 1045/head
David Galloway [Thu, 14 Jun 2018 20:26:00 +0000 (16:26 -0400)]
ceph-ansible-pipeline: Implement additional phases

1) Docs and yaml linter (always)
2) Check each infrastructure playbook and run if modified
3) centos7 and docker clusters
4) All other scenarios if basic cluster tests pass

Phases 3 and 4 will NOT be run if infrastructure-playbooks were
modified.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1044 from ceph/wip-ansible-pipeline
David Galloway [Sun, 10 Jun 2018 23:54:27 +0000 (19:54 -0400)]
Merge pull request #1044 from ceph/wip-ansible-pipeline

Implement ceph-ansible pipeline

7 years agoLet ceph-ansible-pipeline trigger ceph-ansible-* jobs 1044/head
David Galloway [Fri, 1 Jun 2018 17:52:55 +0000 (13:52 -0400)]
Let ceph-ansible-pipeline trigger ceph-ansible-* jobs

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoAdd ceph-ansible master multijob
David Galloway [Fri, 1 Jun 2018 14:19:45 +0000 (10:19 -0400)]
Add ceph-ansible master multijob

This job will trigger docs, syntax check, and if they pass, then the
actual ceph-ansible jobs will run.

The ceph-ansible-prs-auto project has to move to this job config in order for
the pipeline to start the appropriate jobs for PRs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1043 from ceph/guits-run_ceph-ansible_prs_ovh-smithi
Sébastien Han [Fri, 8 Jun 2018 08:57:36 +0000 (16:57 +0800)]
Merge pull request #1043 from ceph/guits-run_ceph-ansible_prs_ovh-smithi

ceph-ansible-prs: run 'auto' scenarios on smithi or ovh

7 years agoceph-ansible-prs: run 'auto' scenarios on smithi or ovh 1043/head
Guillaume Abrioux [Thu, 7 Jun 2018 08:30:40 +0000 (10:30 +0200)]
ceph-ansible-prs: run 'auto' scenarios on smithi or ovh

This is slowing down CI testing because we can't run more than 1 or 2
PRs at a time. Since I'm not sure if it's still worth to limit these
scenarios to be run only on smithi node, let's try to temporary remove
this limitation.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1038 from ceph/wip-no-docs
David Galloway [Thu, 7 Jun 2018 15:31:58 +0000 (11:31 -0400)]
Merge pull request #1038 from ceph/wip-no-docs

ceph-ansible-prs: Don't run auto job if only docs were modified

7 years agoceph-ansible-prs: Don't run auto job if only docs were modified 1038/head
David Galloway [Fri, 1 Jun 2018 21:13:42 +0000 (17:13 -0400)]
ceph-ansible-prs: Don't run auto job if only docs were modified

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1041 from tchaikov/wip-build_utils.sh-cleanup
Kefu Chai [Wed, 6 Jun 2018 14:59:53 +0000 (22:59 +0800)]
Merge pull request #1041 from tchaikov/wip-build_utils.sh-cleanup

build_utils.sh: do not try to check non-existent file's size

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild_utils.sh: do not try to check non-existent file's size 1041/head
Kefu Chai [Wed, 6 Jun 2018 04:37:11 +0000 (12:37 +0800)]
build_utils.sh: do not try to check non-existent file's size

it's distracting to read the red alert in jenkins' log like

du: cannot access '/srv/debian-base/xenial.tgz': No such file or
directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1040 from ceph/ceph-ansible-prs-dev
Alfredo Deza [Tue, 5 Jun 2018 15:29:23 +0000 (11:29 -0400)]
Merge pull request #1040 from ceph/ceph-ansible-prs-dev

build_utils: when running dev-* scenarios set release to nautilus

7 years agoceph-build-pull-requests: pin urllib3 to 1.22 1040/head
Andrew Schoen [Tue, 5 Jun 2018 14:47:13 +0000 (09:47 -0500)]
ceph-build-pull-requests: pin urllib3 to 1.22

We need to do this because jenkins-job-builder installs requests, and if
we don't pin here a version of urllib3 is installed that is incompatible
with the version of requests that jenkins-job-builder requires which is
urllib3<1.23,>=1.21.1

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agobuild_utils: when running dev-* scenarios set release to nautilus
Andrew Schoen [Tue, 5 Jun 2018 13:54:29 +0000 (08:54 -0500)]
build_utils: when running dev-* scenarios set release to nautilus

When running dev-* tests for ceph-ansible PRs we were setting
CEPH_STABLE_RELEASE to 'dev' which is not an actual release and our
functional tests break because of that.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1039 from ceph/ceph-ansible-prs-dev
Andrew Schoen [Mon, 4 Jun 2018 19:48:56 +0000 (19:48 +0000)]
Merge pull request #1039 from ceph/ceph-ansible-prs-dev

ceph-ansible-prs: adds the dev-ansible2.4-centos7_cluster scenario

7 years agoceph-ansible-prs: adds the dev-ansible2.4-centos7_cluster scenario 1039/head
Andrew Schoen [Mon, 4 Jun 2018 19:15:44 +0000 (14:15 -0500)]
ceph-ansible-prs: adds the dev-ansible2.4-centos7_cluster scenario

This will allow us to test dev installs with a large cluster and many
node types.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1037 from ceph/guits-followup_1036
Erwan Velu [Fri, 1 Jun 2018 08:10:45 +0000 (10:10 +0200)]
Merge pull request #1037 from ceph/guits-followup_1036

ceph-ansible: followup on #1036

7 years agoceph-ansible: followup on #1036 1037/head
Guillaume Abrioux [Fri, 1 Jun 2018 07:59:14 +0000 (09:59 +0200)]
ceph-ansible: followup on #1036

these tasks are producing some useless output showing error on debian
based distribution. Let's add a condition to avoid this.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1036 from ceph/guits-debug_yum_failures
Erwan Velu [Wed, 30 May 2018 16:02:46 +0000 (18:02 +0200)]
Merge pull request #1036 from ceph/guits-debug_yum_failures

ceph-ansible: add some tasks for debugging purpose

7 years agoceph-ansible: add some tasks for debugging purpose 1036/head
Guillaume Abrioux [Wed, 30 May 2018 15:25:00 +0000 (17:25 +0200)]
ceph-ansible: add some tasks for debugging purpose

related to ceph/ceph-ansible/pull/2665 and ceph/ceph-ansible/pull/2652

We are seeing too many failures related to yum.
These additional tasks will help us to have more information when a yum
failure occurs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1035 from tchaikov/wip-aarch64-repo
Alfredo Deza [Wed, 30 May 2018 13:16:41 +0000 (09:16 -0400)]
Merge pull request #1035 from tchaikov/wip-aarch64-repo

build_utils.sh: add ubuntu-ports repo for arm64 build

7 years agobuild_utils.sh: use arch-neutral path names 1035/head
Kefu Chai [Wed, 30 May 2018 10:40:24 +0000 (18:40 +0800)]
build_utils.sh: use arch-neutral path names

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agobuild_utils.sh: add ubuntu-ports repo for arm64 build
Kefu Chai [Wed, 30 May 2018 10:09:48 +0000 (18:09 +0800)]
build_utils.sh: add ubuntu-ports repo for arm64 build

as it offers updated binutils which does not exist in the default repo.
and the updated binutils is depended by gcc-7. this change address
following failure like:

The following packages have unmet dependencies:
 gcc-7 : Depends: binutils (>= 2.26.1) but 2.26-8ubuntu2 is to be
installed

when installing g++-7.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1034 from ceph/fix_collect_logs
Guillaume Abrioux [Tue, 29 May 2018 16:28:45 +0000 (18:28 +0200)]
Merge pull request #1034 from ceph/fix_collect_logs

ceph-ansible: fix teardown issue

7 years agoceph-ansible: fix teardown issue 1034/head
Guillaume Abrioux [Tue, 29 May 2018 12:36:52 +0000 (14:36 +0200)]
ceph-ansible: fix teardown issue

At the moment, the teardown isn't fully executed because of `collect-logs.yml`
playbook.

it is expected the following task can fail according to the context of the main
failure:

```
TASK [find ceph logs] **********************************************************
task path: /home/jenkins-build/build/workspace/ceph-ansible-scenario/collect-logs.yml:4
fatal: [ceph-nfs0]: FAILED! => {
    "changed": true,
    "cmd": [
        "find",
        "/var/log/ceph",
        "-name",
        "test*.log"
    ],
    "delta": "0:00:00.003363",
    "end": "2018-05-23 16:45:22.845782",
    "rc": 1,
    "start": "2018-05-23 16:45:22.842419"
}

STDERR:

find: ‘/var/log/ceph’: No such file or directory

MSG:

non-zero return code
```

therefore, `teardown_vagrant_tests()` doesn't return `0` and causes the
teardown to stop because of `set -e`

```
PLAY RECAP *********************************************************************
ceph-client0               : ok=1    changed=0    unreachable=0    failed=1
ceph-client1               : ok=1    changed=0    unreachable=0    failed=1
ceph-iscsi-gw0             : ok=1    changed=0    unreachable=0    failed=1
ceph-mds0                  : ok=1    changed=0    unreachable=0    failed=1
ceph-mgr0                  : ok=1    changed=0    unreachable=0    failed=1
ceph-mon0                  : ok=3    changed=2    unreachable=0    failed=0
ceph-mon1                  : ok=3    changed=2    unreachable=0    failed=0
ceph-mon2                  : ok=3    changed=2    unreachable=0    failed=0
ceph-nfs0                  : ok=1    changed=0    unreachable=0    failed=1
ceph-osd0                  : ok=1    changed=0    unreachable=0    failed=1
ceph-rbd-mirror0           : ok=1    changed=0    unreachable=0    failed=1
ceph-rgw0                  : ok=1    changed=0    unreachable=0    failed=1

Build step 'Execute Scripts' marked build as failure
Archiving artifacts
Finished: FAILURE
```

adding a `failed_when: false` on this task should avoid this bug.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1033 from ceph/remove_fetch_dir_teardown
Guillaume Abrioux [Mon, 28 May 2018 14:23:18 +0000 (16:23 +0200)]
Merge pull request #1033 from ceph/remove_fetch_dir_teardown

ceph-ansible: some teardown fixes

7 years agoceph-ansible: vagrant clean old cache 1033/head
Guillaume Abrioux [Mon, 28 May 2018 14:18:57 +0000 (16:18 +0200)]
ceph-ansible: vagrant clean old cache

Somehow, it's possible sometimes there is some old cache left after a
failure. `vagrant global-status --prune` ensures old caches that were left are
removed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoceph-ansible: remove fetch directory in teardown
Guillaume Abrioux [Mon, 28 May 2018 14:09:13 +0000 (16:09 +0200)]
ceph-ansible: remove fetch directory in teardown

Remove the fetch directory in teardown for ceph-ansible to avoid
keeping leftover from previous jobs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1032 from ceph/cv-disable-bionic
Alfredo Deza [Tue, 22 May 2018 19:44:06 +0000 (15:44 -0400)]
Merge pull request #1032 from ceph/cv-disable-bionic

ceph-volume-ansible-prs: remove bionic

7 years agoceph-volume-ansible-prs: remove bionic 1032/head
Alfredo Deza [Tue, 22 May 2018 19:31:14 +0000 (15:31 -0400)]
ceph-volume-ansible-prs: remove bionic

ceph-volume doesn't have a 'bionic' factor in tox, so there aren't any
functional scenarios to support this. At the moment, there aren't any
ceph packages to test against either. Disabling this for now.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1031 from ceph/wip-pip-nobinary
Alfredo Deza [Wed, 16 May 2018 16:54:32 +0000 (12:54 -0400)]
Merge pull request #1031 from ceph/wip-pip-nobinary

build_utils.sh: Don't update pip after installing it

7 years agobuild_utils.sh: Don't update pip after installing 1031/head
David Galloway [Wed, 16 May 2018 16:21:29 +0000 (12:21 -0400)]
build_utils.sh: Don't update pip after installing

Attempting to update pip was resulting in job failures because the wheel
wasn't present in the local pip cache.

Since we pinned pip to 10.0.0 in
https://github.com/ceph/ceph-build/pull/1007, we don't need to update
pip immediately after.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1030 from joscollin/wip-fix-signedoff-guide
Alfredo Deza [Wed, 16 May 2018 11:33:16 +0000 (07:33 -0400)]
Merge pull request #1030 from joscollin/wip-fix-signedoff-guide

ceph-pr-commits/build: Fix Sign your work url

7 years agoceph-pr-commits/build: Fix Sign your work url 1030/head
Jos Collin [Wed, 16 May 2018 03:38:26 +0000 (09:08 +0530)]
ceph-pr-commits/build: Fix Sign your work url

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #1029 from ceph/wip-rtslib-fb-pyudev
Jason Dillaman [Mon, 14 May 2018 13:10:03 +0000 (09:10 -0400)]
Merge pull request #1029 from ceph/wip-rtslib-fb-pyudev

rtslib-fb: reduce pyudev version requirements

7 years agortslib-fb: reduce pyudev version requirements 1029/head
Jason Dillaman [Mon, 14 May 2018 12:58:32 +0000 (08:58 -0400)]
rtslib-fb: reduce pyudev version requirements

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1027 from ceph/cv-disable-bionic
Andrew Schoen [Fri, 4 May 2018 17:55:27 +0000 (17:55 +0000)]
Merge pull request #1027 from ceph/cv-disable-bionic

ceph-volume-nightly: remove bionic

7 years agoceph-volume-nightly: remove bionic 1027/head
Alfredo Deza [Fri, 4 May 2018 13:43:31 +0000 (09:43 -0400)]
ceph-volume-nightly: remove bionic

ceph-volume doesn't have a 'bionic' factor in tox, so there aren't any
functional scenarios to support this. At the moment, there aren't any
ceph packages to test against either. Disabling this for now.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1028 from tchaikov/bionic-gcc-7
Alfredo Deza [Fri, 4 May 2018 16:12:42 +0000 (12:12 -0400)]
Merge pull request #1028 from tchaikov/bionic-gcc-7

build_utils.sh: help bionic to point its gcc back to 7

7 years agobuild_utils.sh: help bionic to point its gcc back to 7 1028/head
Kefu Chai [Fri, 4 May 2018 12:00:09 +0000 (20:00 +0800)]
build_utils.sh: help bionic to point its gcc back to 7

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1026 from tchaikov/bionic-gcc-7
Alfredo Deza [Fri, 4 May 2018 11:56:08 +0000 (07:56 -0400)]
Merge pull request #1026 from tchaikov/bionic-gcc-7

build_utils.sh: help bionic to point its gcc back to 7.3

7 years agobuild_utils.sh: help bionic to point its gcc back to 7.3 1026/head
Kefu Chai [Fri, 4 May 2018 11:52:39 +0000 (19:52 +0800)]
build_utils.sh: help bionic to point its gcc back to 7.3

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1025 from ceph/wip-bionic-builddebs
Alfredo Deza [Thu, 3 May 2018 22:55:58 +0000 (18:55 -0400)]
Merge pull request #1025 from ceph/wip-bionic-builddebs

setup_deb: Forgot bionic

7 years agosetup_deb: Forgot bionic 1025/head
David Galloway [Thu, 3 May 2018 21:33:32 +0000 (17:33 -0400)]
setup_deb: Forgot bionic

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1024 from ceph/wip-bionic-build
Andrew Schoen [Thu, 3 May 2018 21:13:50 +0000 (21:13 +0000)]
Merge pull request #1024 from ceph/wip-bionic-build

build_utils.sh: Add Bionic

7 years agobuild_utils.sh: Add Bionic 1024/head
David Galloway [Thu, 3 May 2018 21:11:39 +0000 (17:11 -0400)]
build_utils.sh: Add Bionic

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1023 from ceph/branch-regex-fix
Andrew Schoen [Thu, 3 May 2018 20:00:15 +0000 (20:00 +0000)]
Merge pull request #1023 from ceph/branch-regex-fix

ceph-build: use BRANCH instead of non-existing GIT_BRANCH

7 years agoceph-build: use BRANCH instead of non-existing GIT_BRANCH 1023/head
Alfredo Deza [Thu, 3 May 2018 19:41:43 +0000 (15:41 -0400)]
ceph-build: use BRANCH instead of non-existing GIT_BRANCH

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1022 from ceph/wip-bionic
Alfredo Deza [Thu, 3 May 2018 17:47:30 +0000 (13:47 -0400)]
Merge pull request #1022 from ceph/wip-bionic

Add support for Ubuntu Bionic globally

7 years agoAdd support for Ubuntu Bionic globally 1022/head
David Galloway [Mon, 30 Apr 2018 19:39:35 +0000 (15:39 -0400)]
Add support for Ubuntu Bionic globally

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