]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #24233 from liewegas/wip-35998-mimic
Yuri Weinstein [Fri, 5 Oct 2018 21:41:00 +0000 (14:41 -0700)]
Merge pull request #24233 from liewegas/wip-35998-mimic

mimic: mgr/DaemonServer: fix Session leak

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #24339 from ifed01/wip-ifed-fix-repairer-mimic
Yuri Weinstein [Fri, 5 Oct 2018 21:19:25 +0000 (14:19 -0700)]
Merge pull request #24339 from ifed01/wip-ifed-fix-repairer-mimic

mimic: os/bluestore: fix bloom filter num entry miscalculation in repairer

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #24352 from ifed01/wip-ifed-bluestore-tool-fixes-mimic
Yuri Weinstein [Fri, 5 Oct 2018 21:18:49 +0000 (14:18 -0700)]
Merge pull request #24352 from ifed01/wip-ifed-bluestore-tool-fixes-mimic

mimic: ceph-bluestore-tool: fix set label functionality for specific keys

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24386 from pdvian/wip-36127-mimic
Yuri Weinstein [Fri, 5 Oct 2018 21:18:12 +0000 (14:18 -0700)]
Merge pull request #24386 from pdvian/wip-36127-mimic

mimic: msg/async: clean up local buffers on dispatch

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #24420 from karunjosy/wip-36308-mimic
Nathan Cutler [Thu, 4 Oct 2018 09:39:52 +0000 (11:39 +0200)]
Merge pull request #24420 from karunjosy/wip-36308-mimic

mimic: doc: Typo error on cephfs/fuse/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc: Fix typo error on cephfs/fuse/ 24420/head
Karun Josy [Tue, 2 Oct 2018 11:53:25 +0000 (17:23 +0530)]
doc: Fix typo error on cephfs/fuse/

Fixes: http://tracker.ceph.com/issues/36180
Signed-off-by: Karun Josy <kjosy@redhat.com>
(cherry picked from commit d312cdbd36d9c0e76409feac1f3e289b247dc2dc)

6 years agoMerge pull request #24002 from pdvian/wip-35705-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:21:28 +0000 (08:21 -0700)]
Merge pull request #24002 from pdvian/wip-35705-mimic

mimic:rbd: fix error import when the input is a pipe

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24122 from pdvian/wip-35712-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:21:04 +0000 (08:21 -0700)]
Merge pull request #24122 from pdvian/wip-35712-mimic

mimic: librbd: journaling unable request can not be sent to remote lock owner

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24137 from pdvian/wip-35714-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:20:30 +0000 (08:20 -0700)]
Merge pull request #24137 from pdvian/wip-35714-mimic

mimic: librbd: ensure exclusive lock acquired when removing sync point snaps…

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24240 from smithfarm/wip-35077-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:19:59 +0000 (08:19 -0700)]
Merge pull request #24240 from smithfarm/wip-35077-mimic

mimic: qa: install dependencies for rbd_workunit_kernel_untar_build

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
6 years agoMerge pull request #24244 from dillaman/wip-36117-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:19:22 +0000 (08:19 -0700)]
Merge pull request #24244 from dillaman/wip-36117-mimic

mimic: test/librbd: not valid to have different parents between image snapshots

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
6 years agoMerge pull request #24321 from smithfarm/wip-36120-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:17:43 +0000 (08:17 -0700)]
Merge pull request #24321 from smithfarm/wip-36120-mimic

mimic: [rbd-mirror] failed assertion when updating mirror status

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24356 from dillaman/wip-35957-mimic
Yuri Weinstein [Wed, 3 Oct 2018 15:16:36 +0000 (08:16 -0700)]
Merge pull request #24356 from dillaman/wip-35957-mimic

mimic: librbd: fixed assert when flattening clone with zero overlap

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
6 years agoMerge pull request #24381 from alfredodeza/mimic-rm36247
Andrew Schoen [Wed, 3 Oct 2018 15:00:22 +0000 (10:00 -0500)]
Merge pull request #24381 from alfredodeza/mimic-rm36247

