Dan Mick
7fc8714a27
qa/tasks/{ceph_manager.py,vstart_runner.py}: allow kwargs in raw_*
...
Allow passing kwargs (like stdin=) to the local and teuthology
clusters when running tests
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:51:34 -07:00
Patrick Donnelly
5494e7229a
Merge PR #22719 into master
...
* refs/pull/22719/head:
qa: fix symlinks indirectly pointing at qa to .qa
qa: add .qa helper link
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-27 12:50:33 -07:00
Patrick Donnelly
f28cc3a082
Merge PR #22725 into master
...
* refs/pull/22725/head:
qa/workunits/suites/blogbench.sh: use correct dir name
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-27 11:13:37 -07:00
Mykola Golub
40617ad18b
Merge pull request #22673 from dillaman/wip-24558
...
rbd: basic support for images within namespaces
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-27 11:40:23 +03:00
Neha Ojha
24513c39f1
qa/workunits/suites/blogbench.sh: use correct dir name
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-06-26 18:30:38 -04: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
Lenz Grimmer
cfcfa10a5b
Merge pull request #22672 from tspmelo/wip-encode-uri
...
mgr/dashboard: Add support for URI encode
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-26 17:03:29 +02:00
Casey Bodley
be5a6d7f34
Merge pull request #22312 from ZVampirEM77/wip-default-zonegroup-apiname
...
rgw: fix CreateBucket with BucketLocation parameter failed under default zonegroup
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-26 09:58:16 -04:00
Tiago Melo
f21d0da5a3
mgr/dashboard: Add support for URI encode
...
Created a decorator and pipe to help encode special URI components in the
frontend.
Modified the backend request handler to decode all the string args.
fixes: http://tracker.ceph.com/issues/24621
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-06-26 14:35:15 +01:00
Ricardo Dias
cc21d270c2
qa/tasks/mgr/dashboard: test_cluster_conf: restore original value of mon_allow_pool_delete
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-06-26 12:28:54 +01:00
Ricardo Dias
76f89edee0
mgr/dashboard: auth: return user permissions on login
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-06-26 12:28:54 +01:00
Ricardo Dias
01a1a1ff84
qa/tasks/mgr/dashboard: Adapted tests to work with new authentication system
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-06-26 12:28:54 +01:00
Patrick Donnelly
9829f56c07
Merge PR #22532 into master
...
* refs/pull/22532/head:
qa/suites: Add supported-random-distro$ links.
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-25 15:48:34 -07:00
Sage Weil
dd6ad72b90
mgr/devicehealth: add self-test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Enming Zhang
ad6edd4dd2
qa: fix for s3tests.functional.test_s3.test_bucket_get_location failed
...
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2018-06-23 17:09:54 +08:00
Yuri Weinstein
ef91aef78e
qa/tests - added all supported distro to the mix, so we can track stats across diff OSes
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-22 09:13:11 -07:00
Jason Dillaman
3e8624f157
rbd: add support for namespaces
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 10:43:51 -04:00
Ilya Dryomov
8b3f3c8d38
Merge pull request #22665 from idryomov/wip-krbd-lvcreate-args
...
qa: krbd_msgr_segments.t: filter lvcreate output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 15:51:20 +02:00
Casey Bodley
4181b03d8c
Merge pull request #22249 from cbodley/wip-qa-rgw-verify-tasks
...
qa/rgw: reorganize verify tasks
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-22 09:43:25 -04:00
Josh Durgin
a83a8b3aa9
Merge pull request #22666 from yuriw/wip-yuriw-crontab
...
qa/tests - added luminous-p2p suite to the schedule
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-21 17:02:36 -07:00
Yuri Weinstein
9dae20e08d
qa/tests - added luminous-p2p suite to the schedule
...
(Merge after https://github.com/ceph/ceph/pull/22474 is merged)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-21 15:21:26 -07:00
Sage Weil
cf7beba662
Merge pull request #22536 from yuriw/wip-yuriw-distros-master
...
qa/tests: changed disto symlink to point to new way using supported OS'es
2018-06-21 17:08:12 -05:00
Ilya Dryomov
645252d732
qa: krbd_msgr_segments.t: filter lvcreate output
...
Some versions of lvm emit a log message
Using default stripesize 64.00 KiB.
which fails the test.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-06-21 20:51:23 +02:00
Volker Theile
a98bca6a2f
mgr/dashboard: Replace RGW proxy controller
...
Fixes: http://tracker.ceph.com/issues/24436
To fully support the role based authentication/authorization system it is necessary to replace the RGW proxy controller by separate controllers for RGW user and bucket.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-06-21 14:07:51 +02:00
Mykola Golub
80a51c9714
Merge pull request #22608 from dillaman/wip-24410
...
librbd: namespace create/remove/list support
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-21 11:02:25 +03:00
Zack Cerza
6487184ebb
Merge pull request #22647 from yuriw/wip-yuriw-teuthology-master
...
qa/tests - added all supported distro
2018-06-20 13:52:34 -06:00
Ilya Dryomov
69619b6966
qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds
...
Avoid sporadic failures in combination with msgr-failures/many.yaml,
where assert_locked() might take over 10 seconds.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-06-20 18:22:36 +02:00
Yuri Weinstein
bd8882c22f
qa/tests - added all supported distro
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-20 09:17:39 -07:00
Sage Weil
247586a0be
Merge PR #22596 into master
...
* refs/pull/22596/head:
os/bluestore: use vector instead of set for zombies
os/bluestore: reuse zombie OpSequencers by collection id
qa/suites/rados/objecstore/backends/objectstore: capture coredumps
os/bluestore: more debug output
os/bluestore: print cnode from _open_collections
os/bluestore: print cnode on fsck
qa/suites/rados/objecstore: preserve data dir for ceph_test_objecstore
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-19 13:51:09 -05:00
Sage Weil
55f390d0eb
qa/suites/rados/objecstore/backends/objectstore: capture coredumps
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-19 13:49:57 -05:00
Sage Weil
353c906ca7
Merge pull request #22606 from yuriw/wip-yuriw-crontab
...
qa/tests - added powercycle suite to run on weekly basis on master and mimic
2018-06-19 12:59:22 -05:00
Patrick Donnelly
111c515ab0
Merge PR #22569 into master
...
* refs/pull/22569/head:
qa/cephfs: add test for "dump inode"
mds: add dump inode command
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-19 07:13:30 -07:00
Sage Weil
0f38951ea3
Merge PR #22582 into master
...
* refs/pull/22582/head:
mon: destroy-new -> purge-new
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-06-19 07:37:39 -05:00
Sage Weil
3cd7d5eb22
Merge PR #22343 into master
...
* refs/pull/22343/head:
qa/standalone remove ceph-disk from activate_osd helper
cmake: remove subman.sh tests
test remove ceph-disk directory
debian: remove ceph_detect_init python files from base
qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
debian: remove ceph-disk ceph-detect-init python files
rpm: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-osd and parttypeuuid udev rules
debian: remove ceph-osd and parttypeuuid udev rules
rpm: remove ceph-osd and parttypeuuid udev rules
ceph-helpers.sh: remove ceph-disk, set up osds directly
CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
upstart: remove ceph-disk activation call
doc/install add anchor for manual osd deployment in freebsd guide
doc/dev remove ceph-disk from freebsd guide, link to manual reference
doc/dev/config-key remove ceph-disk references
doc/dev remove ceph-disk.rst
doc/dev: change ceph-disk suite examples for ceph-deploy
doc/man_index: remove ceph-disk, ceph-detect-init refs
doc/install: remove ceph-disk from freebsd examples
doc/rados remove ceph-disk from man references
doc/man remove ceph-disk ref from ceph-volume-systemd
doc/man: update reference from ceph-disk to ceph-volume
doc/man: remove ceph-disk, ceph-detect-init from cmake
doc/man/ceph-volume remove doc reference to ceph-disk
doc/man: remove ceph-disk, ceph-detect-init
qa/suites: remove ceph-disk
qa/run-standalone.sh: remove requirement for ceph-detect-init virtualenv
qa/workunits: remove ceph-detect-init from rbdmapfile test
qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
qa/workunits: remove ceph-disk
build: remove ceph-disk from freebsd script
cmake: remove ceph-disk, ceph-detect-init tox tests
init-ceph: remove ceph-disk
cmake: remove top-level entries for ceph-disk, ceph-detect-init
debian: remove ceph-detect-init references
debian: remove ceph-disk references
src: remove ceph-detect-init tool
rpm: remove ceph-disk, ceph-detect-init from spec file
test: remove subman script
script: remove subman script
udev: remove parttypeuuid rules for ceph-disk
tool remove ceph-disk from ps-ceph.pl
upstart: remove ceph-disk conf file
systemd: remove ceph-disk from CMakeLists
systemd: remove ceph-disk service
udev: remove ceph-disk rules
src: remove ceph-disk tool
2018-06-19 07:07:55 -05:00
Jason Dillaman
4437c136b4
rbd: add namespace create/remove/ls actions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-18 18:43:40 -04:00
David Zafman
ea75e03d22
test: run-standalone move aside cores found before testing starts
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-18 14:10:10 -07:00
David Zafman
fe09fc5e9d
test: Fail immediately if some operations fail
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-18 14:09:14 -07:00
David Zafman
33538aca35
test: Fix standalone main usage
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-18 14:09:14 -07:00
David Zafman
f886ebba08
test: Fix some function desciptions
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-18 14:09:14 -07:00
David Zafman
39fc43556f
test: Put files in private test directory
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-18 14:08:23 -07:00
Yuri Weinstein
ae1ad9c0b4
qa/tests - added powercycle suite to run on weekly basis on master and mimic
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-18 12:56:18 -07:00
Lenz Grimmer
ae4f4d315a
Merge pull request #22416 from votdev/get_rgw_api_user_via_rest
...
mgr/dashboard: Get user ID via RGW Admin Ops API
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-06-18 17:17:33 +02:00
taodd
0bd385f30b
qa/cephfs: add test for "dump inode"
...
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-06-16 17:46:04 +08:00
Warren Usui
affaae045f
qa/suites: Add supported-random-distro$ links.
...
Add supported-random-distro$ links for fs, kcephfs, and multimds
Fixes: http://tracker.ceph.com/issues/24138
Signed-off-by: Warren Usui <wusui@redhat.com>
2018-06-15 22:17:57 +00:00
Sage Weil
761f68dc0d
mon: destroy-new -> purge-new
...
What we actually want is a purge, not a destroy. Destroy leaves the OSD
ID in used and allows it to be recreated. What ceph-volume wants is to
purge all trace of the failed OSD setup.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-15 14:11:01 -05:00
Volker Theile
ed0750699e
mgr/dashboard: Get user ID via RGW Admin Ops API.
...
The RGW API user id (set via 'ceph dashboard set-rgw-api-user-id <xxx>') is optional but the user ID is required internally for some situations. Because of that the user ID is requested via a RGW Admin Ops API call if it is not configured via CLI.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-06-15 16:24:33 +02:00
Patrick Nawracay
d7de1fa067
mgr/dashboard/backend: Enable get/set of cluster-wide OSD settings
...
Add ability to list, set and unset cluster-wide OSD flags.
Flags can be listed and changed through the `/api/osd/flags` API
resource. By using a GET request, the list is retrieved. By using a PUT
request, the flags are updated (all at once). Flags not contained in the
data of the PUT are removed, additional once are added. Note that the
PUT requests require a JSON body with the data contained as value of the
'flags' key like so:
{"flags": ["flag1", "flag2", ...]}
Fixes: http://tracker.ceph.com/issues/24056
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-06-15 10:26:29 +02:00
Sage Weil
70ba58e9e8
Merge PR #22554 into master
...
* refs/pull/22554/head:
qa/standalone/ceph-helpers.sh: Fixing comment for wait_for_health()
tests: Protecting rados bench against endless loop
qa/standalone/ceph-helpers.sh: Defining custom timeout for wait_for_clean()
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-06-14 13:04:56 -05:00
Lenz Grimmer
d785010a35
Merge pull request #22303 from ricardoasmarques/wip-help-menu
...
mgr/dashboard: Add help menu entry
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-14 15:56:39 +02:00