]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoMerge pull request #32306 from racpatel/wip-removeubuntu
Vasu Kulkarni [Tue, 17 Dec 2019 20:13:07 +0000 (12:13 -0800)]
Merge pull request #32306 from racpatel/wip-removeubuntu

 removeing ubuntu

5 years ago removeing ubuntu 32306/head
Rachanaben Patel [Tue, 17 Dec 2019 18:41:18 +0000 (00:11 +0530)]
 removeing ubuntu

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #32156 from racpatel/WIP-fsfix
Vasu Kulkarni [Tue, 10 Dec 2019 21:33:37 +0000 (13:33 -0800)]
Merge pull request #32156 from racpatel/WIP-fsfix

qa: fix suite config for cephfs/bugs

5 years agoqa: fix malformed suite config 32156/head
Rachanaben Patel [Tue, 10 Dec 2019 19:03:33 +0000 (00:33 +0530)]
qa: fix malformed suite config

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge branch 'rh-nautilus' of https://github.com/ceph/ceph into rh-nautilus
Rachanaben Patel [Tue, 10 Dec 2019 18:59:05 +0000 (00:29 +0530)]
Merge branch 'rh-nautilus' of https://github.com/ceph/ceph into rh-nautilus

5 years agoMerge pull request #32147 from TejasC88/wip-ubuntu-remove
rakeshgm [Tue, 10 Dec 2019 16:50:53 +0000 (22:20 +0530)]
Merge pull request #32147 from TejasC88/wip-ubuntu-remove

Changes to remove references to os_type "ubuntu" and "centos" hardcode

5 years agoMerge branch 'wip-ubuntu-remove' of https://github.com/TejasC88/ceph into wip-ubuntu... 32147/head
Tejas Chandramouli [Tue, 10 Dec 2019 16:37:33 +0000 (22:07 +0530)]
Merge branch 'wip-ubuntu-remove' of https://github.com/TejasC88/ceph into wip-ubuntu-remove

5 years agoChanges to remove references to os_type "ubuntu" and "centos" hardcodings
Tejas Chandramouli [Tue, 10 Dec 2019 13:35:56 +0000 (19:05 +0530)]
Changes to remove references to os_type "ubuntu" and "centos" hardcodings

Signed-off-by: TejasC88 <tchandra@redhat.com>
5 years agoChanges to remove references to os_type "ubuntu" and "centos" hardcodings
Tejas Chandramouli [Tue, 10 Dec 2019 13:35:56 +0000 (19:05 +0530)]
Changes to remove references to os_type "ubuntu" and "centos" hardcodings

5 years agoMerge pull request #31939 from TejasC88/wip-tejas2
rakeshgm [Tue, 3 Dec 2019 07:45:04 +0000 (13:15 +0530)]
Merge pull request #31939 from TejasC88/wip-tejas2

symlink to add beast.yaml to rgw singleton suite

5 years agosymlink to add beast.yaml to rgw singleton suite 31939/head
Tejas Chandramouli [Mon, 2 Dec 2019 13:44:39 +0000 (19:14 +0530)]
symlink to add beast.yaml to rgw singleton suite

5 years agoMerge pull request #31820 from racpatel/rh-nautilus
racpatel [Fri, 22 Nov 2019 19:10:07 +0000 (11:10 -0800)]
Merge pull request #31820 from racpatel/rh-nautilus

removing radom-distro$

5 years agoremoving random-distro
Rachanaben Patel [Fri, 22 Nov 2019 18:46:01 +0000 (10:46 -0800)]
removing random-distro
Merge branch 'rh-nautilus' of https://github.com/ceph/ceph into rh-nautilus

5 years agoremoving radom-distro$ 31820/head
Rachanaben Patel [Fri, 22 Nov 2019 18:42:28 +0000 (10:42 -0800)]
removing radom-distro$

5 years agoMerge pull request #31803 from racpatel/WIP-PythonTOsh
rakeshgm [Fri, 22 Nov 2019 09:48:33 +0000 (15:18 +0530)]
Merge pull request #31803 from racpatel/WIP-PythonTOsh