mimic ceph-volume: skip processing devices that don't exist when scanning system disks

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agomsg/async: clean up local buffers on dispatch 24386/head
Greg Farnum [Fri, 14 Sep 2018 17:58:49 +0000 (10:58 -0700)]
msg/async: clean up local buffers on dispatch

The AsyncConnection keeps local (member variable) bufferlists of incoming
messages before they're placed into the Message's front/data/middle buffers.
Previously these were reset only when a new Message is being received, which
means in steady state we store a full Message for every Connection even if
it's inactive!

Instead we obviously want to drop our local references to Message state
once it's been dispatched, so that it can go away.

Fixes: http://tracker.ceph.com/issues/35987
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 47ed036753223c44c7bf66c64d4a4adfe7267c0a)

6 years agoceph-volume util.disk when there are no devices mapped, skip to the next one 24381/head
Alfredo Deza [Tue, 2 Oct 2018 15:18:44 +0000 (11:18 -0400)]
ceph-volume util.disk when there are no devices mapped, skip to the next one

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9b0f472abadde26fce2a603fca5c466ebb770d4a)

6 years agoceph-volume tests.util verify devices that don't exist don't break get_devices
Alfredo Deza [Tue, 2 Oct 2018 15:18:22 +0000 (11:18 -0400)]
ceph-volume tests.util verify devices that don't exist don't break get_devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0176c1965e6ed532b38dfee03af0e9e3a85149d6)

6 years agoMerge pull request #24357 from alfredodeza/mimic-rm36249
Andrew Schoen [Tue, 2 Oct 2018 11:31:50 +0000 (06:31 -0500)]
Merge pull request #24357 from alfredodeza/mimic-rm36249

mimic ceph-volume:  activate option --auto-detect-objectstore respects --no-systemd

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume lvm.activate pass no_systemd args when detecting objectstore 24357/head
Alfredo Deza [Mon, 1 Oct 2018 15:54:19 +0000 (11:54 -0400)]
ceph-volume lvm.activate pass no_systemd args when detecting objectstore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 29de6820a9a7108c8de41036add9332f9b910359)

6 years agoceph-volume tests.lvm verify activate works with --auto-detect-objectstore
Alfredo Deza [Mon, 1 Oct 2018 15:53:37 +0000 (11:53 -0400)]
ceph-volume tests.lvm verify activate works with --auto-detect-objectstore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 60dbeb6184797ccffeaeea2e85ef2d7fb4a1c54c)

6 years agolibrbd: fixed assert when flattening clone with zero overlap 24356/head
Jason Dillaman [Wed, 12 Sep 2018 01:52:05 +0000 (21:52 -0400)]
librbd: fixed assert when flattening clone with zero overlap

Fixes: http://tracker.ceph.com/issues/35702
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8e9035443322f8cbdb8c7aff5da0d1c7599a2592)

Conflicts:
src/librbd/Operations.cc: trivial resolution
src/test/librbd/test_librbd.cc: trivial resolution

6 years agoMerge pull request #24334 from alfredodeza/mimic-rm36098
Andrew Schoen [Mon, 1 Oct 2018 14:54:23 +0000 (09:54 -0500)]
Merge pull request #24334 from alfredodeza/mimic-rm36098

mimic ceph-volume:  lsblk can fail to find PARTLABEL, must fallback to blkid

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agotools/ceph-bluestore-tool: update size label on bluefs expand 24351/head 24352/head
Igor Fedotov [Thu, 24 May 2018 16:05:48 +0000 (19:05 +0300)]
tools/ceph-bluestore-tool: update size label on bluefs expand

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 71c3b58da4e7ced3422bce2b1da0e3fa9331530b)

6 years agotools/ceph-bluestore-tool: add support for proper setting size, btime,
Igor Fedotov [Thu, 24 May 2018 13:32:01 +0000 (16:32 +0300)]
tools/ceph-bluestore-tool: add support for proper setting size, btime,
description, osd_uuid fields

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit ffac450da5d6e09cf14b8363b35f21819b48f38b)

6 years agotool/ceph-bluestore-tool: avoid mon/config access when calling global_init
Igor Fedotov [Fri, 18 May 2018 14:47:29 +0000 (17:47 +0300)]
tool/ceph-bluestore-tool: avoid mon/config access when calling global_init
This caused a permanent stuck on tool's startup.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit fa65e7bf65bea514b66f56053d5cbf2c16045f4c)

