]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agotest/crimson/cbt: increase stddev variance to 2.0 34594/head
Kefu Chai [Thu, 16 Apr 2020 15:29:45 +0000 (23:29 +0800)]
test/crimson/cbt: increase stddev variance to 2.0

as per Mark requests. we've being observing

```
03:55:21 - WARNING  - cbt      - prefill/incerta04.front.sepia.ceph.com/1: iops_stddev: (or (less) (near 0.50)):: 434.037/69.2122  => rejected
...
04:37:52 - WARNING  - cbt      - rand/incerta04.front.sepia.ceph.com/0: iops_stddev: (or (less) (near 0.50)):: 3830.51/2473.17  => rejected
...
04:37:52 - WARNING  - cbt      - rand/incerta04.front.sepia.ceph.com/1: iops_avg: (or (greater) (near 0.05)):: 53916.0/57375.0  => rejected
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34813 from rzarzynski/wip-osd-fix-typo-pglog
Kefu Chai [Wed, 29 Apr 2020 00:24:14 +0000 (08:24 +0800)]
Merge pull request #34813 from rzarzynski/wip-osd-fix-typo-pglog

crimson/osd, osd: fix typos in PG Log-related comments

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34791 from rzarzynski/wip-crimson-backfill-pgtemp-ref
Kefu Chai [Wed, 29 Apr 2020 00:19:53 +0000 (08:19 +0800)]
Merge pull request #34791 from rzarzynski/wip-crimson-backfill-pgtemp-ref

crimson/osd: fix missed ref in ShardServices::send_pg_temp().

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoosd: s/log.bottom/log.tail/ in osd_types.h. 34813/head
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:44:01 +0000 (20:44 +0200)]
osd: s/log.bottom/log.tail/ in osd_types.h.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: fix typo in PGLog.cc.
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:41:50 +0000 (20:41 +0200)]
osd: fix typo in PGLog.cc.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #34753 from trociny/wip-44938-fixup
Jason Dillaman [Tue, 28 Apr 2020 20:43:19 +0000 (16:43 -0400)]
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>
5 years agoMerge pull request #34699 from yison/rwl-image-writeback-cache-seq5
Jason Dillaman [Tue, 28 Apr 2020 18:12:42 +0000 (14:12 -0400)]
Merge pull request #34699 from yison/rwl-image-writeback-cache-seq5

rbd/cache: Replicated Write Log core codes - aio_read

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agocrimson/osd: fix missed ref in ShardServices::send_pg_temp(). 34791/head
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:40:20 +0000 (20:40 +0200)]
crimson/osd: fix missed ref in ShardServices::send_pg_temp().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoqa/workunits/rbd: fix peer_add helper 34753/head
Mykola Golub [Tue, 28 Apr 2020 16:04:43 +0000 (17:04 +0100)]
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>
5 years agoMerge pull request #34700 from lixiaoy1/early_finish
Jason Dillaman [Tue, 28 Apr 2020 15:22:41 +0000 (11:22 -0400)]
Merge pull request #34700 from lixiaoy1/early_finish

librbd: Return read request early

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34285 from tspmelo/wip-cypress
Lenz Grimmer [Tue, 28 Apr 2020 14:13:28 +0000 (16:13 +0200)]
Merge pull request #34285 from tspmelo/wip-cypress

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #30024 from vumrao/wip-vumrao-41061
Casey Bodley [Tue, 28 Apr 2020 12:29:19 +0000 (08:29 -0400)]
Merge pull request #30024 from vumrao/wip-vumrao-41061

radosgw-admin: add support for --bucket-id in bucket stats command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agomgr/dashboard: E2E: Add navigateEdit method 34285/head
Tiago Melo [Wed, 22 Apr 2020 13:46:49 +0000 (13:46 +0000)]
mgr/dashboard: E2E: Add navigateEdit method

This method should be use to navigate to the edit page.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Replace Protractor with Cypress
Tiago Melo [Fri, 13 Mar 2020 01:00:51 +0000 (00:00 -0100)]
mgr/dashboard: Replace Protractor with Cypress

Fixes: https://tracker.ceph.com/issues/44812
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34429 from xxhdx1985126/wip-crimson-recovery-pr
Kefu Chai [Tue, 28 Apr 2020 09:22:06 +0000 (17:22 +0800)]
Merge pull request #34429 from xxhdx1985126/wip-crimson-recovery-pr

crimson: pglog based recovery ---- part 1

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34656 from rhcs-dashboard/44935-custom-cherryPy-header
Lenz Grimmer [Tue, 28 Apr 2020 08:52:53 +0000 (10:52 +0200)]
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>
5 years agoMerge pull request #34748 from neha-ojha/wip-jewel-cleanup
Yuri Weinstein [Tue, 28 Apr 2020 00:05:59 +0000 (17:05 -0700)]
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>
5 years agoMerge pull request #34602 from neha-ojha/wip-45075
Yuri Weinstein [Tue, 28 Apr 2020 00:04:45 +0000 (17:04 -0700)]
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>
5 years agoMerge pull request #34595 from rishabh-d-dave/fs-move-run_shell
Gregory Farnum [Mon, 27 Apr 2020 23:35:20 +0000 (16:35 -0700)]
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>
5 years agolibrbd: Return read request early 34700/head
lixiaoy1 [Thu, 23 Apr 2020 10:38:09 +0000 (06:38 -0400)]
librbd: Return read request early

Finish read requests if the total length is 0.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
5 years agoMerge pull request #34705 from bk201/wip-45149
Laura Paduano [Mon, 27 Apr 2020 08:09:55 +0000 (10:09 +0200)]
Merge pull request #34705 from bk201/wip-45149

mgr/dashboard: fixing RBD purge error in backend

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34752 from tchaikov/fix-test-perf-counters-mgr-get
Kefu Chai [Mon, 27 Apr 2020 04:00:40 +0000 (12:00 +0800)]
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>
5 years agoMerge pull request #34292 from cbodley/wip-bufferlist-comparison
Kefu Chai [Mon, 27 Apr 2020 03:38:16 +0000 (11:38 +0800)]
Merge pull request #34292 from cbodley/wip-bufferlist-comparison

bufferlist: use iterators for comparison operators

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34090 from trociny/wip-ceph-erasure-code-tool
Kefu Chai [Mon, 27 Apr 2020 03:37:00 +0000 (11:37 +0800)]
Merge pull request #34090 from trociny/wip-ceph-erasure-code-tool

tools/erasure-code: new tool to encode/decode files

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34683 from ifed01/wip-ifed-fix-freelist-label
Kefu Chai [Mon, 27 Apr 2020 03:35:37 +0000 (11:35 +0800)]
Merge pull request #34683 from ifed01/wip-ifed-fix-freelist-label

os/bluestore: fix freelist's meta usage when bdev label is unsupported

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
5 years agoMerge pull request #34588 from ifed01/wip-ifed-lower-spinner-mas
Kefu Chai [Mon, 27 Apr 2020 03:34:14 +0000 (11:34 +0800)]
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>
5 years agoMerge pull request #34006 from aclamk/wip-rocksdb-sharding
Kefu Chai [Mon, 27 Apr 2020 03:31:53 +0000 (11:31 +0800)]
Merge pull request #34006 from aclamk/wip-rocksdb-sharding

kv/RocksDBStore,os/blustore: shard rocksdb database using column families

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #33790 from bstillwell/add_conf_option_zstd_compression_level
Kefu Chai [Mon, 27 Apr 2020 03:28:05 +0000 (11:28 +0800)]
Merge pull request #33790 from bstillwell/add_conf_option_zstd_compression_level

compressor: Add a config option to specify Zstd compression level

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34635 from tchaikov/wip-mgr-py3
Kefu Chai [Mon, 27 Apr 2020 03:27:19 +0000 (11:27 +0800)]
Merge pull request #34635 from tchaikov/wip-mgr-py3

mgr: drop python2 support

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agolibrbd: add aio_read test cases 34699/head
Yuan Lu [Fri, 6 Mar 2020 09:39:45 +0000 (17:39 +0800)]
librbd: add aio_read test cases

Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
5 years agolibrbd: add aio_read
Yuan Lu [Tue, 14 Apr 2020 07:58:28 +0000 (15:58 +0800)]
librbd: add aio_read

Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
5 years agocrimson: prevent PG::schedule_event_after from creating daggling future 34429/head
Xuehan Xu [Sun, 26 Apr 2020 03:41:28 +0000 (11:41 +0800)]
crimson: prevent PG::schedule_event_after from creating daggling future

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson/osdmap_gate: sort the blockers in ascending order of map epoch
Xuehan Xu [Wed, 1 Apr 2020 11:52:25 +0000 (19:52 +0800)]
crimson/osdmap_gate: sort the blockers in ascending order of map epoch

When the osdmap_gate got a new map, it's supposed to release blocked ops on
all previous maps section of which is represented by [waiting_peering.begin(),
waiting_peering.upper_bound(epoch)]. So it's essentail that waiting_peering is
ordered in ascending order of the map epoch

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson: keep track of clean_regions/dirty_regions of modifications
Xuehan Xu [Tue, 31 Mar 2020 10:10:33 +0000 (18:10 +0800)]
crimson: keep track of clean_regions/dirty_regions of modifications

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson: add osd interface for recovery messages
Xuehan Xu [Wed, 4 Mar 2020 09:58:24 +0000 (17:58 +0800)]
crimson: add osd interface for recovery messages

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson: add recovery operations oriented request ---- "RecoverySubRequest"
Xuehan Xu [Wed, 4 Mar 2020 09:57:29 +0000 (17:57 +0800)]
crimson: add recovery operations oriented request ---- "RecoverySubRequest"

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson: add pg log based recovery machinery
Xuehan Xu [Wed, 4 Mar 2020 09:56:45 +0000 (17:56 +0800)]
crimson: add pg log based recovery machinery

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson/os: add readv method to futurized_store
Xuehan Xu [Tue, 31 Mar 2020 11:14:45 +0000 (19:14 +0800)]
crimson/os: add readv method to futurized_store

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson: add background recovery request and necessary interfaces for recover/backfill
Samuel Just [Wed, 4 Mar 2020 09:52:32 +0000 (17:52 +0800)]
crimson: add background recovery request and necessary interfaces for recover/backfill

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agoosd: add some clean ups
Samuel Just [Wed, 4 Mar 2020 09:35:04 +0000 (17:35 +0800)]
osd: add some clean ups

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/osd/osd_operation: add support for AggregateBlocker
Samuel Just [Thu, 16 Jan 2020 19:41:25 +0000 (11:41 -0800)]
crimson/osd/osd_operation: add support for AggregateBlocker

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/osd: introduce scheduler implementations and operation throttler
Samuel Just [Tue, 1 Oct 2019 22:38:20 +0000 (15:38 -0700)]
crimson/osd: introduce scheduler implementations and operation throttler

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
5 years agocrimson/osd: wire up local and remote async reservers
Samuel Just [Fri, 20 Sep 2019 22:00:14 +0000 (15:00 -0700)]
crimson/osd: wire up local and remote async reservers

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocommon/AsyncReserver: template out the finisher type
Samuel Just [Mon, 12 Aug 2019 23:36:44 +0000 (16:36 -0700)]
common/AsyncReserver: template out the finisher type

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoosd/PeeringState: eliminate unused cct from PGPool
Samuel Just [Fri, 20 Sep 2019 00:25:00 +0000 (17:25 -0700)]
osd/PeeringState: eliminate unused cct from PGPool

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoosd/PrimaryLogPG: move earliest_backfill to PeeringState
Samuel Just [Thu, 16 Jan 2020 19:40:40 +0000 (11:40 -0800)]
osd/PrimaryLogPG: move earliest_backfill to PeeringState

We'll want this in crimson as well.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agolibrbd: add WriteLogMap test cases
Yuan Lu [Tue, 14 Apr 2020 07:45:45 +0000 (15:45 +0800)]
librbd: add WriteLogMap test cases

Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
5 years agolibrbd: add LogMap class
Yuan Lu [Tue, 14 Apr 2020 07:08:48 +0000 (15:08 +0800)]
librbd: add LogMap class

Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
5 years agolibrbd: add ReadRequest to handle read
Yuan Lu [Tue, 14 Apr 2020 06:57:23 +0000 (14:57 +0800)]
librbd: add ReadRequest to handle read

Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
5 years agoMerge pull request #34732 from lxbsz/fs_fix_new
Kefu Chai [Sat, 25 Apr 2020 17:46:30 +0000 (01:46 +0800)]
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>
5 years agoMerge pull request #31912 from zjcmszh/cmpext
Kefu Chai [Sat, 25 Apr 2020 14:29:57 +0000 (22:29 +0800)]
Merge pull request #31912 from zjcmszh/cmpext

pybind/rados: add Ioctx::cmpext()

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agotest/pybind/test_rados.py: test Ioctx::cmpext() 31912/head
zhangjiao [Thu, 28 Nov 2019 05:21:57 +0000 (13:21 +0800)]
test/pybind/test_rados.py: test Ioctx::cmpext()
Signed-off-by: Zhang Jiao <zhangjiao@cmss.chinamobile.com>
5 years agopybind/rados: add Ioctx:cmpext()
zhangjiao [Thu, 28 Nov 2019 05:15:37 +0000 (13:15 +0800)]
pybind/rados: add Ioctx:cmpext()
Signed-off-by: Zhang Jiao <zhangjiao@cmss.chinamobile.com>
5 years agoMerge pull request #34578 from lxbsz/volume_client_py3
Kefu Chai [Sat, 25 Apr 2020 10:58:43 +0000 (18:58 +0800)]
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>
5 years agoqa/tasks/cephfs: switch to StringIO to fix byte-like errors 34732/head
Xiubo Li [Thu, 23 Apr 2020 11:21:46 +0000 (07:21 -0400)]
qa/tasks/cephfs: switch to StringIO to fix byte-like errors

Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoqa/cephfs: switch to mount_wait() to avoid possible umounted assert
Xiubo Li [Thu, 23 Apr 2020 07:21:09 +0000 (03:21 -0400)]
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>
5 years agoqa/tasks/cephfs/fuse_mount: fix possible chmod 1777 error
Xiubo Li [Fri, 24 Apr 2020 02:24:01 +0000 (22:24 -0400)]
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>
5 years agoqa/tasks/vstart_runner: remove the stdin str type check
Xiubo Li [Thu, 23 Apr 2020 11:39:31 +0000 (07:39 -0400)]
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>
5 years agoqa/cephfs: fix AssertionError: CommandFailedError not raised under py3
Xiubo Li [Tue, 21 Apr 2020 02:22:55 +0000 (22:22 -0400)]
qa/cephfs: fix AssertionError: CommandFailedError not raised under py3

Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoqa/workunits/rbd: retry the addition of a mirror pool peer
Mykola Golub [Sat, 25 Apr 2020 07:36:25 +0000 (08:36 +0100)]
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>
5 years agoMerge pull request #34697 from dillaman/wip-44596
Mykola Golub [Sat, 25 Apr 2020 07:29:01 +0000 (10:29 +0300)]
Merge pull request #34697 from dillaman/wip-44596

rbd-mirror: skip snapshot image-sync for newly created/cloned images

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #34751 from tchaikov/wip-doc-fix
Kefu Chai [Sat, 25 Apr 2020 02:58:40 +0000 (10:58 +0800)]
Merge pull request #34751 from tchaikov/wip-doc-fix

doc/releases/mimic.rst: add title underline

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #34741 from tchaikov/wip-teuthology-cronjobs-mimic
Kefu Chai [Sat, 25 Apr 2020 02:23:08 +0000 (10:23 +0800)]
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>
5 years agomgr/dashboard: fix API tests 34752/head
Alfonso Martínez [Fri, 24 Apr 2020 08:53:24 +0000 (10:53 +0200)]
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>
5 years agoqa/tasks/vstart_runner.py: use StringIO for capturing text
Kefu Chai [Sat, 25 Apr 2020 01:47:00 +0000 (09:47 +0800)]
qa/tasks/vstart_runner.py: use StringIO for capturing text

to be consistent with 8bfe977854686149c74de3ebaed7b571d43404dd

Fixes: https://tracker.ceph.com/issues/45246
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodoc/releases/general.rst: add mising link targets 34751/head
Kefu Chai [Sat, 25 Apr 2020 01:37:59 +0000 (09:37 +0800)]
doc/releases/general.rst: add mising link targets

they are referenced by 60c825486916d0b0b43248a0966d2ecb90f352df

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodoc/releases: silence sphinx warnings
Kefu Chai [Sat, 25 Apr 2020 01:24:37 +0000 (09:24 +0800)]
doc/releases: silence sphinx warnings

* mimic.rst: add title underline

to address sphinx warning like:
```
WARNING: Title underline too short.
```

* octopus.rst: use consistent underline

to address following sphinx warning:
```
doc/releases/octopus.rst:49: WARNING: Title level inconsistent:
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/suites/rados/thrash-old-clients/1-install: remove hammer 34748/head
Neha Ojha [Fri, 24 Apr 2020 18:45:19 +0000 (18:45 +0000)]
qa/suites/rados/thrash-old-clients/1-install: remove hammer

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/suites/rados/thrash/workloads: use default mon osd initial require min compat...
Neha Ojha [Fri, 24 Apr 2020 18:22:38 +0000 (18:22 +0000)]
qa/suites/rados/thrash/workloads: use default mon osd initial require min compat client

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/suites/rados/thrash-old-clients/1-install: remove jewel
Neha Ojha [Fri, 24 Apr 2020 18:01:17 +0000 (18:01 +0000)]
qa/suites/rados/thrash-old-clients/1-install: remove jewel

