Commit Graph

8 Commits

Author SHA1 Message Date
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
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
Zack Cerza
dd5e15a33d qa/suites/cephmetrics: Add new facets
For EPEL and containerized prometheus/grafana

Signed-off-by: Zack Cerza <zack@redhat.com>
2018-04-03 15:44:33 -06:00
Zack Cerza
177b444b8d qa/suites/cephmetrics: Update ceph-ansible config
This is taken from the ceph-ansible suite.

Signed-off-by: Zack Cerza <zack@redhat.com>
2018-04-03 15:44:33 -06:00
Zack Cerza
58b7e4bbb1 Use a symlink for Ubuntu fragment
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-27 10:34:06 -06:00
Zack Cerza
53abe7119c suites/cephmetrics: Add Centos 7
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-27 10:34:06 -06:00
Zack Cerza
41f55068cd Add cephmetrics suite
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-26 10:55:30 -06:00