6 years agoceph-volume simple.scan better detection for ceph-disk data devices 24334/head
Alfredo Deza [Thu, 27 Sep 2018 20:17:29 +0000 (16:17 -0400)]
ceph-volume simple.scan better detection for ceph-disk data devices

Uses the new ``CephDiskDevice`` to look into PARTLABEL from both lsblk
(the default) falling back to blkid, which in some cases has the right
value when lsblk fails.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c502e5f64aa4f0d832c14680e1731e58d8a3770b)

6 years agoceph-volume tests.util verify CephDiskDevice behavior
Alfredo Deza [Thu, 27 Sep 2018 20:15:26 +0000 (16:15 -0400)]
ceph-volume tests.util verify CephDiskDevice behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 8f072eb3f940a6714089b37a6fbacd549420a454)

6 years agoceph-volume tests.conftest add blkid patching to device_info fixture
Alfredo Deza [Thu, 27 Sep 2018 20:15:00 +0000 (16:15 -0400)]
ceph-volume tests.conftest add blkid patching to device_info fixture

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5bfc8c26e639dba955f83f53893ce311e6e047f1)

6 years agoceph-volume util.device add a ceph-disk device object to detect types
Alfredo Deza [Thu, 27 Sep 2018 20:14:28 +0000 (16:14 -0400)]
ceph-volume util.device add a ceph-disk device object to detect types

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 200e6bfd934b34aa8175330aef32c51505ec3392)

6 years agoceph-volume tests.util verify new blkid API calls
Alfredo Deza [Tue, 25 Sep 2018 19:27:47 +0000 (15:27 -0400)]
ceph-volume tests.util verify new blkid API calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ead3c7e7d19635a741a9da6fc330ec12a68b3d77)

6 years agoceph-volume util.disk expand blkid's API calls
Alfredo Deza [Tue, 25 Sep 2018 19:25:13 +0000 (15:25 -0400)]
ceph-volume util.disk expand blkid's API calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit dbde6a5b611fdd4bcd942df5dbab94ab5076fdff)

6 years agoMerge pull request #24337 from alfredodeza/mimic-rm36251
Andrew Schoen [Fri, 28 Sep 2018 19:19:40 +0000 (14:19 -0500)]
Merge pull request #24337 from alfredodeza/mimic-rm36251

mimic ceph-volume add new ceph-handlers role from ceph-ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional add new ceph-handlers role from ceph-ansible 24337/head
Alfredo Deza [Fri, 28 Sep 2018 16:40:09 +0000 (12:40 -0400)]
ceph-volume tests.functional add new ceph-handlers role from ceph-ansible

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 956dc5e65c6e35e27ab6524d4fb9fdd05d616cf6)

6 years agoos/bluestore: fix bloom filter num entry miscalculation in the repairer 24339/head
Igor Fedotov [Thu, 13 Sep 2018 13:22:39 +0000 (16:22 +0300)]
os/bluestore: fix bloom filter num entry miscalculation in the repairer

This could  cause an assertion due to an access to uninitialized bloom
filter. This happened  when detecting errors involving physical extents close to the end of a large partition.
E.g. it was observed in http://tracker.ceph.com/issues/25001 while trying to repair an OSD.

Fixes: https://tracker.ceph.com/issues/35971
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 50919813a15d9c29c182062f88885890c55eb76e)

6 years agoMerge pull request #24306 from alfredodeza/mimic-batch-report-fix
Andrew Schoen [Fri, 28 Sep 2018 14:52:33 +0000 (09:52 -0500)]
Merge pull request #24306 from alfredodeza/mimic-batch-report-fix

mimic ceph-volume: fix journal and filestore data size in `lvm batch --report`

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agorbd-mirror: instantiate the status formatter before changing state 24321/head
Jason Dillaman [Wed, 19 Sep 2018 18:24:31 +0000 (14:24 -0400)]
rbd-mirror: instantiate the status formatter before changing state

This will avoid a possible race between pre-queued status updates
firing between the time the state has been changed and the formatter
has been instantiated.