[qa] fixing 'python -c' in tasks/ceph.manager.py so it works for python 2 and python 3

5 years ago[qa] fixing 'python -c' in tasks so it works for python 2 and python 3 both 31803/head
Rachanaben Patel [Fri, 22 Nov 2019 05:06:32 +0000 (21:06 -0800)]
[qa] fixing 'python -c' in tasks so it works for python 2 and python 3 both

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31634 from rakeshgm/rh-nautilus
racpatel [Thu, 14 Nov 2019 23:14:36 +0000 (15:14 -0800)]
Merge pull request #31634 from rakeshgm/rh-nautilus

distro changes

5 years agoremoved random distro softlink 31634/head
rakeshgm [Thu, 14 Nov 2019 12:26:34 +0000 (17:56 +0530)]
removed random distro softlink

Signed-off-by: rakeshgm <rakeshgm014@gmail.com>
5 years agoadded rhel_7.7 distro yaml
rakeshgm [Thu, 14 Nov 2019 09:48:40 +0000 (15:18 +0530)]
added rhel_7.7 distro yaml

Signed-off-by: rakeshgm <rakeshgm014@gmail.com>
5 years agoMerge pull request #31423 from rakeshgm/add-rhbuild-version
rakeshgm [Tue, 5 Nov 2019 17:43:21 +0000 (23:13 +0530)]
Merge pull request #31423 from rakeshgm/add-rhbuild-version

Add rhbuild versions file

5 years agoadded rhbuild supported verisions 31423/head
rakeshgm [Tue, 5 Nov 2019 17:36:44 +0000 (23:06 +0530)]
added rhbuild supported verisions

Signed-off-by: rakeshgm <rakeshgm014@gmail.com>
5 years agoMerge pull request #31395 from racpatel/WIP-ConfigDownStream
racpatel [Tue, 5 Nov 2019 04:41:07 +0000 (20:41 -0800)]
Merge pull request #31395 from racpatel/WIP-ConfigDownStream

[qa] : added downstream_config dir

5 years agoadded downstream_config dir 31395/head
Rachanaben Patel [Tue, 5 Nov 2019 04:38:44 +0000 (20:38 -0800)]
added downstream_config dir

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31391 from racpatel/WIP-rhel8rpm
racpatel [Tue, 5 Nov 2019 00:51:27 +0000 (16:51 -0800)]
Merge pull request #31391 from racpatel/WIP-rhel8rpm

[qa] : added rhel8 rpm

5 years agoadded rhel8 rpm 31391/head
racpatel [Mon, 4 Nov 2019 23:56:34 +0000 (15:56 -0800)]
added rhel8 rpm

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31390 from racpatel/WIP-rmUnsupported
racpatel [Tue, 5 Nov 2019 00:23:26 +0000 (16:23 -0800)]
Merge pull request #31390 from racpatel/WIP-rmUnsupported

added/removed supported distros softlinks

5 years agoadded/removed supported distros softlinks 31390/head
racpatel [Mon, 4 Nov 2019 23:56:34 +0000 (15:56 -0800)]
added/removed supported distros softlinks

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31389 from racpatel/WIP-rhel8Latest
racpatel [Mon, 4 Nov 2019 23:56:34 +0000 (15:56 -0800)]
Merge pull request #31389 from racpatel/WIP-rhel8Latest

rhel 8.0 is latest

5 years agorhel 8.0 is latest now 31389/head
racpatel [Mon, 4 Nov 2019 23:07:45 +0000 (15:07 -0800)]
rhel 8.0 is latest now

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31388 from ceph/revert-31386-WIP-rhel8-latest
racpatel [Mon, 4 Nov 2019 23:07:45 +0000 (15:07 -0800)]
Merge pull request #31388 from ceph/revert-31386-WIP-rhel8-latest

Revert "rhel 8.0 is latest now"

5 years agoRevert "rhel 8.0 is latest now" 31388/head
racpatel [Mon, 4 Nov 2019 23:06:47 +0000 (15:06 -0800)]
Revert "rhel 8.0 is latest now"

