Lenz Grimmer
dc9973a7fb
Merge pull request #33462 from s0nea/wip-dashboard-telemetry-report
...
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-29 17:22:50 +02:00
Tatjana Dehler
18875ef337
mgr/dashboard: add telemetry report component
...
Add a telemetry component in order to give the user the
possibility to configure the telemetry module in a more
guided fashion. The component offers broader explanations,
shows a preview of the generated report and asks the user
to accept the license before enabling the module.
Fixes: https://tracker.ceph.com/issues/43956
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-04-29 16:34:00 +02:00
Ilya Dryomov
c033094bfb
Merge pull request #34818 from idryomov/wip-krbd-tempfile-fixes
...
qa/tasks/rbd{,_fio}: update NamedTemporaryFile usage for python3
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-29 15:38:48 +02:00
Ilya Dryomov
4e3160a019
qa/tasks/rbd_fio: update NamedTemporaryFile usage for python3
...
Open the file in text mode to avoid 'bytes' objects.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-04-28 23:38:05 +02:00
Ilya Dryomov
aba9910388
qa/tasks/rbd: update NamedTemporaryFile usage for python3
...
- open the file in text mode to avoid 'bytes' objects
- 'bufsize' is now spelled 'buffering' and switching buffering off
with 'buffering=0' is only allowed in binary mode. As we need the
file to be either in the page cache or on disk before we copy it
to the remote, call flush().
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-04-28 23:22:17 +02:00
Jason Dillaman
fe5ca0c4fb
Merge pull request #34753 from trociny/wip-44938-fixup
...
qa/workunits/rbd: retry the addition of a mirror pool peer
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-28 16:43:19 -04:00
Mykola Golub
1ad816ae0c
qa/workunits/rbd: fix peer_add helper
...
We need to temporary disable "exit on error" mode so it does not
abort when `rbd mirror pool peer add` returns "already exists"
error code.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-04-28 17:04:43 +01:00
Lenz Grimmer
56a2a9ab9f
Merge pull request #34656 from rhcs-dashboard/44935-custom-cherryPy-header
...
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen <nia@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-28 10:52:53 +02:00
Yuri Weinstein
c272749ed4
Merge pull request #34748 from neha-ojha/wip-jewel-cleanup
...
qa/suites/rados: jewel cleanup
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-27 17:05:59 -07:00
Yuri Weinstein
975cb62796
Merge pull request #34602 from neha-ojha/wip-45075
...
qa/standalone/scrub/osd-scrub-repair.sh: fix race in TEST_auto_repair_bluestore_failed
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-27 17:04:45 -07:00
Gregory Farnum
0a9612bcde
Merge pull request #34595 from rishabh-d-dave/fs-move-run_shell
...
qa/cephfs: move run_shell to mount.py and add methods for negative testing
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-04-27 16:35:20 -07:00
Kefu Chai
d8084806fb
Merge pull request #34752 from tchaikov/fix-test-perf-counters-mgr-get
...
mgr/dashboard: fix API tests to be py3 compatible
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-04-27 12:00:40 +08:00
Kefu Chai
a8733598ed
Merge pull request #34588 from ifed01/wip-ifed-lower-spinner-mas
...
os/bluestore: set bluestore_min_alloc_size to 4K for spinners
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-04-27 11:34:14 +08:00
Kefu Chai
28c7ba68ae
Merge pull request #34732 from lxbsz/fs_fix_new
...
qa: misc fixes to run for cephfs qa test
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-26 01:46:30 +08:00
Kefu Chai
d07960ef7a
Merge pull request #34578 from lxbsz/volume_client_py3
...
qa/volume_client: be python3 compatible
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-25 18:58:43 +08:00
Xiubo Li
dd4fc808a8
qa/tasks/cephfs: switch to StringIO to fix byte-like errors
...
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-25 06:21:55 -04:00
Xiubo Li
8921c8e1dc
qa/cephfs: switch to mount_wait() to avoid possible umounted assert
...
For the fuse mount, it sometime will need to wait to a moment to let
the client get ready.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-25 06:21:55 -04:00
Xiubo Li
211c3fbb4b
qa/tasks/cephfs/fuse_mount: fix possible chmod 1777 error
...
INFO:teuthology.orchestra.run.smithi13a2:> (cd /home/ubuntu/cephtest && exec sudo chmod 1777 /home/ubuntu/cephtest/mnt.2)
INFO:teuthology.orchestra.run.smithi132.stderr:chmod: changing permissions of '/home/ubuntu/cephtest/mnt.2': Permission denied
DEBUG:teuthology.orchestra.run:got remote process result: 1
Here just wait and rety for 10 times.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-25 06:21:55 -04:00
Xiubo Li
bf10478294
qa/tasks/vstart_runner: remove the stdin str type check
...
For the "ceph-dencoder" it will use the byte type data.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-25 06:21:54 -04:00
Xiubo Li
7f57576123
qa/cephfs: fix AssertionError: CommandFailedError not raised under py3
...
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-25 06:21:54 -04:00
Mykola Golub
7eced158a9
qa/workunits/rbd: retry the addition of a mirror pool peer
...
fb4311f5
has fixed this for setup, but "remove mirroring pool"
test needs fixing too.
Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-04-25 08:36:25 +01:00
Kefu Chai
b152e498a0
Merge pull request #34741 from tchaikov/wip-teuthology-cronjobs-mimic
...
qa/tests: pass "-t 2" to teuthology-suite when testing mimic
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-25 10:23:08 +08:00
Alfonso Martínez
0ac296430f
mgr/dashboard: fix API tests
...
* test_perf_counters_mgr_get
* test_selftest_cluster_log
Fixes: https://tracker.ceph.com/issues/45170
Fixes: https://tracker.ceph.com/issues/45246
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2020-04-25 09:50:19 +08:00
Kefu Chai
2de78c3bd9
qa/tasks/vstart_runner.py: use StringIO for capturing text
...
to be consistent with 8bfe977854
Fixes: https://tracker.ceph.com/issues/45246
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-25 09:50:14 +08:00
Neha Ojha
c258ff2c15
qa/suites/rados/thrash-old-clients/1-install: remove hammer
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-04-24 18:45:19 +00:00
Neha Ojha
4a6361d93e
qa/suites/rados/thrash/workloads: use default mon osd initial require min compat client
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-04-24 18:29:06 +00:00
Neha Ojha
5ac2f54701
qa/suites/rados/thrash-old-clients/1-install: remove jewel
...
Since we've changed mon_osd_initial_require_min_compat_client to
luminous in 986c271b75
, we can remove jewel from
mix.
Fixes: https://tracker.ceph.com/issues/45242
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-04-24 18:29:06 +00:00
Sebastian Wagner
d240d23b09
Merge pull request #34619 from sebastian-philipp/qa-adopt-specific-commit
...
qa/cephadm: make test_adoption checkout a specific commit
2020-04-24 18:01:18 +02:00
Kefu Chai
5c8e43c171
qa/tests: pass "-t 2" to teuthology-suite when testing mimic
...
it's an oversight in 21dacc823b
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-24 23:09:03 +08:00
Kefu Chai
7b38f01438
Merge pull request #34725 from lxbsz/_type_equality_funcs
...
qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 18:59:31 +08:00
Xiubo Li
afe19f24ba
qa/tasks/cephfs/test_volumes: to make sure the size is int type
...
Fix "Error EINVAL: invalid size option '4915200.0'".
In pytho2 int/2 will get a int type result, but in python3 it maybe
a float type.
Fixes: https://tracker.ceph.com/issues/45247
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 05:05:54 -04:00
Xiubo Li
65f97690af
qa/tasks/cephfs/mount: to make sure that the count/seek are int type
...
To fix "stderr:dd: invalid number: '5.0'".
Fixes: https://tracker.ceph.com/issues/45247
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 05:05:54 -04:00
Xiubo Li
89d0649088
qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'
...
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 04:12:46 -04:00
Xiubo Li
666974e0a6
qa/tasks/cephfs/cephfs_test_case: switch 'dict_keys' object to list
...
Fix the "TypeError: 'dict_keys' object does not support indexing" under
py3.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 04:04:18 -04:00
Xiubo Li
624944503e
qa/tasks/vstart_runner: make remote.sh return str as default
...
To address the issue in https://github.com/ceph/teuthology/pull/1459 .
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 03:05:34 -04:00
Xiubo Li
704ce2c969
qa/vstart_runner.py: add os and arch properties support
...
Fixes: https://tracker.ceph.com/issues/44456
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 03:05:34 -04:00
Kefu Chai
036c40e943
Merge pull request #34685 from lxbsz/vstart_runner
...
qa/tasks/cephfs/mount: switch to StringIO to fix TypeErrors
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 09:09:49 +08:00
Xiubo Li
0631342d10
qa/tasks/cephfs/mount: switch to StringIO to fix TypeErrors
...
TypeError: cannot use a string pattern on a bytes-like object
Fixes: https://tracker.ceph.com/issues/45175
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-23 20:55:35 -04:00
Xiubo Li
c541bae6b1
qa/vstart_runner: remove the debug info
...
Fixes: https://tracker.ceph.com/issues/45175
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-23 20:55:35 -04:00
Neha Ojha
7c8b627eaa
qa/*/osd-scrub-repair.sh: don't fail if PG is in active+clean+wait
...
a0b453ad33
added the wait state, which can
make PGs stay in active+clean+wait for a while instead of going into
active+clean directly. As far as TEST_auto_repair_bluestore_failed is
concerned, we only care about the repair state being cleared.
Fixes: https://tracker.ceph.com/issues/45075
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-04-23 20:24:28 +00:00
Sebastian Wagner
aab7045dec
Merge pull request #34620 from mgfritch/cephadm-timeout-test-fixup
...
qa/workunits/cephadm/test_cephadm.sh: extend timeout test
2020-04-23 12:03:20 +02:00
Sebastian Wagner
8dcb67de84
Merge pull request #34688 from sebastian-philipp/qa-test-cephadm-octopus-version
...
qa/workunits/cephadm/test_cephadm: Also test octopus
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:01:48 +02:00
Laura Paduano
1a616c207c
Merge pull request #34666 from rhcs-dashboard/44405-test-totp-increase-time
...
mgr/dashboard: fix tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-04-23 09:47:58 +02:00
Casey Bodley
3466890e50
Merge pull request #34613 from cbodley/wip-44661
...
rgw: use DEFER_DROP_PRIVILEGES flag unconditionally
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2020-04-22 10:06:06 -04:00
Sebastian Wagner
bf9cd06c6b
qa/workunits/cephadm/test_cephadm: Also test octopus
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-22 15:31:19 +02:00
Sebastian Wagner
31958dfcb5
Merge pull request #34621 from mgfritch/cephadm-test-cleanup
...
qa/workunits/cephadm/test_cephadm.sh: add CLEANUP var
2020-04-22 14:38:16 +02:00
Sebastian Wagner
6a7d0bd973
qa/cephadm: make test_adoption checkout a specific commit
...
Reason is, I want to have a test run of test_adoption, *before* master is affected.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-22 12:23:07 +02:00
Yan, Zheng
cd94861e96
Merge pull request #33479 from simon-rock/simon_split_stray
...
mds : enable fragmentation of stray dir when conditions are met
2020-04-22 14:55:57 +08:00
Gregory Farnum
da3904609f
Merge pull request #34561 from kotreshhr/ceph-fs-status-output
...
mgr/status: Fix "ceph fs status" json format writing to stderr
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-04-21 22:17:42 -07:00
Gregory Farnum
54d4b31f0c
Merge pull request #34534 from ajarr/fix-43061
...
mon/FSCommands: Fix 'add_data_pool' command and 'fs new' command
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-04-21 22:15:23 -07:00