Fixes: http://tracker.ceph.com/issues/36084
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit bbdc545ec1602f928c89c85d61c975abdf67be5b)

6 years agoceph-volume: only run ceph-common once during tests 24306/head
Andrew Schoen [Tue, 25 Sep 2018 17:09:15 +0000 (12:09 -0500)]
ceph-volume: only run ceph-common once during tests

Using import_role we can have just one play and avoid rerunning
ceph-common over and over again in daemon specific plays.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit a81386123e66e2d61391371cec4485b3148ff5a7)

6 years agoceph-volume: fail fast during tests
Andrew Schoen [Mon, 24 Sep 2018 21:41:37 +0000 (16:41 -0500)]
ceph-volume: fail fast during tests

This also rsyncs the ceph-volume code to the testing vms before
a ceph.conf is generated because ceph-volume is needed now for this
to figure out the number of osds when you're using 'lvm batch'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit eed244473d11a153cd7a37e0e9bfaf804a20db89)

6 years agoceph-volume: when using batch --report return journal/data size as ints
Andrew Schoen [Mon, 24 Sep 2018 21:37:35 +0000 (16:37 -0500)]
ceph-volume: when using batch --report return journal/data size as ints

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit a5e8bc97e70195cee54c4b66d10684d6cd3f5e38)

6 years agoMerge pull request #24279 from alfredodeza/mimic-rm27210
Andrew Schoen [Thu, 27 Sep 2018 16:10:29 +0000 (11:10 -0500)]
Merge pull request #24279 from alfredodeza/mimic-rm27210

mimic ceph-volume custom cluster names fail on filestore trigger

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #24210 from pdvian/wip-35855-mimic
Nathan Cutler [Thu, 27 Sep 2018 14:30:21 +0000 (16:30 +0200)]
Merge pull request #24210 from pdvian/wip-35855-mimic

mimic : doc: remove deprecated 'scrubq' from ceph(8)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #24254 from yuriw/wip-yuriw-p2p-mimic
Yuri Weinstein [Wed, 26 Sep 2018 15:38:13 +0000 (08:38 -0700)]
Merge pull request #24254 from yuriw/wip-yuriw-p2p-mimic

qa/tests: added v13.2.2 to the mix

6 years agoMerge pull request #24258 from pdvian/wip-35925-mimic
Lenz Grimmer [Wed, 26 Sep 2018 07:19:36 +0000 (09:19 +0200)]
Merge pull request #24258 from pdvian/wip-35925-mimic

mimic: mgr/dashboard: Progress bar does not stop in TableKeyValueComponent

Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoceph-volume tests/functional update dmcrypt test playbooks to use --cluster 24279/head
Alfredo Deza [Mon, 24 Sep 2018 18:44:31 +0000 (14:44 -0400)]
ceph-volume tests/functional update dmcrypt test playbooks to use --cluster

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 96e29adf72804cb4fca62c04416b8fe2d23587bb)

6 years agoceph-volume tests/functional/batch update tests to use 'test' cluster name
Alfredo Deza [Mon, 24 Sep 2018 16:52:50 +0000 (12:52 -0400)]
ceph-volume tests/functional/batch update tests to use 'test' cluster name

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5f72d438da94323c0b04f261b1a60b13eaf03966)

6 years agoceph-volume tests/functional/lvm update tests to use 'test' cluster name
Alfredo Deza [Mon, 24 Sep 2018 16:52:33 +0000 (12:52 -0400)]
ceph-volume tests/functional/lvm update tests to use 'test' cluster name

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7b0d2dc66968f81192f152fa166fbc2cb4dcb438)

6 years agoceph-volume tests/functional update playbooks to use --cluster
Alfredo Deza [Mon, 24 Sep 2018 16:51:47 +0000 (12:51 -0400)]
ceph-volume tests/functional update playbooks to use --cluster

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ba10b6820fd7f352ed6ba78246a6976c54783cbd)

6 years agoceph-volume main move out the load_ceph_conf_path to the configuration module
Alfredo Deza [Mon, 24 Sep 2018 16:27:04 +0000 (12:27 -0400)]
ceph-volume main move out the load_ceph_conf_path to the configuration module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 532908099eb63bd805db8aecae1ef12301076410)