Since we've changed mon_osd_initial_require_min_compat_client to
luminous in 986c271b756a6b3f472ec6848fc0d6680c45cf5b, we can remove jewel from
mix.

Fixes: https://tracker.ceph.com/issues/45242
Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #34698 from matthewoliver/cephadm_check_pool_exists
Sebastian Wagner [Fri, 24 Apr 2020 16:39:10 +0000 (18:39 +0200)]
Merge pull request #34698 from matthewoliver/cephadm_check_pool_exists

cephadm: Check for pool existence for iscsi And NFS

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34676 from sebastian-philipp/cephadm-inventory-class
Sebastian Wagner [Fri, 24 Apr 2020 16:26:55 +0000 (18:26 +0200)]
Merge pull request #34676 from sebastian-philipp/cephadm-inventory-class

mgr/cephadm: add Inventory class

5 years agoMerge pull request #34695 from mgfritch/cephadm-iscsi-container-image
Sebastian Wagner [Fri, 24 Apr 2020 16:26:22 +0000 (18:26 +0200)]
Merge pull request #34695 from mgfritch/cephadm-iscsi-container-image

mgr/cephadm: allow config for an iscsi `container_image`

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34718 from mgfritch/cephadm-mgr-is-available
Sebastian Wagner [Fri, 24 Apr 2020 16:25:11 +0000 (18:25 +0200)]
Merge pull request #34718 from mgfritch/cephadm-mgr-is-available

