Commit Graph

4128 Commits

Author SHA1 Message Date
Andrew Schoen
7402d5f1a9 Fixes #11013, use time.sleep instead of manager.sleep which isn't there.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 811c02e392)
2015-03-04 10:09:21 -06: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
Andrew Schoen
cdaa11d427 Use an NFS mount instead of virtio-9p in the qemu task
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 93f2bea353)
2015-03-02 15:45:10 -08:00
Greg Farnum
0c9fb0f7be workunit: include /usr/sbin in the PATH for all commands
Fixes: #10600

Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 0e53f5f38b)
2015-03-02 11:29:24 -08:00
Alfredo Deza
d25aa7bdc1 rename test to tests, follows best practices for tests dirs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7b2062602f)
2015-03-02 11:20:35 -08:00
Alfredo Deza
b0ac3516e3 create a new get_acl helper to ensure proper xml is compared
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9b6ff63873)
2015-03-02 11:20:23 -08:00
Alfredo Deza
20a1ae72ef tests for the new acl helper in radosgw_admin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 3801ac9357)
2015-03-02 11:20:11 -08: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
Yuri Weinstein
1464fb85f6 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>
(cherry picked from commit bcf7eabc5f)
2015-02-27 16:23:33 -08: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
Zack Cerza
e382d954fd Merge pull request #349 from ceph/wip-10954-hammer
lint fixes for hammer
2015-02-26 13:09:15 -07:00
Alfredo Deza
a8a29760f0 remove unused import from repair_test
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 15:04:02 -05:00
Alfredo Deza
a4dc846c8a ignore tox hidden dir
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 4068f73ade)
2015-02-26 15:03:27 -05:00
Alfredo Deza
9157622ef7 remove unused variable assignment
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9df27f7a10)
2015-02-26 15:02:07 -05:00
Alfredo Deza
3f3ce53fde remove unused import from fuse
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 14:55:02 -05:00
Alfredo Deza
35224e3dda remove uneeded variable assignment for call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0a65e90db2)
2015-02-26 14:54:14 -05:00
Alfredo Deza
976773a5d0 remove unused import in calamari_setup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d22cd6917b)
2015-02-26 14:53:35 -05:00
Alfredo Deza
e8e1e7ee5e remove unused imports from populate_rbd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 959c491462)
2015-02-26 14:52:58 -05:00
Alfredo Deza
28d3075266 remove unused imports from peering_speed
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 6d45352782)
2015-02-26 14:52:40 -05:00
Alfredo Deza
5018e91c1e remove redefined StringIO import
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 3a18cb29a8)
2015-02-26 14:48:53 -05:00
Alfredo Deza
4ed442e44c stdin is no longer a kwarg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 49a61dc2d2)
2015-02-26 14:48:40 -05:00
Alfredo Deza
33f7982480 add the log object to ceph_manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f7c1ca4a1e)
2015-02-26 14:48:30 -05:00
Alfredo Deza
9cdd278d08 add missing mon object to osd_failsafe
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 1673be45c0)
2015-02-26 14:47:35 -05:00
Alfredo Deza
744bc3802e fix undefined var in divergent_priors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 26c5a82af9)
2015-02-26 14:47:08 -05:00
Alfredo Deza
b944b06dc2 exclude the virtualenv from being linted in tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-02-26 14:37:25 -05:00
Alfredo Deza
20b2c3d29b 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:32:56 -05:00
Alfredo Deza
6a4d62e7fb initial tox.ini to run flake8
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7108b699fd)
(cherry picked from commit e1c85f330b)
2015-02-26 14:32:44 -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