6 years agoceph-volume tests.devices patch configuration.load to avoid raising non-existing...
Alfredo Deza [Mon, 24 Sep 2018 14:34:55 +0000 (10:34 -0400)]
ceph-volume tests.devices patch configuration.load to avoid raising non-existing ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit fe80e5399e9dd1f6b9f94404d732a76f961d9eb4)

6 years agoceph-volume tests reset the cluster name after every unit test
Alfredo Deza [Mon, 24 Sep 2018 14:29:12 +0000 (10:29 -0400)]
ceph-volume tests reset the cluster name after every unit test

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 877ee1a27e0651355812e27fbc6ac0a87ea56a68)

6 years agoceph-volume tests.functional add custom cluster name to centos7-filestore-create
Alfredo Deza [Wed, 19 Sep 2018 17:23:19 +0000 (13:23 -0400)]
ceph-volume tests.functional add custom cluster name to centos7-filestore-create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e61848dc97b638c6b8e60f0896d325f436142864)

6 years agoceph-volume lvm.activate load the config always by reading the cluster name from...
Alfredo Deza [Wed, 19 Sep 2018 16:04:41 +0000 (12:04 -0400)]
ceph-volume lvm.activate load the config always by reading the cluster name from the LV

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a88cbfc73a258b51b20e060e269234962444ce63)

6 years agoceph-volume configuration be able to set conf.ceph
Alfredo Deza [Wed, 19 Sep 2018 16:04:17 +0000 (12:04 -0400)]
ceph-volume configuration be able to set conf.ceph

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 4f8226f359d94a86a39492ed653d9a9e5d8dd8f9)

6 years agomgr/dashboard: Progress bar does not stop in TableKeyValueComponent 24258/head
Volker Theile [Mon, 10 Sep 2018 15:27:58 +0000 (17:27 +0200)]
mgr/dashboard: Progress bar does not stop in TableKeyValueComponent

Fixes: https://tracker.ceph.com/issues/35907
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 7243d9b67dc8c15283e30f889eb4d3fd00a5701a)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.ts :
: Resolved in TableKeyValueComponent

6 years agoqa/tests: added v13.2.2 to the mix 24254/head
Yuri Weinstein [Mon, 24 Sep 2018 20:28:38 +0000 (13:28 -0700)]
qa/tests: added v13.2.2 to the mix

Fixes: http://tracker.ceph.com/issues/36169
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years ago13.2.2 v13.2.2
Jenkins Build Slave User [Mon, 24 Sep 2018 17:22:30 +0000 (17:22 +0000)]
13.2.2

6 years agotest/librbd: not valid to have different parents between image snapshots 24244/head
Jason Dillaman [Tue, 4 Sep 2018 12:31:07 +0000 (08:31 -0400)]
test/librbd: not valid to have different parents between image snapshots

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3b8f4f136b52d591dc39e6c4f8bd59c1e63c158a)

Fixes: http://tracker.ceph.com/issues/36117
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa: rbd_workunit_kernel_untar_build: install build dependencies 24240/head
Ilya Dryomov [Fri, 31 Aug 2018 11:30:30 +0000 (13:30 +0200)]
qa: rbd_workunit_kernel_untar_build: install build dependencies

Commit f0fe0936e64d ("qa: use recent kernel to kernel build testing")
bumped the kernel to 4.17.

Fixes: http://tracker.ceph.com/issues/35074
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit a4df8c3562602acd996940cd4d9ae5384a085302)

6 years agomgr/DaemonServer: fix Session leak 24233/head
Sage Weil [Sat, 22 Sep 2018 19:27:56 +0000 (14:27 -0500)]
mgr/DaemonServer: fix Session leak

This bug does not exist in master.

Fixes: https://tracker.ceph.com/issues/35998
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24208 from alfredodeza/mimic-rm36088
Andrew Schoen [Fri, 21 Sep 2018 14:01:42 +0000 (09:01 -0500)]
Merge pull request #24208 from alfredodeza/mimic-rm36088

mimic ceph-volume  batch: allow journal+block.db sizing on the CLI

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #24205 from alfredodeza/mimic-rm24794
Andrew Schoen [Fri, 21 Sep 2018 14:00:33 +0000 (09:00 -0500)]
Merge pull request #24205 from alfredodeza/mimic-rm24794

