Commit Graph

37 Commits

Author SHA1 Message Date
Brad Hubbard
c9317ea2ae qa/ceph-ansible: CA master requires Ansible 2.9
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-03-30 19:46:19 +10:00
Brad Hubbard
a12353815d qa/ceph-ansible: rule_name is required for pool creation
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-03-30 16:21:14 +10:00
Brad Hubbard
3f910432f7 qa/ceph-ansible: Upgrade ansible version
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-02-18 11:02:10 +10:00
Brad Hubbard
131f5a145a qa/ceph-ansible: Disable dashboard
Recently a dashboard playbook was added which will fail without a
grafana server so disabling the dashboard

Fixes: https://tracker.ceph.com/issues/41518

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-08-27 13:51:37 +10:00
Brad Hubbard
1c74e0ae42
Merge pull request #28803 from badone/wip-ceph_ansible_upgrade-ansible-2.8
qa/ceph-ansible: Move to ansible 2.8

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-04 14:51:18 +10:00
Brad Hubbard
8631b04de1 qa/ceph-ansible: Replace pgs with pg_num
ceph-ansible expects the variable pg_num, not pgs.

Fixes: http://tracker.ceph.com/issues/40605

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-01 16:10:54 +10:00
Brad Hubbard
cb9bc299df qa/ceph-ansible: Move to ansible 2.8
Fixes: http://tracker.ceph.com/issues/40602

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-01 12:31:10 +10:00
Brad Hubbard
db046d007c qa/ceph-ansible: Move to Nautilus
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-03-16 12:40:04 +10:00
Brad Hubbard
d74cae117c qa/ceph-ansible: Set ceph_stable_release to mimic
Fixes: http://tracker.ceph.com/issues/38231

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-02-08 12:10:00 +10:00
Brad Hubbard
bf3fb55a90 qa/tests: Move ceph-ansible tests to ansible version 2.7
Required by ceph-ansible master

Fixes: http://tracker.ceph.com/issues/37973

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-01-22 15:23:17 +10:00
Vasu Kulkarni
4c371daf99 qa/tests: update ansible version to 2.6 for master branch testing.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-10-01 15:10:49 -07:00
Vasu Kulkarni
b0fc647e3f qa/tests: use lvm as default for ceph-ansible testing, this should also work with raw devices
and using the batch mode should auto select nvme/ssd for journal.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-10-01 12:05:50 -07:00
Yuri Weinstein
f40ea9709f qa/tests: Set ansible-version: 2.5
Fixes http://tracker.ceph.com/issues/24926
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-07-18 17:28:34 -07:00
Patrick Donnelly
b39f9d06dc
qa: fix symlinks indirectly pointing at qa to .qa
Building on the previous commit.

Command used:

$ find suites/ -type l -and -not -name .qa -execdir ~/fix.sh {} \;

fix.sh:
    #!/bin/bash

    link="$(readlink "$1")"

    echo $link
    dirlink="$(dirname "$link")"
    baselink="$(basename "$link")"

    while true; do
        echo $dirlink
        if [ "$dirlink" -ef ~/ceph/qa ]; then
            ln -nsf ".qa/$baselink" "$1"
            exit
        else
            baselink="$(basename "$dirlink")/$baselink"
            dirlink="$(dirname "$dirlink")"
            if [ "$dirlink" -ef . ]; then
                break
            fi
        fi
    done

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:48:38 -07:00
Patrick Donnelly
716db6e2fd
qa: add .qa helper link
This utilizes the recent feature in teuthology [1] to skip hidden files in
suites when building the job matrix.

Idea of this change is to enable referring to the top-level qa directory in a
position-independent way such that copies of a suite to another location do not
break any symlinks.

[1] https://github.com/ceph/teuthology/pull/1185

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:33:48 -07:00
Yuri Weinstein
10fc85089c qa/tests - Added options to use both cases: mon.a and installer.0
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-01-02 10:12:54 -08:00
Yuri Weinstein
3b2a26d919 qa/tests: run ceph-ansible task on installer.0 role/node
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-12-20 13:12:41 -08:00
Kefu Chai
caf9ee5c60 qa: add "restful" to ceph_mgr_modules in ceph-ansible suite
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-31 11:21:58 +08:00
Yuri Weinstein
fe4b0aaa33 tests - ceph-ansible vars additions
added symlinks for distros

Fixes http://tracker.ceph.com/issues/21822
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit f30e9a5e6b)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-10-18 09:06:35 -07:00
Vasu Kulkarni
077904a0b5 qa/tests: Fix ceph-ansible upstream vars
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-19 17:11:56 -07:00
Vasu Kulkarni
b1fd615e9f Stop the mgr on node which is not client, this will ensure
the client.0's mgr is active mgr for workunit to work.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-08 10:00:49 -07:00
Vasu Kulkarni
e5b5a1b8c8 Test ceph-mgr RESTful api
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 17:10:04 -07:00
Vasu Kulkarni
e963bfd6ca Add additional variables as required by ceph-ansible for upstream
installation.

possible revert if those are made default
issue: https://github.com/ceph/ceph-ansible/issues/1834

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-07 16:54:51 -07:00
Vasu Kulkarni
9cc00c5c1a Rename folders to fix task order
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-18 11:35:54 -07:00
Vasu Kulkarni
1041c803f1 use bluestore with dmcrypt option
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-18 11:09:50 -07:00
Vasu Kulkarni
f6de5d9f9e Add dmcrypt option
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-18 11:08:00 -07:00
Vasu Kulkarni
60d00e0ead Separate the main task from options
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-18 11:05:01 -07:00
Vasu Kulkarni
0395b84488 Catchup with recent changes with ceph-ansible
Adds osd_scenario and ceph_stable_release variables

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-18 10:47:22 -07:00
Sage Weil
271a7588b5 qa/suites: run mgr daemon(s)
Everything up upgrade/, which will be slightly tricky.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Tamil Muthamizhan
3afb889540 qa: add supported distros for ceph-ansible
Add only distros supported by ceph-ansible

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-02-28 16:28:06 -08:00
Zack Cerza
964b983bdb qa/suites/ceph-ansible: Openstack volumes
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:06:26 -07:00
Tamil Muthamizhan
f99ca7a812 do not mention ceph branch explicitly
no need to mention ceph_dev_branch explicitly. it will be taken from the
ceph branch value mentioned in the teuthology-suite command

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-02-01 16:47:01 -08:00
Tamil Muthamizhan
728411f5ae removing fs workunit
removing fs workunit for now until tracker issue 18528 is resolved.

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-13 15:25:32 -08:00
Tamil Muthamizhan
8f6fd3a766 qa: specify client for fs workunit
s/all/client.0

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-12 15:29:56 -08:00
Nathan Cutler
4f4f35e37c tests: drop rbd_cli_tests.pl and RbdLib.pm
The rbd_cli_tests Perl script is not maintained and currently serves no
purpose. The RbdLib.pm module was only used by rbd_functional_tests.pl (which
was dropped by 276ffb4631) and rbd_cli_tests.pl
so drop it as well.

Fixes: http://tracker.ceph.com/issues/14825
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-08 16:17:08 +01:00
Tamil Muthamizhan
ad9b75f8d0 Added a smoke suite for ceph-ansible
Smoke suite with basic tests for ceph ansible deployment

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-03 16:11:28 -08:00
Sage Weil
c01f2ee0e2 move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00