John Spray
eab70197a6
tasks/ceph: wait for MDS to be active when creating a cluster
...
This is the correct implementation of 685d76a77c
,
merged while broken in ff1655cb57
and
reverted in 4cccde634f
.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-09-21 16:05:51 -07:00
Sage Weil
caa9235857
Merge pull request #566 from ceph/wip-s3-branch-fix
...
Use old branches as is without 'ceph-' for firefly, hammer etc
2015-09-18 10:10:10 -04:00
Greg Farnum
4cccde634f
Revert "Merge pull request #567 from ceph/ceph_fuse-timeout"
...
This reverts commit ff1655cb57
, reversing
changes made to 2b25080d4f
.
Since we haven't actually started the MDS daemons yet, this code is broken.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-09-17 07:29:28 -07:00
Gregory Farnum
2f43e23fc6
Merge pull request #569 from dachary/wip-13031-packages
...
buildpackages: fix flake / pep8
2015-09-16 14:29:19 -07:00
Loic Dachary
e38a6d69df
buildpackages: build the repository and the packages
...
http://tracker.ceph.com/issues/13031 Fixes : #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-16 23:19:34 +02:00
Greg Farnum
685d76a77c
ceph: wait for CephFS to be healthy before proceeding
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-09-16 13:53:36 -07:00
Vasu Kulkarni
08bae3b9d2
Use old branches as is without 'ceph-' for firefly, hammer etc
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-09-16 13:21:51 -04:00
Loic Dachary
8c618e5645
buildpackages: re-use config from install task
...
So that the packages built match what the install task expects.
http://tracker.ceph.com/issues/13031 Fixes : #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-15 17:37:05 +02:00
Loic Dachary
d40d8ff501
buildpackages: pep8 compliance
...
http://tracker.ceph.com/issues/13031 Fixes : #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-15 16:16:34 +02:00
Loic Dachary
0eeb441bb0
buildpackages: build ceph packages and upload them
...
Import install from task.
http://tracker.ceph.com/issues/13031 Fixes : #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-15 16:13:09 +02:00
Loic Dachary
2b25080d4f
buildpackages: build ceph packages and upload them
...
Build Ceph packages from source for the required revision, os_type,
os_version and architecture and upload them to the gitbuilder
repository.
http://tracker.ceph.com/issues/13031 Fixes : #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-15 12:01:05 +02:00
Sage Weil
5af28cf746
tasks/radosbench: allow cleanup: false
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 16:52:41 -04:00
Zack Cerza
e9847570de
Merge pull request #561 from ceph/wip-sudo
...
sudo ceph
2015-09-11 10:20:50 -06:00
Sage Weil
dad981d339
tasks: sudo ceph for cli
...
/var/run/ceph is 770. This is mainly necessary for any
interaction with the daemon sockets, but it is what users do
and it may avoid log noise.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 12:15:01 -04:00
Sage Weil
9b3f36f91f
ceph: add option to expect valgind errors and fail if there are none
...
See #10328
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 11:53:37 -04:00
Gregory Farnum
6ac2774823
Merge pull request #550 from ceph/wip-12806
...
tasks/qemu: avoid adding duplicated entries to /etc/exports
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-09-09 14:53:45 +01:00
Sage Weil
a328e3e60d
tasks/ceph_manager: dump pgs when recover times out
...
It is really hard to map a stuck recovery back to the pgs that
are stuck. This will make it easy.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-08 08:59:49 -04:00
Sage Weil
394dbc1890
Merge remote-tracking branch 'gh/wip-ceph-deploy'
2015-09-06 13:36:07 -04:00
Kefu Chai
ff4e2ad3dc
Merge pull request #552 from ceph/wip-12878
...
tasks/scrub_test: sudo ls ...
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-06 18:26:56 +08:00
Sage Weil
6064443ad1
tasks/divergent_prior[2]: fix rados get syntax
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-05 09:25:24 -04:00
Sage Weil
7b3ea31efe
tasks/reg11184.py: fix rados get syntax
...
no -o
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-05 09:23:54 -04:00
Sage Weil
26eb35d611
tasks/s3tests: use ceph-$foo branches
...
We need to be able to merge things into s3-tests master that
break rgw. Create ceph-foo branches (ceph-master,
ceph-infernalis, etc.) and use those instead.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-04 14:42:21 -04:00
Sage Weil
d46c3a53ab
tasks/scrub_test: sudo ls ...
...
/var/lib/ceph/osd/* is owned by ceph now; ubuntu user can't read
it.
Fixes : #12878
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-02 22:01:58 -04:00
Sage Weil
0553e50401
tasks/ceph_deploy: install ceph-test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-02 18:45:33 -04:00
John Spray
8e275049a0
tasks/cephfs: fix mount_timeout config loading
...
Previously were defaulting to a string, which
always compared greater than elapsed, so never
timed out.
Fixes : #12820
Signed-off-by: John Spray <john.spray@redhat.com>
2015-09-01 11:31:23 +01:00
Sage Weil
f5865d32a8
tasks/ceph_deploy: work with systemd
...
This is ugly, but I'm not going to rewrite this right now.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-31 14:21:29 -04:00
Loic Dachary
fbaedbf9fa
Merge pull request #546 from dachary/wip-11881-multipath
...
ceph-disk workunit
2015-08-31 17:30:05 +02:00
Yan, Zheng
7de534c1da
tasks/qemu: avoid adding duplicated entries to /etc/exports
...
try deleting leftover entries for previous job
Fixes : #12806
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-08-31 22:27:38 +08:00
Sage Weil
33ad04c715
Merge remote-tracking branch 'gh/next'
2015-08-28 15:41:17 -04:00
John Spray
ffe79e9f31
tasks/cephfs: timeout on wait in test_network_death
...
So that we can get a failure instead of a hang in
Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-28 13:57:23 +01:00
John Spray
a3f8a44d25
Merge remote-tracking branch 'origin/next'
2015-08-28 09:17:28 +01:00
Loic Dachary
d6c72c3a25
ceph-deploy: implement only_mon
...
If only_mon is true, do not attempt to deploy osds.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-08-27 23:23:53 +02:00
Loic Dachary
b181783166
ceph-deploy: implement keep_running
...
When keep_running is true, do not shutdown the cluster, leave it as it
is for other workunits or tasks to use. This effectively allows the
ceph-deploy task to be used as a helper to deploy clusters.
The call to build_ceph_cluster is simplified by giving it the whole
configuration dictionary instead of re-building one with selected arguments.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-08-27 23:20:25 +02:00
Loic Dachary
e5db657e86
ceph-deploy: ceph report on failure
...
When ceph-deploy fails, run ceph report to get more information about
the state of the cluster at the time of the failure.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-08-27 23:19:22 +02:00
John Spray
df8cecf479
tasks/cephfs: fix test_pool_perm teardown
...
Fixes : #12777
Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-27 17:53:24 +01:00
Andrew Schoen
766da54dbc
ceph_deploy: if a branch is given, use it when installing rgw
...
Fixes: http://tracker.ceph.com/issues/12758
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-08-24 10:09:24 -05:00
Yan, Zheng
753f93dde8
Merge pull request #526 from ceph/wip-stashed-layout
...
tasks/cephfs: implement TestDataScan.test_stashed_layout
2015-08-20 19:03:59 +08:00
Travis Rhoden
dceae70ece
Merge pull request #514 from ceph/wip-cd-add-branch-install
...
- Use branch from config for ceph-deploy testing
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-08-14 11:24:08 -07:00
John Spray
c1ca95cd16
tasks/cephfs: implement TestDataScan.test_stashed_layout
...
This is for testing how cephfs-data-scan handles
the new 'layout' xattr when found during recovery.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-13 14:29:35 +01:00
Ken Dreyer
0cf220ad4f
calamari_setup: install "cli" utils on Calamari node
...
In our RHCS 1.3 ceph-deploy docs, we tell users to run "ceph-deploy
install --cli" on their calamari admin node, but our smoke test wasn't
actually doing this.
See https://bugzilla.redhat.com/1252929 , "[Ubuntu 1.3.0] - ceph-deploy
install --no-adjust-repos --cli `hostname` is failing with a Traceback
error"
2015-08-12 14:52:37 -06:00
Dan Mick
532a4e4a8b
calamari_setup: change to use ceph-deploy repo command
...
Fixes : #12643
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-08-11 16:14:38 -07:00
Ken Dreyer
63e6d87db4
calamari_setup: handle RHCS 1.2 (missing /mnt/MON)
...
In RHCS 1.2 we don't have a /mnt/MON directory. The intention of
35c6363a1e
was to handle this condition,
but in 1.2, the non-zero return code makes Teuthology fail the whole
test.
We don't want *Teuthology* itself to act on the return code here; we
simply want to know what it was and structure the rest of the test
accordingly.
2015-08-06 07:58:35 -06:00
Alfredo Deza
af973259ef
fix indentation error in docstring
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-08-06 08:41:17 -04:00
John Spray
9f530092e2
tasks: fix syntax error in ceph.py
...
From e195f9fa
.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-06 10:25:03 +01:00
Andrew Schoen
fd39a7e0bf
Merge pull request #520 from ceph/wip-logrotate-chcon
...
Set the SELinux context of the logrotate config
2015-08-05 16:30:57 -05:00
Zack Cerza
e195f9fa1c
Set the SELinux context of the logrotate config
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2015-08-05 10:08:35 -06:00
Sage Weil
c93fe1f1c6
tasks/ceph_manager: be silent about sending SIGHUPs
...
At the default interval this generates tons of log noise.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-04 13:08:04 -04:00
Zack Cerza
657dd9ecf0
Merge pull request #515 from ceph/wip-12476
...
thrashosds: send a random osd a signal.SIGHUP
2015-07-29 09:03:50 -06:00
Dan Mick
6726f4f1fa
calamari_setup: only stop ceph on osd/mon machines
...
Fixes bogus failure at end of run on calamari server
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00
Dan Mick
30dbe93125
calamari_setup: hack for 1.3.0 on centos: install lttng from EPEL
...
lttng is not yet part of any private repo; since 1.3.0/CentOS is not
a supported product, just grab it from EPEL for this test.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00