mimic ceph-volume: earlier detection for --journal and --filestore flag requirements

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agodoc: remove deprecated 'scrubq' from ceph(8) 24210/head
Ruben Kerkhof [Thu, 6 Sep 2018 12:17:23 +0000 (14:17 +0200)]
doc: remove deprecated 'scrubq' from ceph(8)

The option was removed in a30cbe9adea34782be8699c010d4281d245feb6b

Fixes: http://tracker.ceph.com/issues/35813
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit d05cd1a3e612f52eab9bde42c184022205f65384)

6 years agodoc/man/ceph-volume update batch command with new sizing flags 24208/head
Alfredo Deza [Thu, 20 Sep 2018 15:01:21 +0000 (11:01 -0400)]
doc/man/ceph-volume update batch command with new sizing flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 042c2cbe475023cd3c34102b710b93c60d92077e)

6 years agoceph-volume tests.devices update fixture to include new size flags for strategies
Alfredo Deza [Thu, 20 Sep 2018 14:54:12 +0000 (10:54 -0400)]
ceph-volume tests.devices update fixture to include new size flags for strategies

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5df56a09c7b445c36d2b9d2874962c40b681a65c)

6 years agoceph-volume lvm.batch.filestore consume --journal-size
Alfredo Deza [Wed, 19 Sep 2018 21:40:24 +0000 (17:40 -0400)]
ceph-volume lvm.batch.filestore consume --journal-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2378c282c78f49f4d911316a7bc85e49a3f8e7f9)

6 years agoceph-volume lvm.batch.bluestore consume --block-db-size
Alfredo Deza [Wed, 19 Sep 2018 21:39:59 +0000 (17:39 -0400)]
ceph-volume lvm.batch.bluestore consume --block-db-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7e52bc559b21b18a06ff1dffd764dbe8aefe96a2)

6 years agoceph-volume lvm.batch add sizing flags for journal and block.db LVs
Alfredo Deza [Wed, 19 Sep 2018 21:08:16 +0000 (17:08 -0400)]
ceph-volume lvm.batch add sizing flags for journal and block.db LVs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0a16dbd7a8f597cde6debbdcd968cdaf44f6ce47)

6 years agoceph-volume tests.lvm verify that it is reported when --journal is not used with... 24205/head
Alfredo Deza [Tue, 18 Sep 2018 18:07:06 +0000 (14:07 -0400)]
ceph-volume tests.lvm verify that it is reported when --journal is not used with --filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ae657d2fe012b0e78959ead9d8d3baa1095a31ff)

6 years agoceph-volume lvm.prepare report back when --journal is not used when --filestore is set
Alfredo Deza [Tue, 18 Sep 2018 18:06:19 +0000 (14:06 -0400)]
ceph-volume lvm.prepare report back when --journal is not used when --filestore is set

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2fc1ee48ac10bd8008ff5d54382db1d83e57ec1b)

6 years agoMerge pull request #23669 from pdvian/wip-26920-mimic
Lenz Grimmer [Wed, 19 Sep 2018 14:57:11 +0000 (16:57 +0200)]
Merge pull request #23669 from pdvian/wip-26920-mimic

mimic: mgr/dashboard: Escape regex pattern in DeletionModalComponent

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agolibrbd: ensure exclusive lock acquired when removing sync point snapshots 24137/head
Mykola Golub [Tue, 17 Jul 2018 19:45:18 +0000 (22:45 +0300)]
librbd: ensure exclusive lock acquired when removing sync point snapshots

Fixes: http://tracker.ceph.com/issues/24898
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 5bb823098ed0728cf9b88c654ba4528f3e42d695)

6 years agolibrbd: journaling unable request can not be sent to remote lock owner 24122/head
Mykola Golub [Mon, 20 Aug 2018 12:39:30 +0000 (15:39 +0300)]
librbd: journaling unable request can not be sent to remote lock owner

Fixes: http://tracker.ceph.com/issues/26939
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 985535bae74106aec1938813bdb18661967f468f)

