Kefu Chai
2fa726b88c
qa/tasks: flake8 fixes
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-23 23:00:56 +08:00
Kyr Shatskyy
982ba399b3
qa/tasks/ceph_deploy: get rid of cStringIO for py3
...
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-03-04 13:09:17 +08:00
Changcheng Liu
1d1fe74d47
qa: correct zap disk with ceph-deploy tool
...
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-11-01 14:01:52 +08:00
Kyr Shatskyy
50b1823fac
qa: get rid of iteritems for python3 compatibility
...
Fixes: https://tracker.ceph.com/issues/42267
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2019-10-15 11:27:39 +02:00
Kyr Shatskyy
5f95b532aa
qa: get rid of iterkeys for py3 compatibility
...
Fixes: https://tracker.ceph.com/issues/42287
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2019-10-11 18:54:29 +02:00
Sage Weil
97a45c9c2e
qa/tasks/ceph_deploy: assume systemd and simplify shutdown wonkiness
...
The 'service' command was succeeding but not actually stopping ceph. But
we can safely assume systemd now so get rid of the weirdness here.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-16 10:25:15 -05:00
Sage Weil
daeaabf187
qa/tasks/ceph_deploy: do not rely on ceph-create-keys
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-11 11:16:32 -05:00
Kefu Chai
42167b8790
qa/tasks/ceph_deploy: install python3.6 instead of python3.4 for py3 tests
...
EPEL7 has switched over to python3.6 as the main python3. and we started
packaging python bindings for python3.6 since
https://github.com/ceph/ceph-build/pull/1283
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-11 10:03:56 +08:00
Vasu Kulkarni
e7883c1fb2
qa/tests: when no branch is specified, use wip branch under test for upgrade
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Vasu Kulkarni
9430f352f4
qa/tests: Fix mapped_role attribute where it gets overwritten for subsequent calls.
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Vasu Kulkarni
9f1a1e0543
qa/tests: Add debug info when creating ceph volumes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-06 12:14:27 -08:00
Vasu Kulkarni
3ecaebd0d8
qa/tests: update tests to use new ceph-volume syntax
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-01 14:11:55 -08:00
Vasu Kulkarni
9fe58d5ed6
Fix get_system_type failure due to invalid remote name
...
recent changes caused the remote name to be invalid, fix the
arg passed to get_system_type
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-10 12:42:16 -07:00
Tamilarasi Muthamizhan
594b736228
Merge pull request #17536 from ceph/wip-cd-rbd-pool
...
qa/tests: fix rbd pool creation for systemd tests
2017-09-07 15:13:32 -07:00
Vasu Kulkarni
5c43c5972d
Add workaround for http://tracker.ceph.com/issues/20950
...
mgr bootstrap key differs on disk, rewrite the new key
using auth get.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:57 -07:00
Vasu Kulkarni
2116f76a1f
Restart services after upgrade
...
This seems to be an issue and should be fixed in our systemd scripts,
need to discuss more on this.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:57 -07:00
Vasu Kulkarni
8a2b9a0809
since the roles are mapped inside ceph-deploy, store the roles that
...
are mapped and use the new mapped role for upgrades during later
stage.
eg: mon.a is mapped to mon.mira002 during install, store this mapping
and durig upgrade map it back to appropriate name to find the hostname
with that role
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:57 -07:00
Vasu Kulkarni
e7a0a4f87f
Add doc string for missing ceph-deploy-branch
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:57 -07:00
Vasu Kulkarni
407ce2613d
use mon.a as ceph-admin node, the previous get_first_mon returns
...
a sorted(mons)[0] as first mon.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:56 -07:00
Vasu Kulkarni
f3ec7cabf6
use elif instead of else to handle cases for jewel install
...
jewel needs neither filestore or bluestore as an option, so provide none
when running with jewel branch.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:56 -07:00
Vasu Kulkarni
9a73127c16
Add upgrade functionality using ceph-deploy
...
This is to test for customer like upgrade scenarios and to find
any issues that may be related to systemd, packaging etc
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:56 -07:00
Vasu Kulkarni
b409c3d163
Fix old flake8 issues
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:56 -07:00
Vasu Kulkarni
a9be0c387e
Add option to skip mgr install for old release
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 12:22:56 -07:00
Vasu Kulkarni
f12127751d
Add mgr create to fix single node test to reach healthy state
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-06 18:13:39 -07:00
Vasu Kulkarni
49f95b3d8b
create the rbd pool right after install
...
rbd pool should exist for many rbd tests to work properly, create
the pool right after install is successful.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-06 18:07:54 -07:00
Sage Weil
800fdd9953
qa/tasks/ceph_deploy: gatherkeys before mgr deploy
...
Otherwise we may be missing the bootstrap-mgr key.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 09:52:17 -04:00
Vasu Kulkarni
2fa0fae72f
Add option to specify bluestore/filestore options
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 12:26:03 -07:00
Vasu Kulkarni
9b81349985
create mgr nodes explicitly now, previously they where
...
started alongside monitor daemons due to systemd rules.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-07 08:16:21 -07:00
Vasu Kulkarni
e58dd3938a
install mgr on the node
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-05-03 16:47:14 -07:00
Vasu Kulkarni
73cccd4115
push keys on node using admin command
...
will test admin command and is now needed due to create-keys change
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-04-07 12:39:19 -07:00
Vasu Kulkarni
2d4ed95f2b
use the create option during instantiation
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-10 15:43:12 -08:00
Vasu Kulkarni
2d6c3fa8b2
Add ceph-create-keys to explicitly create admin/bootstrap keys
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-09 17:14:33 -08:00
Vasu Kulkarni
9f04a7b32e
use dev option instead of dev-commit
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-12-15 14:11:00 -08:00
Sage Weil
c01f2ee0e2
move ceph-qa-suite dirs into qa/
2016-12-14 11:29:55 -06:00