5 years agoMerge pull request #31386 from racpatel/WIP-rhel8-latest
racpatel [Mon, 4 Nov 2019 22:50:34 +0000 (14:50 -0800)]
Merge pull request #31386 from racpatel/WIP-rhel8-latest

rhel 8.0 is latest now

5 years agorhel 8.0 is latest now 31386/head
racpatel [Wed, 30 Oct 2019 03:56:55 +0000 (20:56 -0700)]
rhel 8.0 is latest now

Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
5 years agoMerge pull request #31237 from racpatel/WIP-nautilus-rhel8distro
racpatel [Wed, 30 Oct 2019 03:56:55 +0000 (20:56 -0700)]
Merge pull request #31237 from racpatel/WIP-nautilus-rhel8distro

added rhel_8 distro yamls

5 years agoadded rhel_8 distro yamls 31237/head
Rachanaben Patel [Wed, 30 Oct 2019 02:05:48 +0000 (19:05 -0700)]
added rhel_8 distro yamls

5 years ago14.2.4 v14.2.4
Alfredo Deza [Fri, 13 Sep 2019 18:07:41 +0000 (14:07 -0400)]
14.2.4

5 years agoceph-volume tests create a test file for checking unicode output
Alfredo Deza [Mon, 9 Sep 2019 22:55:13 +0000 (18:55 -0400)]
ceph-volume tests create a test file for checking unicode output

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume tests create a shell test for functional unicode
Alfredo Deza [Mon, 9 Sep 2019 22:54:51 +0000 (18:54 -0400)]
ceph-volume tests create a shell test for functional unicode

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume tests verify new logging fallback and encodings in terminal
Alfredo Deza [Mon, 9 Sep 2019 19:20:13 +0000 (15:20 -0400)]
ceph-volume tests verify new logging fallback and encodings in terminal

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume create a logger for the terminal
Alfredo Deza [Mon, 9 Sep 2019 17:44:17 +0000 (13:44 -0400)]
ceph-volume create a logger for the terminal

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume: instantiate the new terminal logger in main()
Alfredo Deza [Mon, 9 Sep 2019 17:44:36 +0000 (13:44 -0400)]
ceph-volume: instantiate the new terminal logger in main()

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume terminal remove unicode stream handler
Alfredo Deza [Mon, 9 Sep 2019 17:45:08 +0000 (13:45 -0400)]
ceph-volume terminal remove unicode stream handler

This caused problems in environments where stderr was redirected, since
stderr sets the encoding to None. Getting it back again allows
everything to work correctly, and keeps all the current unit tests
passing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years ago14.2.3 v14.2.3
Jenkins Build Slave User [Tue, 3 Sep 2019 13:19:58 +0000 (13:19 +0000)]
14.2.3

5 years agoMerge pull request #29945 from trociny/wip-41475-nautilus
Yuri Weinstein [Thu, 29 Aug 2019 14:43:24 +0000 (07:43 -0700)]
Merge pull request #29945 from trociny/wip-41475-nautilus

nautilus: pybind/mgr/rbd_support: ignore missing support for RBD namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #29975 from theanalyst/nautilus-beast-endpoint-fix
Yuri Weinstein [Thu, 29 Aug 2019 14:42:53 +0000 (07:42 -0700)]
Merge pull request #29975 from theanalyst/nautilus-beast-endpoint-fix

nautilus: rgw: asio: check the remote endpoint before processing requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29977 from yuriw/wip-yuriw-41513-nautilus
Yuri Weinstein [Wed, 28 Aug 2019 19:03:15 +0000 (12:03 -0700)]
Merge pull request #29977 from yuriw/wip-yuriw-41513-nautilus

qa/tests: adding mgr.x into the restart/upgrade sequence before monitors

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tests: adding mgr.x into the restart/upgrade sequence before monitors 29977/head
Yuri Weinstein [Wed, 28 Aug 2019 18:49:59 +0000 (11:49 -0700)]
qa/tests: adding mgr.x into the restart/upgrade sequence before monitors