cephadm: catch Exception during is_mgr_available

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #34619 from sebastian-philipp/qa-adopt-specific-commit
Sebastian Wagner [Fri, 24 Apr 2020 16:01:18 +0000 (18:01 +0200)]
Merge pull request #34619 from sebastian-philipp/qa-adopt-specific-commit

qa/cephadm: make test_adoption checkout a specific commit

5 years agoMerge pull request #34693 from sebastian-philipp/cephadm-warn-master-improvement
Sebastian Wagner [Fri, 24 Apr 2020 16:00:42 +0000 (18:00 +0200)]
Merge pull request #34693 from sebastian-philipp/cephadm-warn-master-improvement

cephadm: improve warn message

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34675 from sebastian-philipp/cephadm-service-rm-feedback
Sebastian Wagner [Fri, 24 Apr 2020 16:00:18 +0000 (18:00 +0200)]
Merge pull request #34675 from sebastian-philipp/cephadm-service-rm-feedback

mgr/cephadm: remove_service: Feedback, if spec not found

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agoqa/tests: pass "-t 2" to teuthology-suite when testing mimic 34741/head
Kefu Chai [Fri, 24 Apr 2020 15:08:25 +0000 (23:08 +0800)]
qa/tests: pass "-t 2" to teuthology-suite when testing mimic

