Commit Graph

4064 Commits

Author SHA1 Message Date
Loic Dachary
1dddc118d3 erasure-code: enable ec-rados-default.yaml
The ec-rados-default.yaml started with:

  workload:
    sequential:

which is only suitable for suites/upgrade/giant-x/parallel/2-workload/sequential_run/ec-rados-default.yaml

because suites/upgrade/giant-x/parallel/1-giant-install/giant.yaml has

   - parallel:
      - workload
      - upgrade-sequence

The same file was included in contexts where the parallel task was not
used and the workload did not run:

  ./suites/upgrade/firefly-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code-x86_64/5-workload/ec-rados-default.yaml

The ec-rados-default.yaml is modified to be a task instead of a
sequential task in a parallel tasks. The ec-rados-sequential.yaml is
added and is linked in
suites/upgrade/giant-x/parallel/2-workload/sequential_run instead of ec-rados-default.yaml.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-03-25 17:33:31 +01:00
Loic Dachary
cfc0d0784b Merge pull request #375 from dachary/wip-rgw-regional-summary
ensure summary is looked for the user we need (part 2)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-23 01:17:07 +01:00
Loic Dachary
97e6d808f0 ensure summary is looked for the user we need (part 2)
Move the get_user_summary(out, user) logic to util.rgw so that it can be
shared between radosgw_admin_rest.py and radosgw_admin.py and modify
them accordingly.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-03-22 21:07:51 +01:00
Gregory Farnum
d1c415f287 Merge pull request #373 from ceph/wip-10861
fs: fix up dd testing again

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-03-20 17:44:03 -07:00
Gregory Meno
798f31d836 Merge pull request #371 from ceph/wip-iso-style
Add support for ISOs to tasks/calamari_setup
2015-03-20 20:33:53 -04:00
Greg Farnum
8aeacaa59f fs: fix up dd testing again
We need to change into the directory during the same shell session as we actually
run the dd...

Fixes: #10861

Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-03-20 17:33:10 -07:00
Dan Mick
c571e65671 calamari_setup: oops: ice-tools is still where it was on github.com
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-20 17:28:10 -07:00
Andrew Schoen
dfea7dd46c Merge pull request #372 from ceph/wip-11180
ensure summary is looked for the user we need
2015-03-20 09:33:13 -05:00
Alfredo Deza
f7ea0a424a ensure summary is looked for the user we need
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-03-20 09:27:05 -04:00
Gregory Meno
81c493c99f calamari_setup: add -y to yum localinstall icesetup
also fix a few flake8 things

Signed-off-by: Ubuntu <ubuntu@vpm047.front.sepia.ceph.com>
2015-03-19 20:14:52 +00:00
Dan Mick
93c0b8a0bd calamari_setup: handle iso, preserving support for tar.gz
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 18:03:21 -07:00
Dan Mick
da668abb92 calamari_setup: small comment/logmsg fixes, correct git user path
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 18:03:18 -07:00
Dan Mick
9087b7da12 calamari_setup: make iceball fetch/creators return path to iceball
Also, widen the concept of "iceball" to include both iso and tar.gz

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 17:16:53 -07:00
Dan Mick
34e7544e12 calamari_setup: Refactor/simplify in preparation for iso support
Signed-off-by: Gregory Meno <gmeno@redhat.com>
2015-03-18 17:16:41 -07:00
Josh Durgin
62f1d8d5db Merge pull request #364 from ceph/wip-11043
Implemented "exclude_packages" feature #11043
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-06 11:34:42 -08:00
Yuri Weinstein
4250e22dde Implemented "exclude_packages" feature #11043
Fixed per Josh's comment

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-03-05 16:47:58 -08:00
Yuri Weinstein
2539a48e20 Implemented "exclude_packages" feature #11043
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-03-05 16:19:48 -08:00
John Spray
c1bff2ea9e Merge pull request #357 from ceph/wip-10949
tasks/cephfs: clean up core on deliberate crash

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-04 19:14:43 +00:00
John Spray
7ad8ac63fc tasks/cephfs: clean up core on deliberate crash
To avoid internal.coredump task synthesizing a failure
during teardown from the core we left behind.