Fixes: https://tracker.ceph.com/issues/41513
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agorgw: asio: check the remote endpoint before processing requests 29975/head
Abhishek Lekshmanan [Wed, 7 Aug 2019 15:09:32 +0000 (17:09 +0200)]
rgw: asio: check the remote endpoint before processing requests

`socket.remote_endpoint()` can throw exceptions corresponding to errors in the
`getpeername` syscall, make sure these are handled.

Fixes: CVE-2019-10222, https://tracker.ceph.com/issues/40018
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit caa653196856ecdf50519a9a33195d5c4e3372af)

Conflicts:
src/rgw/rgw_asio_frontend.cc
conflicts due to missing yield ctx in nautilus

5 years agopybind/mgr/rbd_support: ignore missing OSD support for RBD namespaces 29945/head
Jason Dillaman [Wed, 31 Jul 2019 18:19:28 +0000 (14:19 -0400)]
pybind/mgr/rbd_support: ignore missing OSD support for RBD namespaces

During upgrades, the OSDs might not yet have been upgraded yet and
therefore might be missing namespace support.

Fixes: https://tracker.ceph.com/issues/41029
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 10c0c806819741012e1c440c38fac17682125d9a)

5 years agopybind/rbd: new OperationNotSupported exception
Jason Dillaman [Wed, 31 Jul 2019 18:13:54 +0000 (14:13 -0400)]
pybind/rbd: new OperationNotSupported exception

This will help catch errors where the backing OSDs do not support
a given RBD feature.

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

5 years agoMerge pull request #29918 from badone/wip-nautilus-tracker-41518-grafana-server
Yuri Weinstein [Tue, 27 Aug 2019 18:38:58 +0000 (11:38 -0700)]
Merge pull request #29918 from badone/wip-nautilus-tracker-41518-grafana-server

nautilus: qa/ceph-ansible: Disable dashboard

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #29899 from alfredodeza/nautilus-rm41378
Alfredo Deza [Tue, 27 Aug 2019 11:48:27 +0000 (07:48 -0400)]
Merge pull request #29899 from alfredodeza/nautilus-rm41378

nautilus ceph-volume tests set the noninteractive flag for Debian

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
5 years agonautilus: qa/ceph-ansible: Disable dashboard 29918/head
Brad Hubbard [Tue, 27 Aug 2019 03:50:47 +0000 (13:50 +1000)]
nautilus: qa/ceph-ansible: Disable dashboard

Recently a dashboard playbook was added which will fail without a
grafana server so disabling the dashboard

Fixes: https://tracker.ceph.com/issues/41521
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 131f5a145adf21d402e39ac2c151664eb8ccec76)

5 years agoceph-volume tests set the noninteractive flag for Debian, to avoid prompts in apt 29899/head
Alfredo Deza [Wed, 21 Aug 2019 18:15:32 +0000 (14:15 -0400)]
ceph-volume tests set the noninteractive flag for Debian, to avoid prompts in apt

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

5 years agoMerge pull request #29805 from yuriw/wip-yuriw-41384-nautilus 29887/head
Yuri Weinstein [Thu, 22 Aug 2019 16:39:37 +0000 (09:39 -0700)]
Merge pull request #29805 from yuriw/wip-yuriw-41384-nautilus

qa/tests: changed running rbd tests test_librbd_python.sh from…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tests: changed running rbd tests test_librbd_python.sh from tag: v14.2.2 29805/head
Yuri Weinstein [Wed, 21 Aug 2019 19:38:00 +0000 (12:38 -0700)]
qa/tests: changed running rbd tests test_librbd_python.sh from tag: v14.2.2

Fixes: https://tracker.ceph.com/issues/41384
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #29801 from smithfarm/wip-41263-nautilus
Yuri Weinstein [Wed, 21 Aug 2019 19:14:08 +0000 (12:14 -0700)]
Merge pull request #29801 from smithfarm/wip-41263-nautilus