it's an oversight in 21dacc823be184718584c5fd3b647e87b3eeba42

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34142 from rhcs-dashboard/wip-44667-fix-reload-issues
Lenz Grimmer [Fri, 24 Apr 2020 13:58:17 +0000 (15:58 +0200)]
Merge pull request #34142 from rhcs-dashboard/wip-44667-fix-reload-issues

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #34730 from theanalyst/docs/release-updates-04-20
Abhishek L [Fri, 24 Apr 2020 12:57:28 +0000 (14:57 +0200)]
Merge pull request #34730 from theanalyst/docs/release-updates-04-20

docs: release updates for nautilus,mimic,octopus

Reviewed-By: Nathan Cutler <ncutler@suse.com>
5 years agoos/bluestore: Enable sharding by default 34006/head
Adam Kupczyk [Fri, 24 Apr 2020 12:36:05 +0000 (14:36 +0200)]
os/bluestore: Enable sharding by default

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #34673 from sebastian-philipp/cephadm-man
Sebastian Wagner [Fri, 24 Apr 2020 12:06:57 +0000 (14:06 +0200)]
Merge pull request #34673 from sebastian-philipp/cephadm-man

doc/man: add cephadm

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
5 years agoMerge pull request #34725 from lxbsz/_type_equality_funcs
Kefu Chai [Fri, 24 Apr 2020 10:59:31 +0000 (18:59 +0800)]
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>
5 years agodoc: update release.yml with octopus, nautilus & mimic 34730/head
Abhishek Lekshmanan [Fri, 24 Apr 2020 10:35:21 +0000 (12:35 +0200)]
doc: update release.yml with octopus, nautilus & mimic

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: add release notes for v14.2.9
Abhishek Lekshmanan [Fri, 24 Apr 2020 10:34:59 +0000 (12:34 +0200)]
doc: releases: add release notes for v14.2.9

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #34726 from lxbsz/dict_key_error
Kefu Chai [Fri, 24 Apr 2020 10:33:33 +0000 (18:33 +0800)]
Merge pull request #34726 from lxbsz/dict_key_error