Fixes: #10949
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-04 19:13:43 +00:00
Zack Cerza
17a7db126a Merge pull request #362 from ceph/wip-11020
Control the nfs service correctly on rpm-based systems
2015-03-04 09:03:33 -07:00
Andrew Schoen
2e4d884fda Control the nfs service correctly on rpm-based systems
This fixes issue #11020

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-03-04 08:57:03 -06:00
Zack Cerza
e5abbc932a Merge pull request #360 from ceph/wip-11013
Fixes #11013, use time.sleep instead of manager.sleep which isn't there.
2015-03-03 15:55:33 -07:00
Andrew Schoen
811c02e392 Fixes #11013, use time.sleep instead of manager.sleep which isn't there.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-03-03 16:42:59 -06:00
John Spray
1647453d66 Merge pull request #356 from ceph/wip-10948
tasks/cephfs: don't run iptables in parallel

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-03 20:25:09 +00:00
John Spray
386b6feaaf Merge pull request #358 from ceph/wip-10712
tasks: fix intermittent failure in TestFlush

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-03 11:42:09 +00:00
John Spray
04e70a4095 Merge pull request #334 from ceph/wip-fuse-umount
tasks/cephfs: fix fuse force umount (again)

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-03 11:40:12 +00:00
John Spray
d20d9238cd tasks: fix intermittent failure in TestFlush
This was an overly strict success condition: the
flush operation doesn't promise to leave you an empty
journal, it promises that anything in the journal
before the flush will be flushed.

Fixes: #10712
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-02 12:53:01 +00:00
John Spray
5b2fd3d614 tasks/cephfs: don't run iptables in parallel
Where multiple MDSs were on the same node, trying
to concurrently update their firewall state was
causing an exception because the iptables command
errors out if another instance is already running.

Fixes: #10948
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-02 12:41:13 +00:00
Josh Durgin
15c5151858 Merge pull request #354 from ceph/wip-multi-versions
Changed suite name from multi-versions to client-upgrade

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-02-27 16:15:30 -08:00
Yuri Weinstein
bcf7eabc5f Changed suite name from multi-versions to client-upgrade
Moved it under upgrades
Replaced rbd workunit

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-02-27 16:09:30 -08:00
John Spray
fc4e90930b tasks/cephfs: fix/improve fuse force umount (again)
teuthology helpfully escapes things for us so
the \; didn't need the backslash.  The logic
was still falling over in some cases too.

Additionally, make the FUSE /sys/ abort operation
more surgical by working out the connection name
of our own mount during mount().

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-26 23:08:33 +00:00
Samuel Just
e9d713b751 msgr: move async msgr tests to singleton-nomsgr
Introduced: e92d2e4ca0
Fixes: 10918
Signed-off-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-26 14:33:25 -08:00
Alfredo Deza
69a86b31ac exclude the virtualenv from being linted in tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b944b06dc2)
(cherry picked from commit 6de0a684d5b4460390e610806201e3eaf05feb6e)
2015-02-26 16:22:58 -05:00
Alfredo Deza
834a724932 fix path for tox.ini to work on ceph-qa-suite only
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 4eb1787280)
2015-02-26 14:22:27 -05:00
Zack Cerza
fc91906aec Merge pull request #347 from ceph/wip-10954
impelement a tox job to catch bad linter errors
2015-02-26 09:49:47 -07:00
Alfredo Deza
0a65e90db2 remove uneeded variable assignment for call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:35:31 -05:00
Alfredo Deza
3a18cb29a8 remove redefined StringIO import
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:35:07 -05:00
Alfredo Deza
49a61dc2d2 stdin is no longer a kwarg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:34:21 -05:00
Alfredo Deza
f7c1ca4a1e add the log object to ceph_manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:33:47 -05:00
Alfredo Deza
920552a266 remove unused import from repair test
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:32:09 -05:00
Alfredo Deza
1673be45c0 add missing mon object to osd_failsafe
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:31:31 -05:00
Alfredo Deza
959c491462 remove unused imports from populate_rbd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:27:11 -05:00
Alfredo Deza
6d45352782 remove unused imports from peering_speed
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:26:42 -05:00
Alfredo Deza
9df27f7a10 remove unused variable assignment
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:26:15 -05:00
Alfredo Deza
d22cd6917b remove unused import in calamari_setup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:25:12 -05:00
Alfredo Deza
26c5a82af9 fix undefined var in divergent_priors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:24:41 -05:00
Alfredo Deza
e4ba81700b fix lint errors on ceph_fuse
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:20:19 -05:00
Alfredo Deza
7108b699fd initial tox.ini to run flake8
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:18:44 -05:00
Alfredo Deza
4068f73ade ignore tox hidden dir
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 11:18:28 -05:00
Josh Durgin
aa6240c6f4 rbd: fix copy-on-read setting
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-02-25 23:00:34 -08:00