nautilus: rgw_file:  advance_mtime() takes RGWFileHandle::mutex unconditionally

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agorgw_file: dont deadlock in advance_mtime() 29801/head
Matt Benjamin [Thu, 8 Aug 2019 20:21:24 +0000 (16:21 -0400)]
rgw_file: dont deadlock in advance_mtime()

Fixes: https://tracker.ceph.com/issues/41173
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 0d3338c2d2271bbf6f4c7774ad175f7ee42d07f6)

5 years agoMerge pull request #28862 from liewegas/wip-bluefs-extents-nautilus
Yuri Weinstein [Wed, 21 Aug 2019 15:25:37 +0000 (08:25 -0700)]
Merge pull request #28862 from liewegas/wip-bluefs-extents-nautilus

nautilus: os/bluestore/bluefs_types: consolidate contiguous extents

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #29191 from mynaramana/patch-1
Kefu Chai [Wed, 21 Aug 2019 07:23:12 +0000 (15:23 +0800)]
Merge pull request #29191 from mynaramana/patch-1

doc/rados: Correcting some typos in the clay code documentation

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc/rados: Correcting some typos in the clay code documentation 29191/head
Myna V [Fri, 16 Aug 2019 06:28:44 +0000 (11:58 +0530)]
doc/rados: Correcting some typos in the clay code documentation
Signed-off-by: Myna <mynaramana@gmail.com>
5 years agoMerge pull request #29551 from pdvian/wip-40882-nautilus
Yuri Weinstein [Tue, 20 Aug 2019 21:43:23 +0000 (14:43 -0700)]
Merge pull request #29551 from pdvian/wip-40882-nautilus

nautilus: rbd: Reduce log level for cls/journal and cls/rbd expected errors

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #29722 from dillaman/wip-39499-nautilus
Yuri Weinstein [Tue, 20 Aug 2019 21:42:40 +0000 (14:42 -0700)]
Merge pull request #29722 from dillaman/wip-39499-nautilus

nautilus: librbd: snapshot object maps can go inconsistent during copyup

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #29723 from dillaman/wip-40511-nautilus
Yuri Weinstein [Tue, 20 Aug 2019 21:42:14 +0000 (14:42 -0700)]
Merge pull request #29723 from dillaman/wip-40511-nautilus

nautilus: librbd: improve journal performance to match expected degredation

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #29725 from dillaman/wip-41078-nautilus
Yuri Weinstein [Tue, 20 Aug 2019 21:41:39 +0000 (14:41 -0700)]
Merge pull request #29725 from dillaman/wip-41078-nautilus

nautilus: mgr/rbd_support: support scheduling long-running background operations

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #29745 from liewegas/wip-bluestore-no-cgroup-nautilus
Yuri Weinstein [Tue, 20 Aug 2019 16:14:12 +0000 (09:14 -0700)]
Merge pull request #29745 from liewegas/wip-bluestore-no-cgroup-nautilus

nautilus: os/bluestore: do not set osd_memory_target default from cgroup limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoos/bluestore/bluefs_types: consolidate contiguous extents 28862/head
Sage Weil [Mon, 1 Jul 2019 14:33:22 +0000 (09:33 -0500)]
os/bluestore/bluefs_types: consolidate contiguous extents

If we allocate a new extent that is contiguous with the last extent,
just extend it.  This avoids having long vectors of continguous extents
when a single large extent would suffice--especially with log files.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 4f3ce9bc201c20d10d739d42e3f7018408f110a6)

5 years agoos/bluestore: do not set osd_memory_target default from cgroup limit 29745/head
Sage Weil [Fri, 9 Aug 2019 17:25:59 +0000 (12:25 -0500)]
os/bluestore: do not set osd_memory_target default from cgroup limit

On the aarch64 box I'm testing, this gives us a value of
7378697629483768832, which is not what we want.

I think we are better off relying on this limit being explicitly set via
environment variables (POD_* by kuberentes/rook) or via the command line.

