autobuild-ceph.git
7 years agorun: Fix logging 76/head
Dan Mick [Tue, 28 Jun 2016 23:36:20 +0000 (16:36 -0700)]
run: Fix logging

When run is executed from /etc/init.d/autobuild-ceph -> loop.sh,
its stdout/stderr are not redirected, so still go to the invoking
user's terminal, which will become unwritable after logout.
Send the logging from run itself to logs/*.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #75 from ceph/wip-make-dist
Dan Mick [Thu, 23 Jun 2016 20:54:36 +0000 (13:54 -0700)]
Merge pull request #75 from ceph/wip-make-dist

use make-dist and clean up build-ceph-*.sh

Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agobuild-ceph.sh: make check with run-make-check.sh; no more tarball 75/head
Sage Weil [Wed, 22 Jun 2016 13:16:13 +0000 (09:16 -0400)]
build-ceph.sh: make check with run-make-check.sh; no more tarball

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoreset-modules.sh: deduplicate this boilerplat
Sage Weil [Wed, 22 Jun 2016 13:03:57 +0000 (09:03 -0400)]
reset-modules.sh: deduplicate this boilerplat

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoremove build-ceph-{gcov,notcmalloc}
Sage Weil [Wed, 22 Jun 2016 12:55:56 +0000 (08:55 -0400)]
remove build-ceph-{gcov,notcmalloc}

build-auto does this via the normal path via environment variables.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agobuild-ceph-rpm.sh: use make-dist if available
Sage Weil [Wed, 22 Jun 2016 12:55:08 +0000 (08:55 -0400)]
build-ceph-rpm.sh: use make-dist if available

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoremove build-ceph-deb.sh
Sage Weil [Wed, 22 Jun 2016 12:54:59 +0000 (08:54 -0400)]
remove build-ceph-deb.sh

We don't use it!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agobuild-auto.sh: set cmake variable too
Sage Weil [Tue, 21 Jun 2016 18:06:02 +0000 (14:06 -0400)]
build-auto.sh: set cmake variable too

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agobuild-ceph-deb-native: don't autogen if make-dist is present
Sage Weil [Tue, 21 Jun 2016 17:28:28 +0000 (13:28 -0400)]
build-ceph-deb-native: don't autogen if make-dist is present

The latest ceph-build/build_snapshot_native.sh doesn't need it.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #74 from dmick/master
David Galloway [Wed, 8 Jun 2016 21:47:20 +0000 (17:47 -0400)]
Merge pull request #74 from dmick/master

Add xenial gb; remove now-obsolete python-support

7 years agoAdd xenial gb; remove now-obsolete python-support 74/head
Dan Mick [Wed, 8 Jun 2016 21:38:18 +0000 (14:38 -0700)]
Add xenial gb; remove now-obsolete python-support

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #73 from ceph/wip-kernel-kdb-rpm
Dan Mick [Wed, 18 May 2016 20:56:16 +0000 (13:56 -0700)]
Merge pull request #73 from ceph/wip-kernel-kdb-rpm

kernel-config-rpm: set CONFIG_KDB_DEFAULT_ENABLE to 1

Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agokernel-config-rpm: set CONFIG_KDB_DEFAULT_ENABLE to 1 73/head
Ilya Dryomov [Wed, 18 May 2016 08:30:42 +0000 (10:30 +0200)]
kernel-config-rpm: set CONFIG_KDB_DEFAULT_ENABLE to 1

It turns out kdb has a security mode which, if kdb_cmd_enabled == 0,
denies access to most of the commands, including inspect-only bt, ps
and alike.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #71 from dachary/wip-15375-make-check
Sage Weil [Tue, 5 Apr 2016 14:18:22 +0000 (10:18 -0400)]
Merge pull request #71 from dachary/wip-15375-make-check

cleanup virtualenv found in /tmp

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agocleanup virtualenv found in /tmp 71/head
Loic Dachary [Tue, 5 Apr 2016 07:03:09 +0000 (09:03 +0200)]
cleanup virtualenv found in /tmp

Before building we need to get rid of virtualenv created in /tmp as they
may not contain what we expect.

Fixes: http://tracker.ceph.com/issues/15375
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #69 from dmick/master
Zack Cerza [Tue, 19 Jan 2016 23:34:03 +0000 (16:34 -0700)]
Merge pull request #69 from dmick/master

grab bag: cleanups to fabfile, fix logrotate, experimental timing

8 years agofabfile.py: samba gitbuilders should be flavor 'samba-deb' 69/head
Dan Mick [Tue, 19 Jan 2016 21:14:32 +0000 (13:14 -0800)]
fabfile.py: samba gitbuilders should be flavor 'samba-deb'

build-samba.sh is broken, and not what we seem to want

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: clear up confusion about location of branches-local
Dan Mick [Tue, 19 Jan 2016 00:20:01 +0000 (16:20 -0800)]
fabfile.py: clear up confusion about location of branches-local

This only affects gitbuilders where branches-local is not
'branches-local' (namely samba)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agobuild-ceph.sh: track and report total runtime
Dan Mick [Sat, 16 Jan 2016 05:29:25 +0000 (21:29 -0800)]
build-ceph.sh: track and report total runtime

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agorun: drop to autobuild-ceph user before doing anything much
Dan Mick [Sat, 16 Jan 2016 05:21:29 +0000 (21:21 -0800)]
run: drop to autobuild-ceph user before doing anything much

logrotate has changed such that, if root, it won't run if
logrotate.conf is not owned by root.  Since we really want to be
running as autobuild-ceph anyway, just do that first by reexecuting
ourselves with su - autobuild-ceph.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoNo longer roledefs for gitbuilder_ceph_deb or _gcov
Dan Mick [Fri, 15 Jan 2016 23:35:35 +0000 (15:35 -0800)]
No longer roledefs for gitbuilder_ceph_deb or _gcov

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #68 from dmick/master
Dan Mick [Sat, 9 Jan 2016 03:50:49 +0000 (19:50 -0800)]
Merge pull request #68 from dmick/master

Various cleanups in fabfile.py

Reviewed-by: Sage Weil <sweil@redhat.com>
8 years agobuild-ceph.sh: add --with-librocksdb-static=check to configure flags 68/head
Dan Mick [Thu, 7 Jan 2016 22:01:02 +0000 (14:01 -0800)]
build-ceph.sh: add --with-librocksdb-static=check to configure flags

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py Fix name of gitbuilder-kernel-rpm-centos7-amd64-basic
Dan Mick [Thu, 7 Jan 2016 05:12:32 +0000 (21:12 -0800)]
fabfile.py Fix name of gitbuilder-kernel-rpm-centos7-amd64-basic

to be like all the rest: amd64 vs. x86_64

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: ceph-extras is dead
Dan Mick [Tue, 5 Jan 2016 18:46:00 +0000 (10:46 -0800)]
fabfile.py: ceph-extras is dead

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: use sudo to check for, place keyrings
Dan Mick [Tue, 5 Jan 2016 18:44:20 +0000 (10:44 -0800)]
fabfile.py: use sudo to check for, place keyrings

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: remove some dead gitbuilders
Dan Mick [Thu, 24 Dec 2015 02:56:19 +0000 (18:56 -0800)]
fabfile.py: remove some dead gitbuilders

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: sort lists of hosts in roledefs
Dan Mick [Thu, 24 Dec 2015 02:53:26 +0000 (18:53 -0800)]
fabfile.py: sort lists of hosts in roledefs

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile.py: gitbuilder_doc is no more, it's now a Jenkins job
Dan Mick [Sat, 19 Dec 2015 05:11:49 +0000 (21:11 -0800)]
fabfile.py: gitbuilder_doc is no more, it's now a Jenkins job

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #67 from ceph/wip-branches
Dan Mick [Sat, 19 Dec 2015 00:59:12 +0000 (16:59 -0800)]
Merge pull request #67 from ceph/wip-branches

branches-local: there is only jewel

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agobranches-local: there is only jewel 67/head
Josh Durgin [Sat, 19 Dec 2015 00:54:32 +0000 (16:54 -0800)]
branches-local: there is only jewel

next and stable branches don't exist anymore

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #66 from ceph/gpg-key-url
Dan Mick [Thu, 26 Nov 2015 03:56:10 +0000 (19:56 -0800)]
Merge pull request #66 from ceph/gpg-key-url

build-ceph-rpm.sh: update URL to GPG pubkeys

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agobuild-ceph-rpm.sh: update URL to GPG pubkeys 66/head
Ken Dreyer [Wed, 25 Nov 2015 22:17:08 +0000 (15:17 -0700)]
build-ceph-rpm.sh: update URL to GPG pubkeys

Update the .repo files within gitbuilders' ceph-release packages to
point at the static location for the GPG public keys.

8 years agobuild-ceph-deb-native: time out build (2 hours)
Sage Weil [Sat, 17 Oct 2015 17:56:08 +0000 (13:56 -0400)]
build-ceph-deb-native: time out build (2 hours)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-*: clean up build area before git clean
Sage Weil [Sat, 17 Oct 2015 13:08:22 +0000 (09:08 -0400)]
build-ceph-*: clean up build area before git clean

A bad build put a bogus .git directory in the build area, which breaks
git clean.  Prevent that from happening in the future...

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: fix start/enable line for ubuntu
Sage Weil [Wed, 23 Sep 2015 20:54:56 +0000 (16:54 -0400)]
fabfile: fix start/enable line for ubuntu

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: drop google perftools
Sage Weil [Wed, 23 Sep 2015 20:52:53 +0000 (16:52 -0400)]
fabfile: drop google perftools

install-deps.sh gets this later.  and on aarch64 we have to install it
manually.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #64 from ceph/wip-dwz
Sage Weil [Fri, 4 Sep 2015 21:47:22 +0000 (17:47 -0400)]
Merge pull request #64 from ceph/wip-dwz

fabfile: %_find_debuginfo_dwz_opts %{nil}

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agofabfile: %_find_debuginfo_dwz_opts %{nil} 64/head
Sage Weil [Fri, 4 Sep 2015 18:16:01 +0000 (14:16 -0400)]
fabfile: %_find_debuginfo_dwz_opts %{nil}

This skips the dwz compression step.  The debuginfo package is bigger
(from 700M to 1.1G in my test) but it saves about 18 minutes from the
build time.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake.sh: fix warnings
Sage Weil [Fri, 4 Sep 2015 14:32:50 +0000 (10:32 -0400)]
build-ceph-cmake.sh: fix warnings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake.sh: another fix
Sage Weil [Fri, 4 Sep 2015 12:46:47 +0000 (08:46 -0400)]
build-ceph-cmake.sh: another fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: create /home/autobuild-ceph
Sage Weil [Fri, 4 Sep 2015 12:47:12 +0000 (08:47 -0400)]
fabfile: create /home/autobuild-ceph

...so that .rpmmacros can be set properly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake: use all processors
Sage Weil [Fri, 4 Sep 2015 12:59:12 +0000 (08:59 -0400)]
build-ceph-cmake: use all processors

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake.sh: fix
Sage Weil [Fri, 4 Sep 2015 02:27:13 +0000 (22:27 -0400)]
build-ceph-cmake.sh: fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake.sh: fix make install step
Sage Weil [Thu, 3 Sep 2015 20:02:13 +0000 (16:02 -0400)]
build-ceph-cmake.sh: fix make install step

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: trusty cmake builder
Sage Weil [Thu, 3 Sep 2015 19:03:49 +0000 (15:03 -0400)]
fabfile: trusty cmake builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-ceph-cmake.sh: build with cmake
Sage Weil [Thu, 3 Sep 2015 02:17:27 +0000 (22:17 -0400)]
build-ceph-cmake.sh: build with cmake

No make check for the time being.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #62 from ceph/wip-ovh
Dan Mick [Thu, 3 Sep 2015 04:17:27 +0000 (21:17 -0700)]
Merge pull request #62 from ceph/wip-ovh

move a few gitbuilders to ovh

Reviewed-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile: move 3 gitbuilders to ovh 62/head
Sage Weil [Wed, 2 Sep 2015 22:01:39 +0000 (18:01 -0400)]
fabfile: move 3 gitbuilders to ovh

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: get epel file from fedora, not internal mirror
Sage Weil [Wed, 2 Sep 2015 22:01:29 +0000 (18:01 -0400)]
fabfile: get epel file from fedora, not internal mirror

for external gitbuidlers benefit

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agouse-mirror.sh: no mirror if /srv/autobuild-ceph/no-mirror exists
Sage Weil [Wed, 2 Sep 2015 20:52:21 +0000 (16:52 -0400)]
use-mirror.sh: no mirror if /srv/autobuild-ceph/no-mirror exists

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: disable c++11 builds on wheezy
Sage Weil [Fri, 28 Aug 2015 20:56:45 +0000 (16:56 -0400)]
fabfile: disable c++11 builds on wheezy

Compiler is too old (experimental c++11 support only)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #57 from ceph/wip-fc22
Sage Weil [Tue, 11 Aug 2015 13:12:04 +0000 (09:12 -0400)]
Merge pull request #57 from ceph/wip-fc22

make fedora 22 builder go

8 years agoMerge pull request #59 from tchaikov/wip-filter
Sage Weil [Tue, 11 Aug 2015 13:11:37 +0000 (09:11 -0400)]
Merge pull request #59 from tchaikov/wip-filter

filter branches on builders not able to compile C++11 code.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agofabfile: create the branches-local file on precise and centos6 hosts 59/head
Kefu Chai [Mon, 10 Aug 2015 15:38:47 +0000 (23:38 +0800)]
fabfile: create the branches-local file on precise and centos6 hosts

* also add a task named `filter_branches` to do this job

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
8 years agobranches-local: filter branches by list in 'filter-branches', if it exists wip-filter 58/head
Sage Weil [Mon, 10 Aug 2015 13:13:24 +0000 (09:13 -0400)]
branches-local: filter branches by list in 'filter-branches', if it exists

If it doesn't exist, behave as before.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add jessie gitbuilder
Sage Weil [Thu, 9 Jul 2015 19:49:20 +0000 (15:49 -0400)]
fabfile: add jessie gitbuilder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-kernel-deb: no need to patch config manually
Ilya Dryomov [Sun, 21 Jun 2015 10:42:50 +0000 (13:42 +0300)]
build-kernel-deb: no need to patch config manually

These were necessary when our base config was circa 3.8.  Now, with
base config from 3.19, both CEPH_FSCACHE and CEPH_FS_POSIX_ACL are on
by default.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agobuild-kernel-rpm: create config file in OUTDIR
Ilya Dryomov [Sun, 21 Jun 2015 10:36:00 +0000 (13:36 +0300)]
build-kernel-rpm: create config file in OUTDIR

build-kernel-deb exports .config to spare downloading and unpacking the
entire packgage just to check if some config option is set.  Do this in
build-kernel-rpm as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agosystemctl start+enable 57/head
Sage Weil [Sat, 20 Jun 2015 22:20:38 +0000 (15:20 -0700)]
systemctl start+enable

8 years agofabfile: behave with systemd
Sage Weil [Tue, 16 Jun 2015 16:06:24 +0000 (09:06 -0700)]
fabfile: behave with systemd

systemctl start and enable

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: fix packages for fedora
Sage Weil [Tue, 16 Jun 2015 16:06:11 +0000 (09:06 -0700)]
fabfile: fix packages for fedora

Some of thse are missing (and would get caught by install-deps anyway),
and there was a missing ,

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: drop yum -- arg, it confuses dnf
Sage Weil [Tue, 16 Jun 2015 16:05:38 +0000 (09:05 -0700)]
fabfile: drop yum -- arg, it confuses dnf

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add fedora 22 builder
Sage Weil [Tue, 16 Jun 2015 16:05:25 +0000 (09:05 -0700)]
fabfile: add fedora 22 builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #56 from ceph/wip-kernel-configs
Sage Weil [Sat, 20 Jun 2015 22:19:43 +0000 (15:19 -0700)]
Merge pull request #56 from ceph/wip-kernel-configs

kernel-config: separate deb and rpm configs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agokernel-config: separate deb and rpm configs 56/head
Ilya Dryomov [Fri, 19 Jun 2015 16:33:33 +0000 (19:33 +0300)]
kernel-config: separate deb and rpm configs

Need selinux on centos and rhel while ubuntu uses apparmor.  There
probably are more subtle things like that, so instead of trying to cram
it into one config, use two native configs.  These in particular are
slightly (not nearly enough) stripped 3.19 ubuntu and fedora configs
with some Kernel hacking stuff enabled.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #55 from dachary/wip-automake-check-output
Ken Dreyer [Wed, 10 Jun 2015 21:52:52 +0000 (15:52 -0600)]
Merge pull request #55 from dachary/wip-automake-check-output

the make check output is in test-suite.log

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agothe make check output is in test-suite.log 55/head
Loic Dachary [Wed, 10 Jun 2015 21:23:41 +0000 (23:23 +0200)]
the make check output is in test-suite.log

Searching the .trs files is not compatible with automake-1.11.

See also https://github.com/ceph/ceph/pull/4923 for more context.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #54 from dachary/wip-hammer-timeout
Loic Dachary [Wed, 10 Jun 2015 05:45:17 +0000 (07:45 +0200)]
Merge pull request #54 from dachary/wip-hammer-timeout

make check times out after 1h30 instead of 1h00

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agomake check times out after 1h30 instead of 1h00 54/head
Loic Dachary [Tue, 9 Jun 2015 15:21:05 +0000 (17:21 +0200)]
make check times out after 1h30 instead of 1h00

Because of http://tracker.ceph.com/issues/11931 make check on hammer can
take more than one hour without it being a real problem. So we need to
be more generous with the timeout.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #53 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 13:56:48 +0000 (15:56 +0200)]
Merge pull request #53 from dachary/wip-11929-linger-kill

tarbal: kill -9 ceph-mon / ceph-osd always succeed

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarball: kill -9 ceph-mon / ceph-osd always succeed 53/head
Loic Dachary [Tue, 9 Jun 2015 12:40:38 +0000 (14:40 +0200)]
tarball: kill -9 ceph-mon / ceph-osd always succeed

The error code of kill -9 ceph-{mon,osd} must be ignored otherwise the
build may return on error if it fails to kill the process just because
all has been cleaned up as it should.

http://tracker.ceph.com/issues/11929 Fixes: #11929

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #52 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 12:08:04 +0000 (14:08 +0200)]
Merge pull request #52 from dachary/wip-11929-linger-kill

tarbal: kill -9 lingering ceph-mon / ceph-osd

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarbal: kill -9 lingering ceph-mon / ceph-osd 52/head
Loic Dachary [Tue, 9 Jun 2015 08:46:07 +0000 (10:46 +0200)]
tarbal: kill -9 lingering ceph-mon / ceph-osd

be more agressive about killing ceph-mon / ceph-osd as they may be
unresponsive when / if there is a bug.

http://tracker.ceph.com/issues/11929 Fixes: #11929

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #51 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 11:15:42 +0000 (13:15 +0200)]
Merge pull request #51 from dachary/wip-11929-linger-kill

tarbal: kill lingering ceph-mon / ceph-osd

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarbal: kill lingering ceph-mon / ceph-osd 51/head
Loic Dachary [Tue, 9 Jun 2015 08:46:07 +0000 (10:46 +0200)]
tarbal: kill lingering ceph-mon / ceph-osd

When a make check fails it is entirely possible that ceph-osd remain,
because they have their own process group. Kill whatever ceph-osd or
ceph-mon are left behind.

We kill ceph-osd / ceph-mon regardless of the success / failure status
of make check because we also want to address the case where a test
pretends to succeed but left daemons behind.

http://tracker.ceph.com/issues/11929 Fixes: #11929

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agofabfile: install more needed rpms
Sage Weil [Thu, 4 Jun 2015 22:19:07 +0000 (18:19 -0400)]
fabfile: install more needed rpms

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: centos7 notcmalloc builder
Sage Weil [Thu, 4 Jun 2015 22:18:59 +0000 (18:18 -0400)]
fabfile: centos7 notcmalloc builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #48 from ceph/wip-rpm-major
Sage Weil [Tue, 2 Jun 2015 22:05:54 +0000 (15:05 -0700)]
Merge pull request #48 from ceph/wip-rpm-major

fix rsync-target for rpm systems

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agofabfile: use only major version for rpm systems 48/head
Sage Weil [Tue, 2 Jun 2015 17:05:22 +0000 (10:05 -0700)]
fabfile: use only major version for rpm systems

centos7, not centos7_1_1503 (or whatever).  This was breaking the
rsync-target for gitbuilder-ceph-rpm-centos7-amd64-basic.

Signed-off-by: Sage Weil <sage@inktank.com>
8 years agoMerge pull request #47 from ceph/wip-bootstrap
Dan Mick [Tue, 2 Jun 2015 04:50:06 +0000 (21:50 -0700)]
Merge pull request #47 from ceph/wip-bootstrap

bootstrap: copy from teuthology

..with the removal of --system-site-packages

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agobootstrap: copy from teuthology wip-bootstrap 47/head
Sage Weil [Tue, 2 Jun 2015 04:48:11 +0000 (00:48 -0400)]
bootstrap: copy from teuthology

Drop some dependencies (libevent, mysql) and skip setup.py (which we
don't have).

Drop system-site-packages

Create virtualenv/bin -> bin symlink

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #46 from ceph/wip-cleanup
Dan Mick [Tue, 2 Jun 2015 04:42:43 +0000 (21:42 -0700)]
Merge pull request #46 from ceph/wip-cleanup

fix a million things in fabfile, cleanup, etc.

Reviewed-by: Dan Mick dmick@redhat.com
8 years agofabfile: centos7 gb instead of rhel7 wip-cleanup 46/head
Sage Weil [Mon, 1 Jun 2015 17:34:20 +0000 (10:34 -0700)]
fabfile: centos7 gb instead of rhel7

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: build ceph-ci too for deb and rpm builders
Sage Weil [Mon, 1 Jun 2015 16:28:07 +0000 (09:28 -0700)]
fabfile: build ceph-ci too for deb and rpm builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobootstrap: what's pip -E? use virtualenv/pip in now-standard way
Dan Mick [Tue, 2 Jun 2015 01:26:39 +0000 (18:26 -0700)]
bootstrap:  what's pip -E?  use virtualenv/pip in now-standard way

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile: drop rhel builders
Sage Weil [Fri, 29 May 2015 17:59:29 +0000 (10:59 -0700)]
fabfile: drop rhel builders

...except for the rhel7 kernel one, since we don't have a centos7 one up
to take its place.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: gitbuidler_kernel_{deb,rpm}
Sage Weil [Fri, 29 May 2015 17:31:47 +0000 (10:31 -0700)]
fabfile: gitbuidler_kernel_{deb,rpm}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill oneiric
Sage Weil [Fri, 29 May 2015 17:29:49 +0000 (10:29 -0700)]
fabfile: kill oneiric

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill ndn and dho cruft
Sage Weil [Fri, 29 May 2015 17:29:30 +0000 (10:29 -0700)]
fabfile: kill ndn and dho cruft

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill apache2 builders
Sage Weil [Fri, 29 May 2015 17:28:38 +0000 (10:28 -0700)]
fabfile: kill apache2 builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill kmod builder
Sage Weil [Fri, 29 May 2015 17:27:42 +0000 (10:27 -0700)]
fabfile: kill kmod builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add rpm kernel builders
Sage Weil [Thu, 28 May 2015 23:16:00 +0000 (19:16 -0400)]
fabfile: add rpm kernel builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: drop rhel7 builders
Sage Weil [Thu, 28 May 2015 23:14:18 +0000 (19:14 -0400)]
fabfile: drop rhel7 builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #42 from ceph/wip-install-deps
Sage Weil [Fri, 29 May 2015 15:21:02 +0000 (08:21 -0700)]
Merge pull request #42 from ceph/wip-install-deps

Use install-deps.sh in build-ceph scripts

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #45 from ceph/wip-build-rpm
Ken Dreyer [Thu, 28 May 2015 18:33:14 +0000 (12:33 -0600)]
Merge pull request #45 from ceph/wip-build-rpm

build-ceph-rpm.sh: fix rpmbuild for ceph-release file

8 years agobuild-ceph-rpm.sh: fix rpmbuild for ceph-release file wip-build-rpm 45/head
Sage Weil [Thu, 28 May 2015 18:31:12 +0000 (14:31 -0400)]
build-ceph-rpm.sh: fix rpmbuild for ceph-release file

We don't want that stray --define arg.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #44 from ceph/wip-el7
Zack Cerza [Wed, 27 May 2015 18:04:53 +0000 (12:04 -0600)]
Merge pull request #44 from ceph/wip-el7

fabfile: set $dist to .el7 on centos 7

8 years agofabfile: set $dist to .el7 on centos 7 44/head
Sage Weil [Wed, 27 May 2015 18:03:11 +0000 (11:03 -0700)]
fabfile: set $dist to .el7 on centos 7

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #43 from dachary/wip-gitbuilder-master
Kefu Chai [Wed, 27 May 2015 10:46:39 +0000 (18:46 +0800)]
Merge pull request #43 from dachary/wip-gitbuilder-master

fabfile: always use gitbuilder master

Reviewed-by: Kefu Chai <kchai@redhat.com>