qa/tasks/cephfs/cephfs_test_case: switch 'dict_keys' object to list

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc: release notes for v13.2.10 mimic
Abhishek Lekshmanan [Fri, 24 Apr 2020 10:28:44 +0000 (12:28 +0200)]
doc: release notes for v13.2.10 mimic

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: release notes for v13.2.9 mimic
Abhishek Lekshmanan [Thu, 16 Apr 2020 14:40:21 +0000 (16:40 +0200)]
doc: releases: release notes for v13.2.9 mimic

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: v15.2.1 release notes
Abhishek Lekshmanan [Tue, 7 Apr 2020 09:44:14 +0000 (11:44 +0200)]
doc: releases: v15.2.1 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoqa/tasks/cephfs/test_volumes: to make sure the size is int type 34726/head
Xiubo Li [Fri, 24 Apr 2020 01:08:23 +0000 (21:08 -0400)]
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>
5 years agoqa/tasks/cephfs/mount: to make sure that the count/seek are int type
Xiubo Li [Thu, 23 Apr 2020 21:31:24 +0000 (17:31 -0400)]
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>
5 years agoqa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs' 34725/head
Xiubo Li [Thu, 23 Apr 2020 05:08:04 +0000 (01:08 -0400)]
qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'

Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoqa/tasks/cephfs/cephfs_test_case: switch 'dict_keys' object to list
Xiubo Li [Thu, 23 Apr 2020 13:23:31 +0000 (09:23 -0400)]
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>
5 years agoMerge pull request #33769 from lxbsz/qa_vstart_runner_os
Kefu Chai [Fri, 24 Apr 2020 07:41:54 +0000 (15:41 +0800)]
Merge pull request #33769 from lxbsz/qa_vstart_runner_os