7 years agoMerge pull request #24091 from ceph/wip-ansi-version-mimic
Yuri Weinstein [Thu, 13 Sep 2018 22:58:38 +0000 (15:58 -0700)]
Merge pull request #24091 from ceph/wip-ansi-version-mimic

mimic: qa/tests: update ansible version to 2.5

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoqa/tests: Set ansible-version: 2.5 24091/head
Yuri Weinstein [Wed, 18 Jul 2018 23:57:12 +0000 (16:57 -0700)]
qa/tests: Set ansible-version: 2.5

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit f40ea9709fedd5ff14a4267961d4a4061b84181e)

7 years agoMerge pull request #24008 from SUSE/wip-fix-35906
Nathan Cutler [Thu, 13 Sep 2018 18:53:06 +0000 (20:53 +0200)]
Merge pull request #24008 from SUSE/wip-fix-35906

mimic: ceph-disk: compatibility fix for python 3

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #24081 from alfredodeza/mimic-rm35970
Andrew Schoen [Thu, 13 Sep 2018 18:00:38 +0000 (13:00 -0500)]
Merge pull request #24081 from alfredodeza/mimic-rm35970

mimic: ceph-volume fix zap not working with LVs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #24079 from alfredodeza/mimic-wip-rm35913
Andrew Schoen [Thu, 13 Sep 2018 17:09:55 +0000 (12:09 -0500)]
Merge pull request #24079 from alfredodeza/mimic-wip-rm35913

mimic: ceph-volume batch: allow --osds-per-device, default it to 1

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore 24081/head
Alfredo Deza [Thu, 13 Sep 2018 14:03:06 +0000 (10:03 -0400)]
ceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 11858c74a1e704d63185f0ef4b6cd6aa02f17e52)

7 years agoceph-volume tests.functional use --destroy when zapping lvs in bluestore
Alfredo Deza [Thu, 13 Sep 2018 14:00:37 +0000 (10:00 -0400)]
ceph-volume tests.functional use --destroy when zapping lvs in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 87af815691a7f43d14067c24e308d60f39d58051)

7 years agoceph-volume lvm.zap use remove_pv only for physical devices
Alfredo Deza [Thu, 13 Sep 2018 13:34:54 +0000 (09:34 -0400)]
ceph-volume lvm.zap use remove_pv only for physical devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 036683fde799ab1cfad7d6192981515d6b3419cc)

7 years agoMerge pull request #23105 from ukernel/mimic-24914
Yuri Weinstein [Thu, 13 Sep 2018 16:16:01 +0000 (09:16 -0700)]
Merge pull request #23105 from ukernel/mimic-24914

mimic: mds: introduce cephfs' own feature bits

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph-volume tests.lvm.strategies initial filestore validation 24079/head
Alfredo Deza [Wed, 12 Sep 2018 13:44:32 +0000 (09:44 -0400)]
ceph-volume tests.lvm.strategies initial filestore validation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d1d68eade56ba3f898cd3bfd29aa1ee3bf5460ec)

7 years agoceph-volume lvm.tests conftest fixtures for custom vgs
Alfredo Deza [Tue, 11 Sep 2018 20:53:54 +0000 (16:53 -0400)]
ceph-volume lvm.tests conftest fixtures for custom vgs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9f14db432317c15b29b187d1e1a4bd3a729a7043)

7 years agoceph-volume tests.devices.lvm add bluestore strategy cases
Alfredo Deza [Tue, 11 Sep 2018 20:53:05 +0000 (16:53 -0400)]
ceph-volume tests.devices.lvm add bluestore strategy cases

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2ced05a2bc6ba01cf8946f43d5839890a28cab20)

7 years agoceph-volume tests verify strategy validators for minimum size
Alfredo Deza [Tue, 11 Sep 2018 16:57:21 +0000 (12:57 -0400)]
ceph-volume tests verify strategy validators for minimum size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9167f76c2a7107c82b781cbe5f51e24ee72e4db4)

7 years agoceph-volume lvm.batch.filestore allow osds-per-device
Alfredo Deza [Tue, 11 Sep 2018 16:12:48 +0000 (12:12 -0400)]
ceph-volume lvm.batch.filestore allow osds-per-device

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 66947537b542da82185ea4d79bfaedaae3117918)