This partially reverts 5c6b533697814af8acfd9e731a2599b2294687ef, but not
all of it, since we wan to keep the option itself, as it is now used by
common/config.cc when dealing with the POD_MEMORY_LIMIT env var.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9346d3c3bcde7d0a68e21a554eb7fc836df78ba9)

5 years agoMerge pull request #29650 from pdvian/wip-40945-nautilus
Yuri Weinstein [Mon, 19 Aug 2019 16:14:00 +0000 (09:14 -0700)]
Merge pull request #29650 from pdvian/wip-40945-nautilus

nautilus: mgr/dashboard: RGW User quota validation is not working correctly

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
5 years agoMerge pull request #29678 from pdvian/wip-40948-nautilus
Yuri Weinstein [Mon, 19 Aug 2019 16:13:01 +0000 (09:13 -0700)]
Merge pull request #29678 from pdvian/wip-40948-nautilus

nautilus: core: Better default value for osd_snap_trim_sleep

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agolibrbd: tweaks to improve throughput for journaled IO 29723/head
Jason Dillaman [Thu, 13 Jun 2019 19:22:54 +0000 (15:22 -0400)]
librbd: tweaks to improve throughput for journaled IO

Increase the per-object append flush bytes to 1MiB to mimic the 16MiB
in-memory writeback cache. Finally, default enable the new journal
writethrough until flush option.

Performance results comparing no journal, pre-change, and post-change:

no journal original modified
4K 40310.84 7223.73 27427.27
32K 21530.37 3256.39 10284.05
256K 3159.67 564.73 1627.16
4M 223.03 48.03 91.91

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

5 years agolibrbd: new rbd_journal_object_writethrough_until_flush option
Jason Dillaman [Wed, 12 Jun 2019 17:36:24 +0000 (13:36 -0400)]
librbd: new rbd_journal_object_writethrough_until_flush option

When set to true, the journal will not attempt to batch appends until
after it receives the the first flush request from the user.

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

Conflicts:
src/librbd/io/ImageRequest.cc: trivial resolution

5 years agojournal: support dynamically updating recorder flush options
Jason Dillaman [Thu, 13 Jun 2019 00:06:11 +0000 (20:06 -0400)]
journal: support dynamically updating recorder flush options

Default to disabling writeback-style append flushes unless overridden
by a call to 'set_append_batch_options'.

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

5 years agojournal: fix broken append batching implementation
Jason Dillaman [Thu, 13 Jun 2019 14:21:33 +0000 (10:21 -0400)]
journal: fix broken append batching implementation

The original flush_interval/bytes/age batching options no longer
actually do anything. Integrate these better with the max in-flight
AIO handling.

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

5 years agojournal: improve logging on recorder append path
Jason Dillaman [Thu, 13 Jun 2019 13:45:32 +0000 (09:45 -0400)]
journal: improve logging on recorder append path

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

5 years agojournal: wait for in flight advance sets on stopping recorder
Mykola Golub [Thu, 13 Jun 2019 11:05:17 +0000 (12:05 +0100)]
journal: wait for in flight advance sets on stopping recorder

Before object overflow detection optimization (83461c42b) the
overflow was detected when trying to send data, so when an object
set was advanced we always had some data and flush always
completed later. But now we detect overflow on client side, it
may happen when buffer is empty and flush may complete
when "advance object set" is still in flight.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 340726ec89c4a2b57905aa1be328d55c96758fee)

5 years agojournal: optimize object overflow detection
Mykola Golub [Fri, 24 May 2019 06:07:51 +0000 (07:07 +0100)]
journal: optimize object overflow detection

Previously to detect overflow we were sending journal append
requests until -EOVERFLOW is returned by osd. This means that we
had at least one waste (rejected) request per object set (though
there may be more if the number of in-flight appends is not
limited).

We can easily predict when the osd will start to return
-EOVERFLOW and avoid such additional requests.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 83461c42b03cf7d407ac3c5d02043cca1e908015)