qa/vstart_runner.py: add os and arch properties support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/vstart_runner: make remote.sh return str as default 33769/head
Xiubo Li [Thu, 23 Apr 2020 23:14:36 +0000 (19:14 -0400)]
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>
5 years agoqa/vstart_runner.py: add os and arch properties support
Xiubo Li [Fri, 6 Mar 2020 01:10:47 +0000 (20:10 -0500)]
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>
5 years agoMerge pull request #34685 from lxbsz/vstart_runner
Kefu Chai [Fri, 24 Apr 2020 01:09:49 +0000 (09:09 +0800)]
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>
5 years agoqa/tasks/cephfs/mount: switch to StringIO to fix TypeErrors 34685/head
Xiubo Li [Wed, 22 Apr 2020 12:34:05 +0000 (08:34 -0400)]
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>
5 years agoqa/vstart_runner: remove the debug info
Xiubo Li [Wed, 22 Apr 2020 12:03:27 +0000 (08:03 -0400)]
qa/vstart_runner: remove the debug info

Fixes: https://tracker.ceph.com/issues/45175
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agocephadm: Check for pool existance for iscsi And NFS 34698/head
Matthew Oliver [Thu, 23 Apr 2020 01:07:19 +0000 (11:07 +1000)]
cephadm: Check for pool existance for iscsi And NFS

Currently both iscsi and NFS require pools to be specified when they are
deployed. However, we don't actaully check these pools exist. Leading to
broken containers.

This patch uses the rados client that is part of the mgrmodule to check
that the specified pool exists. As we need to check in 2 different
daemons, a helper method:

   def _check_pool_exists(self, pool, service_name):

was added to `cephadm/module.py`.

Fixes: https://tracker.ceph.com/issues/45161
Signed-off-by: Matthew Oliver <moliver@suse.com>