7 years agoceph-volume lvm.batch.validators account for osds per device, include collocation
Alfredo Deza [Tue, 11 Sep 2018 16:11:01 +0000 (12:11 -0400)]
ceph-volume lvm.batch.validators account for osds per device, include collocation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 04a40eda0ac089c07654d9ab07958126f0fc8f84)

7 years agoceph-volume lvm.batch.bluestore allow osds-per-device with MixedType
Alfredo Deza [Mon, 10 Sep 2018 21:57:44 +0000 (17:57 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with MixedType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 028ef60df768c24a9573a044a451164dcb037677)

7 years agoceph-volume lvm.batch.bluestore allow osds-per-device with SingleType
Alfredo Deza [Mon, 10 Sep 2018 21:01:57 +0000 (17:01 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with SingleType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 8c0e707110e284626fe4161097a3121170a3f09d)

7 years agoceph-volume lvm.batch add --osds-per-device flag, defaulting to 1
Alfredo Deza [Mon, 10 Sep 2018 20:12:59 +0000 (16:12 -0400)]
ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit fe7c5e0129172a4b2a216e7c49e67d8ead570b39)

7 years agoMerge pull request #24058 from theanalyst/civetweb-mimic-poll
Yuri Weinstein [Thu, 13 Sep 2018 15:17:32 +0000 (08:17 -0700)]
Merge pull request #24058 from theanalyst/civetweb-mimic-poll

mimic: rgw: civetweb: use poll instead of select while waiting on sockets

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #24041 from smithfarm/wip-35942-mimic
Yuri Weinstein [Thu, 13 Sep 2018 15:16:08 +0000 (08:16 -0700)]
Merge pull request #24041 from smithfarm/wip-35942-mimic

mimic: ceph tell osd.x bench writes resulting JSON to stderr instead of stdout.

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #24074 from alfredodeza/mimic-rm34535
Andrew Schoen [Thu, 13 Sep 2018 12:37:16 +0000 (07:37 -0500)]
Merge pull request #24074 from alfredodeza/mimic-rm34535

mimic: ceph-volume batch carve out lvs for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.util verify Disk objects don't change state with divisions 24074/head
Alfredo Deza [Mon, 10 Sep 2018 16:28:57 +0000 (12:28 -0400)]
ceph-volume tests.util verify Disk objects don't change state with divisions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9ca526336221ea2ad32e7daf3e5e46b07291a1d8)

7 years agoceph-volume util.disk fix an issue where Disk objects would mutate on div operations
Alfredo Deza [Mon, 10 Sep 2018 16:18:49 +0000 (12:18 -0400)]
ceph-volume util.disk fix an issue where Disk objects would mutate on div operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7d1a3c74240e67621e993a304eaf566d4e2789d1)

7 years agoceph-volume util.prepare add a helper to get block.db sizes from ceph.conf
Alfredo Deza [Mon, 10 Sep 2018 16:09:50 +0000 (12:09 -0400)]
ceph-volume util.prepare add a helper to get block.db sizes from ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 860068ec5daca6d7087cf1ce0594a2fe36e91193)

7 years agoceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices
Alfredo Deza [Mon, 10 Sep 2018 16:09:15 +0000 (12:09 -0400)]
ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0eb0bdfc55d8ceb27cd12bc3a7fb807a7e65c788)

7 years ago-f ceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Mon, 10 Sep 2018 16:08:35 +0000 (12:08 -0400)]
-f  ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d117d66903fa740108c9948b499150b02523fdf4)

7 years agoceph-volume lvm.batch fix error reporting, Device objects aren't strings
Alfredo Deza [Fri, 7 Sep 2018 18:11:33 +0000 (14:11 -0400)]
ceph-volume lvm.batch fix error reporting, Device objects aren't strings

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 267a386cc270081b2cd284bf78bf94b52be113dc)

7 years agoceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Fri, 7 Sep 2018 18:06:13 +0000 (14:06 -0400)]
ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Reworks the bluestore validation and reporting to account for reusable
VGs from fast devices, and adds validation calls to ensure the new way
to calculate this process will work.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 27f47565a0d43ecee03dea4f6addc739e3e78655)