5 years agoMerge pull request #27684 from liewegas/wip-rgw-pgs-nautilus
Casey Bodley [Mon, 19 Aug 2019 14:38:06 +0000 (10:38 -0400)]
Merge pull request #27684 from liewegas/wip-rgw-pgs-nautilus

nautilus: rgw: remove rgw_num_rados_handles; set autoscale parameters or rgw metadata pools

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29478 from xiaoxichen/wip-41002
Yuri Weinstein [Mon, 19 Aug 2019 14:37:47 +0000 (07:37 -0700)]
Merge pull request #29478 from xiaoxichen/wip-41002

nautilus: cephfs: client: unlink dentry for inode with llref=0

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #29724 from dillaman/wip-40888-nautilus
Nathan Cutler [Mon, 19 Aug 2019 14:08:36 +0000 (16:08 +0200)]
Merge pull request #29724 from dillaman/wip-40888-nautilus

nautilus: doc/rbd: initial live-migration documentation

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agorgw: pass mostly_omap flag when opening/creating pools 27684/head
Sage Weil [Fri, 5 Apr 2019 22:37:57 +0000 (17:37 -0500)]
rgw: pass mostly_omap flag when opening/creating pools

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit af30e3a512dd1e5c51639d1f823b99ed9b43fb50)

5 years agorgw/rgw_rados: pass mostly_omap flag when opening/creating pools
Sage Weil [Thu, 4 Apr 2019 11:41:22 +0000 (06:41 -0500)]
rgw/rgw_rados: pass mostly_omap flag when opening/creating pools

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c4b830069372302ee93687d417d04ad39f600c4e)

5 years agorgw: move rgw_init_ioctx() to rgw_tools.cc
Abhishek Lekshmanan [Mon, 19 Aug 2019 10:50:37 +0000 (12:50 +0200)]
rgw: move rgw_init_ioctx() to rgw_tools.cc

move rgw_init_ioctx() out of rgw_rados.cc so that it doesn't need to be
duplicated by services/svc_rados.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1cf90269057ed18636879edef28b6e038352e335)

 Conflicts:
src/rgw/rgw_gc.cc
include conflicts with scope_guard, added rgw_tools include as well which
introduces rgw_init_ioctx

5 years agorgw: Get rid of num_rados_handles infrastructure in RGWSI_RADOS
Adam C. Emerson [Wed, 30 Jan 2019 19:26:33 +0000 (14:26 -0500)]
rgw: Get rid of num_rados_handles infrastructure in RGWSI_RADOS

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 5666b4c41a70bac75e26b44a2cec1bd895d8375d)

5 years agorgw: Get rid of num_rados_handles infrastructure in RGWRados
Adam C. Emerson [Wed, 23 Jan 2019 21:01:40 +0000 (16:01 -0500)]
rgw: Get rid of num_rados_handles infrastructure in RGWRados

Since we aren't supporting multiple handles, don't have the overhead.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 042776bbf64c34dc817980d52cebdd069492b0e6)

5 years agorgw: Remove rgw_num_rados_handles option
Abhishek Lekshmanan [Thu, 15 Aug 2019 15:25:22 +0000 (17:25 +0200)]
rgw: Remove rgw_num_rados_handles option

This has been deprecated for some time and underlies much of the
complexity of the RADOS service.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 55180511e5e5a2d9965a1bad17218ee64e023484)

Conflicts:
PendingReleaseNotes
updated to reflect current nautilus status

5 years agomon/mgr: add 'rbd_support' to list of always-on mgr modules 29725/head
Jason Dillaman [Tue, 16 Jul 2019 17:54:16 +0000 (13:54 -0400)]
mon/mgr: add 'rbd_support' to list of always-on mgr modules

The 'rbd_support' mgr module provides many background functions that
are required by the 'rbd' CLI performance queries, as well as future
background long-running maintenance tasks.

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

Conflicts:
src/mon/MgrMonitor.cc: trivial resolution

5 years agopybind/mgr/rbd_support: use image ids to detect duplicate tasks
Jason Dillaman [Fri, 2 Aug 2019 15:57:29 +0000 (11:57 -0400)]
pybind/mgr/rbd_support: use image ids to detect duplicate tasks

This helps to to avoid the case where new tasks were not being scheduled
when an image name was re-used after having a task created under the
same name.

Fixes: https://tracker.ceph.com/issues/41032
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7adb17f83106b2cba87cf343c23fd6d2d26ae0b3)

5 years agopybind/rbd: fix call to unregister_osd_perf_queries
Venky Shankar [Wed, 31 Jul 2019 05:47:02 +0000 (01:47 -0400)]
pybind/rbd: fix call to unregister_osd_perf_queries

.. should be invoked as self.unregister_osd_perf_queries()
rather than self.module.unregister_osd_perf_queries().

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 37a9b5375ff3793ea39ba7d13618aa977c8b302d)

5 years agopybind/mgr: don't log exception when cannot find RBD task by id
Jason Dillaman [Fri, 26 Jul 2019 11:01:59 +0000 (07:01 -0400)]
pybind/mgr: don't log exception when cannot find RBD task by id

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

5 years agopybind/mgr: handle duplicate rbd task commands
Jason Dillaman [Thu, 25 Jul 2019 16:36:19 +0000 (12:36 -0400)]
pybind/mgr: handle duplicate rbd task commands

The 'ceph' CLI will duplicate commands within teuthology to test
the MONs idempotency. This shouldn't be required for the MGR module,
but we can keep a fixed set of completed tests to handle this
possible command replay.

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

5 years agoqa: test case for new rbd background tasks
Jason Dillaman [Tue, 23 Jul 2019 16:49:50 +0000 (12:49 -0400)]
qa: test case for new rbd background tasks

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

5 years agopybind/mgr: rbd tasks now provide a dict to the progress events
Jason Dillaman [Mon, 22 Jul 2019 15:04:53 +0000 (11:04 -0400)]
pybind/mgr: rbd tasks now provide a dict to the progress events

This dict will include an origin key fixed to 'rbd_support' as well
as pool and image references.

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

5 years agopybind/mgr: mark progress events as failed if an error occurs
Jason Dillaman [Mon, 22 Jul 2019 15:01:39 +0000 (11:01 -0400)]
pybind/mgr: mark progress events as failed if an error occurs

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

5 years agopybind/mgr: support marking progress events as failed
Jason Dillaman [Mon, 22 Jul 2019 15:00:47 +0000 (11:00 -0400)]
pybind/mgr: support marking progress events as failed

The failed events can also include a failure message to indicate
the reason for the failure.

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

Conflicts:
src/pybind/mgr/progress/module.py: tweaked missing backport for task start/stop times

5 years agopybind/mgr: new 'rbd task' background task management
Jason Dillaman [Tue, 2 Jul 2019 23:54:49 +0000 (19:54 -0400)]
pybind/mgr: new 'rbd task' background task management

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

5 years agopybind/rbd: new OperationCanceled exception
Jason Dillaman [Tue, 23 Jul 2019 16:50:59 +0000 (12:50 -0400)]
pybind/rbd: new OperationCanceled exception

This allows the error to be directly caught instead of attempting
to parse the OSError.errno

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

5 years agopybind/rbd: flatten, remove, trash_remove, migration progress callback
Jason Dillaman [Mon, 15 Jul 2019 21:35:37 +0000 (17:35 -0400)]
pybind/rbd: flatten, remove, trash_remove, migration progress callback

This callback can be used to track progress and also to attempt to cancel
the operation while it's in-progress by returning a negative error code
from the callback.

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

5 years agolibrbd: abort an image removal if block objects cannot be removed
Jason Dillaman [Mon, 22 Jul 2019 13:48:26 +0000 (09:48 -0400)]
librbd: abort an image removal if block objects cannot be removed

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

5 years agolibrbd: allow ProgressCtx::update_progress to cancel maintenance ops
Jason Dillaman [Tue, 16 Jul 2019 02:12:08 +0000 (22:12 -0400)]
librbd: allow ProgressCtx::update_progress to cancel maintenance ops

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