]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoRevert "rocksdb: enable rocksdb_rmrange=true by default" 31612/head
Neha Ojha [Wed, 13 Nov 2019 15:33:01 +0000 (07:33 -0800)]
Revert "rocksdb: enable rocksdb_rmrange=true by default"

This reverts commit 29bafe57503066c962cc692a66178b083fd43343.

We have observed drastically poor performance when rocksdb_rmrange is
used for every key deletion.

This change is specific to nautilus, since we are experimenting with rocksdb_rmrange
along with https://github.com/ceph/ceph/pull/31442 in master.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #31555 from jan--f/wip-42755-nautilus
Alfredo Deza [Wed, 13 Nov 2019 13:56:27 +0000 (08:56 -0500)]
Merge pull request #31555 from jan--f/wip-42755-nautilus

nautilus: ceph-volume: allow to skip restorecon calls

5 years agoMerge pull request #31576 from ricardoasmarques/wip-42745-nautilus
Lenz Grimmer [Wed, 13 Nov 2019 12:16:36 +0000 (12:16 +0000)]
Merge pull request #31576 from ricardoasmarques/wip-42745-nautilus

nautilus: mgr/dashboard: Wait for breadcrumb text is present in e2e tests

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #30195 from dzafman/wip-network-nautilus
Yuri Weinstein [Tue, 12 Nov 2019 23:40:47 +0000 (15:40 -0800)]
Merge pull request #30195 from dzafman/wip-network-nautilus

nautilus: core: Health warnings on long network ping times

5 years agoMerge pull request #30904 from smithfarm/wip-42152-nautilus
Yuri Weinstein [Tue, 12 Nov 2019 23:39:55 +0000 (15:39 -0800)]
Merge pull request #30904 from smithfarm/wip-42152-nautilus

nautilus: mon/OSDMonitor: trim not-longer-exist failure reporters

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/dashboard: Wait for breadcrumb text is present in e2e tests 31576/head
Volker Theile [Mon, 9 Sep 2019 14:43:13 +0000 (16:43 +0200)]
mgr/dashboard: Wait for breadcrumb text is present in e2e tests

When the cluster is busy it might take some time until the tested component has loaded it's data and is rendered in the browser. Waiting for the breadcrumb text to be present might help to fix errors in the e2e tests.

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit e28d7287bd109b5c1682dc832c4a77ea47505165)

 Conflicts:
src/pybind/mgr/dashboard/frontend/e2e/block/images.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/block/iscsi.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/block/mirroring.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/alerts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/configuration.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/configuration.po.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/crush-map.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/hosts.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/hosts.po.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/logs.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/mgr-modules.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/monitors.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/cluster/osds.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/dashboard.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/nfs/nfs.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/page-helper.po.ts
src/pybind/mgr/dashboard/frontend/e2e/pools/pools.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/pools/pools.po.ts
src/pybind/mgr/dashboard/frontend/e2e/rgw/buckets.po.ts
src/pybind/mgr/dashboard/frontend/e2e/rgw/daemons.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/rgw/users.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/rgw/users.po.ts
src/pybind/mgr/dashboard/frontend/e2e/user-mgmt.e2e-spec.ts

Conflicts are caused by E2E refactoring in master branch.

5 years agoMerge pull request #29905 from croit/backport-26538
Yuri Weinstein [Tue, 12 Nov 2019 15:24:54 +0000 (07:24 -0800)]
Merge pull request #29905 from croit/backport-26538

nautilus: rgw: add S3 object lock feature to support object worm

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agonautilus: mgr/dashboard: Fix calculation of PG Status percenta… (#30394)
Lenz Grimmer [Tue, 12 Nov 2019 13:02:17 +0000 (13:02 +0000)]
nautilus: mgr/dashboard: Fix calculation of PG Status percenta… (#30394)

nautilus: mgr/dashboard: Fix calculation of PG Status percentage

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #30516 from tspmelo/wip-41773-nautilus
Lenz Grimmer [Tue, 12 Nov 2019 12:57:58 +0000 (12:57 +0000)]
Merge pull request #30516 from tspmelo/wip-41773-nautilus

nautilus: mgr/dashboard: Set RO as the default access_type for RGW NFS exports

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agonautilus: mgr/dashboard: NFS list should display the "Pseudo P… (#30529)
Lenz Grimmer [Tue, 12 Nov 2019 12:56:29 +0000 (12:56 +0000)]
nautilus: mgr/dashboard: NFS list should display the "Pseudo P… (#30529)

nautilus: mgr/dashboard: NFS list should display the "Pseudo Path"

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
5 years agoMerge pull request #30691 from sobelek/wip-42163-nautilus
Lenz Grimmer [Tue, 12 Nov 2019 12:53:08 +0000 (12:53 +0000)]
Merge pull request #30691 from sobelek/wip-42163-nautilus

nautilus: mgr/dashboard: Fix CephFS chart

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoceph-volume tests validate restorecon skip calls 31555/head
Alfredo Deza [Tue, 5 Nov 2019 16:51:35 +0000 (11:51 -0500)]
ceph-volume tests validate restorecon skip calls

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

5 years agoceph-volume util.system allow skipping restorecon calls
Alfredo Deza [Tue, 5 Nov 2019 16:51:16 +0000 (11:51 -0500)]
ceph-volume util.system allow skipping restorecon calls

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

5 years agoMerge pull request #29954 from smithfarm/wip-40597-nautilus
Yuri Weinstein [Mon, 11 Nov 2019 16:02:52 +0000 (08:02 -0800)]
Merge pull request #29954 from smithfarm/wip-40597-nautilus

nautilus: rgw_file: directory enumeration can be accelerated 1-2 orders of magnitude taking stats from bucket index Part I (stats from S3/Swift only)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #31075 from smithfarm/wip-42427-nautilus
Yuri Weinstein [Mon, 11 Nov 2019 15:39:34 +0000 (07:39 -0800)]
Merge pull request #31075 from smithfarm/wip-42427-nautilus

nautilus: krbd: avoid udev netlink socket overrun and retry on transient errors from udev_enumerate_scan_devices()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
5 years agoMerge pull request #29955 from smithfarm/wip-40849-nautilus
Yuri Weinstein [Mon, 11 Nov 2019 15:36:16 +0000 (07:36 -0800)]
Merge pull request #29955 from smithfarm/wip-40849-nautilus

nautilus: rgw: lifecycle transitions on non existent placement targets

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 years agoMerge pull request #29898 from smithfarm/wip-41264-nautilus
Yuri Weinstein [Mon, 11 Nov 2019 15:35:01 +0000 (07:35 -0800)]
Merge pull request #29898 from smithfarm/wip-41264-nautilus

nautilus: rgw: Potential crash in putbj

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 years agoMerge pull request #29849 from theanalyst/nautilus-listv2
Yuri Weinstein [Mon, 11 Nov 2019 15:33:35 +0000 (07:33 -0800)]
Merge pull request #29849 from theanalyst/nautilus-listv2

nautilus: rgw: list objects version 2

5 years agoMerge pull request #29803 from ivancich/nautilus-rgw-housekeeping-reset-stats
Yuri Weinstein [Mon, 11 Nov 2019 15:32:49 +0000 (07:32 -0800)]
Merge pull request #29803 from ivancich/nautilus-rgw-housekeeping-reset-stats

nautilus: rgw: housekeeping reset stats

5 years agoMerge pull request #29777 from ivancich/nautilus-rgw-bucket-list-max-entries
Yuri Weinstein [Mon, 11 Nov 2019 15:31:58 +0000 (07:31 -0800)]
Merge pull request #29777 from ivancich/nautilus-rgw-bucket-list-max-entries

nautilus: rgw: when using radosgw-admin to list bucket, can set --max-entries excessively high

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
5 years agonautilus: mgr/dashboard: Validate iSCSI controls min/max value… (#30545)
Lenz Grimmer [Mon, 11 Nov 2019 09:47:57 +0000 (09:47 +0000)]
nautilus: mgr/dashboard: Validate iSCSI controls min/max value… (#30545)

mgr/dashboard: Validate iSCSI controls
mgr/dashboard: Error editing iSCSI image advanced settings
mgr/dashboard: Error during iSCSI target edition
mgr/dashboard: Support iSCSI target-level CHAP authentication
mgr/dashboard: iSCSI control inputs should be rendered based on control "type"
mgr/dashboard: Should be possible to set the iSCSI disk WWN and LUN number from the UI
mgr/dashboard: iSCSI target details should display the disk WWN and LUN number

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #31408 from smithfarm/wip-42532-nautilus
Jan Fajerski [Fri, 8 Nov 2019 08:58:44 +0000 (09:58 +0100)]
Merge pull request #31408 from smithfarm/wip-42532-nautilus

nautilus: ceph-volume: rearrange api/lvm.py

5 years agoMerge pull request #31405 from smithfarm/wip-42535-nautilus
Jan Fajerski [Fri, 8 Nov 2019 08:53:19 +0000 (09:53 +0100)]
Merge pull request #31405 from smithfarm/wip-42535-nautilus

nautilus: ceph-volume: mokeypatch calls to lvm related binaries

5 years agoMerge pull request #30643 from pdvian/wip-41958-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 22:06:01 +0000 (14:06 -0800)]
Merge pull request #30643 from pdvian/wip-41958-nautilus

nautilus: core: osd/osd_types: fix {omap,hitset_bytes}_stats_invalid handling on spli…

5 years agoMerge pull request #30648 from trociny/wip-42095-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 22:04:50 +0000 (14:04 -0800)]
Merge pull request #30648 from trociny/wip-42095-nautilus

nautilus: osd: fix possible crash on sending dynamic perf stats report

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30783 from smithfarm/wip-41920-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 22:04:08 +0000 (14:04 -0800)]
Merge pull request #30783 from smithfarm/wip-41920-nautilus

nautilus: core: osd: scrub error on big objects; make bluestore refuse to start on big objects

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30116 from smithfarm/wip-41440-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 21:38:38 +0000 (13:38 -0800)]
Merge pull request #30116 from smithfarm/wip-41440-nautilus

nautilus: rbd-mirror: ignore errors relating to parsing the cluster config file

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #29978 from smithfarm/wip-41441-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 21:38:08 +0000 (13:38 -0800)]
Merge pull request #29978 from smithfarm/wip-41441-nautilus

nautilus: mgr/rbd_support: module.py:1088: error: Name 'image_spec' is not defined

5 years agoMerge pull request #29871 from trociny/wip-41422-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 21:37:31 +0000 (13:37 -0800)]
Merge pull request #29871 from trociny/wip-41422-nautilus

nautilus: qa/workunits/rbd: stress test `rbd mirror pool status --verbose`

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #29870 from trociny/wip-41286-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 21:36:34 +0000 (13:36 -0800)]
Merge pull request #29870 from trociny/wip-41286-nautilus

nautilus: rbd-mirror: don't overwrite status error returned by replay

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #29869 from trociny/wip-41420-nautilus
Yuri Weinstein [Thu, 7 Nov 2019 21:34:37 +0000 (13:34 -0800)]
Merge pull request #29869 from trociny/wip-41420-nautilus

nautilus: librbd: always try to acquire exclusive lock when removing image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #31470 from dillaman/wip-41629-nautilus
Jason Dillaman [Thu, 7 Nov 2019 21:06:50 +0000 (16:06 -0500)]
Merge pull request #31470 from dillaman/wip-41629-nautilus

nautilus: librbd: behave more gracefully when data pool removed

5 years agoMerge pull request #30821 from dillaman/wip-41972-nautilus
Jason Dillaman [Thu, 7 Nov 2019 19:51:50 +0000 (14:51 -0500)]
Merge pull request #30821 from dillaman/wip-41972-nautilus

nautilus: rbd-mirror: simplify peer bootstrapping

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #30818 from dillaman/wip-rbd-parent-namespace-nautilus
Jason Dillaman [Thu, 7 Nov 2019 19:51:04 +0000 (14:51 -0500)]
Merge pull request #30818 from dillaman/wip-rbd-parent-namespace-nautilus

nautilus: pybind/rbd: deprecate `parent_info`

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: workaround an ICE of GCC 31470/head
Jason Dillaman [Tue, 1 Jan 2019 07:49:05 +0000 (15:49 +0800)]
librbd: workaround an ICE of GCC

GCC is somehow annoyed at seeing the combination of decltype and
initializer_list in this place.

See https://tracker.ceph.com/issues/37719 for a semi-related issue.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoqa/workunits/rbd: add 'remove mirroring pool' test
Mykola Golub [Tue, 27 Aug 2019 05:07:32 +0000 (06:07 +0100)]
qa/workunits/rbd: add 'remove mirroring pool' test

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

5 years agolibrbd: behave more gracefully when data pool removed
Mykola Golub [Mon, 12 Aug 2019 13:42:51 +0000 (14:42 +0100)]
librbd: behave more gracefully when data pool removed

allowing to open the image and do some maintenance operations,
and returning -ENODEV for ops that require data pool.

Fixes: https://tracker.ceph.com/issues/41206
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 00b2c86f7c486fbd82e6ce27edbd90f866de88af)

Conflicts:
src/librbd/cache/ObjectCacherObjectDispatch.cc: trivial resolution
src/librbd/cache/ParentCacheObjectDispatch.cc: DNE
src/librbd/image/RefreshRequest.cc: trivial resolution
src/librbd/image/OpenRequest.cc: don't init cache on invalid data_ctx
src/librbd/io/ImageRequestWQ.cc: get reference to AioCompletion before failing

5 years agolibrados: add IoCtx::is_valid method to test if IoCtx was initialized
Mykola Golub [Thu, 22 Aug 2019 13:29:52 +0000 (14:29 +0100)]
librados: add IoCtx::is_valid method to test if IoCtx was initialized

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

5 years agoMerge pull request #30822 from dillaman/wip-41968-nautilus
Jason Dillaman [Thu, 7 Nov 2019 18:24:26 +0000 (13:24 -0500)]
Merge pull request #30822 from dillaman/wip-41968-nautilus

nautilus: cls/rbd: sanitize entity instance messenger version type

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #31468 from ceph/revert-30824-wip-41629-nautilus
Jason Dillaman [Thu, 7 Nov 2019 17:29:04 +0000 (12:29 -0500)]
Merge pull request #31468 from ceph/revert-30824-wip-41629-nautilus

Revert "nautilus: librbd: behave more gracefully when data pool removed"

5 years agoRevert "nautilus: librbd: behave more gracefully when data pool removed" 31468/head
Jason Dillaman [Thu, 7 Nov 2019 15:58:35 +0000 (10:58 -0500)]
Revert "nautilus: librbd: behave more gracefully when data pool removed"

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/dashboard: Fix error on ceph-iscsi version pre controls_limits 30545/head
Ricardo Marques [Thu, 31 Oct 2019 21:39:17 +0000 (21:39 +0000)]
mgr/dashboard: Fix error on ceph-iscsi version pre controls_limits

Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit 1dd37b00de0127fd5c3ef84d943a806c3ba722f1)

5 years agomgr/dashboard: Set iSCSI disk WWN and LUN number from the UI
Ricardo Marques [Fri, 18 Oct 2019 16:43:38 +0000 (17:43 +0100)]
mgr/dashboard: Set iSCSI disk WWN and LUN number from the UI

Fixes: https://tracker.ceph.com/issues/41749
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit 970c1253c8a73ec31363d9d4cbe5fdf008fb61f5)

 Conflicts:
       src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html
       src/pybind/mgr/dashboard/frontend/src/styles.scss

Conflicts caused by "Master" using Bootstrap 4, but "Nautilus" using Bootstap 3.

5 years agoMerge pull request #30844 from liewegas/wip-crash-nautilus
Sage Weil [Thu, 7 Nov 2019 15:30:59 +0000 (09:30 -0600)]
Merge pull request #30844 from liewegas/wip-crash-nautilus

nautilus: ceph-crash: try client.crash[.host] before client.admin; add mon profile

5 years agomgr/dashboard: Set RO as the default access_type for RGW NFS exports 30516/head
Tiago Melo [Tue, 3 Sep 2019 15:34:21 +0000 (15:34 +0000)]
mgr/dashboard: Set RO as the default access_type for RGW NFS exports

It will also show an warning if the user selects RW access_type.

Fixes: https://tracker.ceph.com/issues/40186
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit b40b510a7730d62a717c2d8609bb5eacd5cc3272)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts

5 years agoMerge pull request #30823 from dillaman/wip-42204-nautilus
Jason Dillaman [Thu, 7 Nov 2019 12:55:47 +0000 (07:55 -0500)]
Merge pull request #30823 from dillaman/wip-42204-nautilus

nautilus: librbd: v1 clones are restricted to the same namespace

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #30824 from dillaman/wip-41629-nautilus
Jason Dillaman [Thu, 7 Nov 2019 12:54:31 +0000 (07:54 -0500)]
Merge pull request #30824 from dillaman/wip-41629-nautilus

nautilus: librbd: behave more gracefully when data pool removed

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #30825 from dillaman/wip-41883-nautilus
Jason Dillaman [Thu, 7 Nov 2019 12:53:06 +0000 (07:53 -0500)]
Merge pull request #30825 from dillaman/wip-41883-nautilus

nautilus: rbd-mirror: cannot restore deferred deletion mirrored images

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #30948 from dillaman/wip-42333-nautilus
Jason Dillaman [Thu, 7 Nov 2019 12:51:50 +0000 (07:51 -0500)]
Merge pull request #30948 from dillaman/wip-42333-nautilus

nautilus: test/cls_rbd: removed mirror peer pool test cases

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/dashboard: Display WWN and LUN number in iSCSI target details
Ricardo Marques [Tue, 10 Sep 2019 10:44:26 +0000 (11:44 +0100)]
mgr/dashboard: Display WWN and LUN number in iSCSI target details

Fixes: https://tracker.ceph.com/issues/41742
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit 6b7017d91af9557feb09d86e4edb1234247316c9)

5 years agonautilus: mgr/dashboard: Unify button/URL actions naming for i… (#29510)
Lenz Grimmer [Thu, 7 Nov 2019 11:43:56 +0000 (11:43 +0000)]
nautilus: mgr/dashboard: Unify button/URL actions naming for i… (#29510)

nautilus: mgr/dashboard: Unify button/URL actions naming for iSCSI and  NFS

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agonautilus: mgr/dashboard: change bucket owner between owners fr… (#29485)
Lenz Grimmer [Thu, 7 Nov 2019 11:43:19 +0000 (11:43 +0000)]
nautilus: mgr/dashboard: change bucket owner between owners fr… (#29485)

nautilus: mgr/dashboard: change bucket owner between owners from same tenant

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #31012 from smithfarm/wip-42392-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:21:27 +0000 (12:21 -0800)]
Merge pull request #31012 from smithfarm/wip-42392-nautilus

nautilus: mgr/balancer: python3 compatibility issue

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #31031 from smithfarm/wip-42200-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:20:52 +0000 (12:20 -0800)]
Merge pull request #31031 from smithfarm/wip-42200-nautilus

nautilus: core: kv/RocksDBStore: tell rocksdb to set mode to 0600, not 0644

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #31034 from smithfarm/wip-40504-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:20:26 +0000 (12:20 -0800)]
Merge pull request #31034 from smithfarm/wip-40504-nautilus

nautilus: core: osd: rollforward may need to mark pglog dirty

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #31037 from smithfarm/wip-41548-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:19:51 +0000 (12:19 -0800)]
Merge pull request #31037 from smithfarm/wip-41548-nautilus

nautilus: core: mon/MonClient: ENXIO when sending command to down mon

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
5 years agoMerge pull request #31038 from smithfarm/wip-41705-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:19:29 +0000 (12:19 -0800)]
Merge pull request #31038 from smithfarm/wip-41705-nautilus

nautilus: core: mon/Monitor.cc: fix condition that checks for unrecognized auth mode

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
5 years agoMerge pull request #31039 from smithfarm/wip-42125-nautilus
Yuri Weinstein [Wed, 6 Nov 2019 20:18:32 +0000 (12:18 -0800)]
Merge pull request #31039 from smithfarm/wip-42125-nautilus

nautilus: mgr: fix weird health-alert daemon key

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31111 from tchaikov/nautilus/42455
Yuri Weinstein [Wed, 6 Nov 2019 20:17:49 +0000 (12:17 -0800)]
Merge pull request #31111 from tchaikov/nautilus/42455

nautilus: core: mon/MonCommands: "smart" only needs read permission

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agonautilus: mgr/dashboard: qa: whitelist client eviction warning (#31114)
Lenz Grimmer [Wed, 6 Nov 2019 14:34:45 +0000 (14:34 +0000)]
nautilus: mgr/dashboard: qa: whitelist client eviction warning (#31114)

nautilus: mgr/dashboard: qa: whitelist client eviction warning

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
5 years agoMerge pull request #30889 from yuvalif/nautilus-backport-42042
Nathan Cutler [Tue, 5 Nov 2019 18:25:38 +0000 (19:25 +0100)]
Merge pull request #30889 from yuvalif/nautilus-backport-42042

nautilus: rgw/amqp: fix race condition in AMQP unit test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30259 from LenzGr/wip-41604-nautilus
Lenz Grimmer [Tue, 5 Nov 2019 11:46:40 +0000 (11:46 +0000)]
Merge pull request #30259 from LenzGr/wip-41604-nautilus

nautilus: mgr/dashboard: access_control: add grafana scope read access to *-manager roles

Reviewed-by: Ricardo Dias <rdias@suse.com>
5 years agonautilus: mgr/dashboard: Allow the decrease of pg's of an exis… (#30376)
Lenz Grimmer [Tue, 5 Nov 2019 11:44:33 +0000 (11:44 +0000)]
nautilus: mgr/dashboard: Allow the decrease of pg's of an exis… (#30376)

nautilus: mgr/dashboard: Allow the decrease of pg's of an existing pool

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agonautilus: mgr/dashboard: Allow disabling redirection on standb… (#30382)
Lenz Grimmer [Tue, 5 Nov 2019 11:40:18 +0000 (11:40 +0000)]
nautilus: mgr/dashboard: Allow disabling redirection on standb… (#30382)

nautilus: mgr/dashboard: Allow disabling redirection on standby Dashboards

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoceph-volume: make get_pv() accepts list of PVs 31408/head
Rishabh Dave [Sat, 12 Oct 2019 11:32:33 +0000 (17:02 +0530)]
ceph-volume: make get_pv() accepts list of PVs

...so that the code calling it can pass its copy which would prevent
creating a new one within get_pv().

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 2cdf467f76ab3331c04bec2b9f0e198ff67dd2dd)

5 years agoceph-volume: make get_vg() accepts list of VGs
Rishabh Dave [Sat, 12 Oct 2019 11:29:57 +0000 (16:59 +0530)]
ceph-volume: make get_vg() accepts list of VGs

...so that the code calling it can pass its copy which would prevent
creating a new one within get_vg().

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit cde092f4c7e89a67b6c94dcedd41525c11987ef3)

5 years agoceph-volume: rearrange api/lvm.py
Rishabh Dave [Sat, 12 Oct 2019 11:14:39 +0000 (16:44 +0530)]
ceph-volume: rearrange api/lvm.py

Move code for PVs, VGs and LVs, individually, next to each other.

Fixes: https://tracker.ceph.com/issues/42368
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit f4b764b55fab611a075ad8e597f1e978e2752b7d)

5 years agoceph-volume: mokeypatch calls to lvm related binaries 31405/head
Jan Fajerski [Mon, 28 Oct 2019 14:33:24 +0000 (15:33 +0100)]
ceph-volume: mokeypatch calls to lvm related binaries

Otherwise these tests fail occasionally when run on a system that does
not have lvm installed.

Fixes: https://tracker.ceph.com/issues/42045
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 2029a99025e164f72ed2ac566ca53072d8234ecf)

5 years agonautilus: mgr/dashboard: Automatically use correct chromedrive… (#31371)
Lenz Grimmer [Tue, 5 Nov 2019 10:00:37 +0000 (10:00 +0000)]
nautilus: mgr/dashboard: Automatically use correct chromedrive… (#31371)

nautilus: mgr/dashboard: Automatically use correct chromedriver version

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoosd: Make encode/decode of osd_stat_t compatible with version 14 30195/head
David Zafman [Wed, 30 Oct 2019 23:59:28 +0000 (16:59 -0700)]
osd: Make encode/decode of osd_stat_t compatible with version 14

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agotest: Ignore OSD_SLOW_PING_TIME* if injecting socket failures
David Zafman [Thu, 3 Oct 2019 16:09:10 +0000 (09:09 -0700)]
test: Ignore OSD_SLOW_PING_TIME* if injecting socket failures

Fixes: https://tracker.ceph.com/issues/41743
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit ded58ef91d6c8a68de49fa2c6b6e01636515c59b)

5 years agotest: Allow fractional milliseconds to make test possible
David Zafman [Fri, 6 Sep 2019 18:20:10 +0000 (11:20 -0700)]
test: Allow fractional milliseconds to make test possible

Fixes: https://tracker.ceph.com/issues/41689
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 6d2e4cb109caff8dae5e5e18563b6305131b488b)

Conflicts:
src/common/options.cc (trivial)

5 years agodoc: Document network performance monitoring
David Zafman [Wed, 4 Sep 2019 18:38:09 +0000 (18:38 +0000)]
doc: Document network performance monitoring

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 71015b94abdf669695754a598a05a4a1c5d46f83)

Conflicts:
doc/rados/operations/monitoring.rst (trivial)

5 years agoosd doc mon mgr: To milliseconds for config value, user input and threshold out
David Zafman [Wed, 4 Sep 2019 17:13:32 +0000 (17:13 +0000)]
osd doc mon mgr: To milliseconds for config value, user input and threshold out

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 5f83a6158b29944cf8f5a069c50edba3e172cdcc)

Conflicts:
src/common/options.cc (trivial)

5 years agoosd mon mgr: Convert all network ping time output to milliseconds
David Zafman [Tue, 6 Aug 2019 03:57:48 +0000 (20:57 -0700)]
osd mon mgr: Convert all network ping time output to milliseconds

To output milliseconds (usec / 1000), treat as fixed point integers

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 9d02e5d39d7b5e2806a5d98bdde24f4584e70528)

Conflicts:
src/mon/PGMap.cc (trivial)

5 years agocommon: Add support routines to generate strings for fixed point
David Zafman [Fri, 9 Aug 2019 01:06:43 +0000 (18:06 -0700)]
common: Add support routines to generate strings for fixed point

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 8ac1562b4988fc3d52f92f15eb58075de0bcf27e)

5 years agotest: Add basic test for network ping tracking
David Zafman [Sat, 13 Jul 2019 02:35:04 +0000 (19:35 -0700)]
test: Add basic test for network ping tracking

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 4fb42ea27e7b6acefd081b7b287d38347a6085ce)

5 years agoosd: Add debug_heartbeat_testing_span to allow quicker testing
David Zafman [Wed, 24 Jul 2019 21:19:43 +0000 (14:19 -0700)]
osd: Add debug_heartbeat_testing_span to allow quicker testing

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 573aea2bb1d48237df5182a6e4421e15c1eea88c)

5 years agoosd: Add debug_disable_randomized_ping config for use in testing
David Zafman [Wed, 24 Jul 2019 01:10:46 +0000 (18:10 -0700)]
osd: Add debug_disable_randomized_ping config for use in testing

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit f2b26d88f0a0727f0362ccd8b287f8bb3f41dc3c)

Conflicts:
src/osd/OSD.cc (trivial)

5 years agoosd mgr: Add osd_mon_heartbeat_stat_stale option to time out ping info
David Zafman [Mon, 22 Jul 2019 18:52:41 +0000 (11:52 -0700)]
osd mgr: Add osd_mon_heartbeat_stat_stale option to time out ping info
after 1 hour

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 048f8096265dd3a647adb970255e4b11c9617b2e)

5 years agomon: Indicate when an osd with slow ping time is down
David Zafman [Fri, 19 Jul 2019 04:29:49 +0000 (21:29 -0700)]
mon: Indicate when an osd with slow ping time is down

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 5ab145d6402a2525d69296de95b36214bc4c7431)

5 years agoosd mon: Add last_update to osd_stat_t heartbeat info
David Zafman [Fri, 19 Jul 2019 04:28:16 +0000 (21:28 -0700)]
osd mon: Add last_update to osd_stat_t heartbeat info

Ignore old heartbeat info which hasn't updated

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit ea20d3522aaf644cef989c565e11dd781e420e18)

5 years agoosd: After first interval populate vectors so 5min/15min values aren't 0
David Zafman [Tue, 16 Jul 2019 19:02:43 +0000 (12:02 -0700)]
osd: After first interval populate vectors so 5min/15min values aren't 0

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 6555699d289769a44e9840424192a1be1a6ba00d)

5 years agoosd mgr: Store last pingtime for possible graphing
David Zafman [Mon, 15 Jul 2019 20:23:53 +0000 (13:23 -0700)]
osd mgr: Store last pingtime for possible graphing

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 3f846d7c806b7f62ead08f0e9fb2ba927ffe0592)

5 years agoosd mgr: Add minimum and maximum tracking to network ping time
David Zafman [Fri, 12 Jul 2019 01:06:23 +0000 (01:06 +0000)]
osd mgr: Add minimum and maximum tracking to network ping time

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 297a0e7b1de410c094fc9a6e42be14813d6dac5e)

5 years agodoc: Add documentation and release notes
David Zafman [Thu, 11 Jul 2019 00:05:47 +0000 (00:05 +0000)]
doc: Add documentation and release notes

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit f4a0be2e8707f921d65bf22a6c1090e402905ad3)

Conflicts:
PendingReleaseNotes (trivial)

5 years agoosd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace
David Zafman [Thu, 11 Jul 2019 21:24:12 +0000 (21:24 +0000)]
osd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace

Compute network ping threshold based on ratio (5% of 20 seconds is 1 second)
Make the threshold value used part of dump_osd_network for osd and mgr
Keep mon_warn_on_slow_ping_time (default 0) to optionally override the ratio

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 0d1bbd34e96e2da2027861229b376805d5ea8aa6)

5 years agomgr: Add "dump_osd_network" mgr admin request to get a sorted report
David Zafman [Tue, 9 Jul 2019 17:22:12 +0000 (17:22 +0000)]
mgr: Add "dump_osd_network" mgr admin request to get a sorted report

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 5d3c1856415f8b66e31361a0a7b9c75edc46e49e)

Conflicts:
src/mgr/ClusterState.cc (trivial)

5 years agoosd: Add "dump_osd_network" osd admin request to get a sorted report
David Zafman [Wed, 10 Jul 2019 18:15:44 +0000 (18:15 +0000)]
osd: Add "dump_osd_network" osd admin request to get a sorted report

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 025b10a5329127734367a6899543f51cd8580d43)

5 years agoosd mon: Track heartbeat ping times and report health warning
David Zafman [Wed, 26 Jun 2019 02:59:06 +0000 (02:59 +0000)]
osd mon: Track heartbeat ping times and report health warning

Fixes: http://tracker.ceph.com/issues/40640
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 66d44e7f911a57100d650ad7df9445f88ec70140)

Conflicts:
src/common/options.cc (trivial)
src/mon/PGMap.cc (trivial)
src/osd/OSD.cc (trivial)
src/osd/OSD.h (trivial)
src/osd/osd_types.cc (trivial)

src/mon/PGMap.cc manually get rid of extra argument to checks->add
src/osd/OSD.cc rename ping_stamp to stamp for backport

5 years agoMerge pull request #30532 from mikechristie/nautilus-rbd-nbd-netlink
Yuri Weinstein [Mon, 4 Nov 2019 21:04:37 +0000 (13:04 -0800)]
Merge pull request #30532 from mikechristie/nautilus-rbd-nbd-netlink

nautilus: rbd-nbd: add netlink support and nl resize

5 years agoMerge pull request #30661 from smithfarm/wip-41771-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 21:04:01 +0000 (13:04 -0800)]
Merge pull request #30661 from smithfarm/wip-41771-nautilus

nautilus: common/config_proxy: hold lock while accessing mutable container

5 years agoMerge pull request #30464 from smithfarm/wip-41915-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 21:03:00 +0000 (13:03 -0800)]
Merge pull request #30464 from smithfarm/wip-41915-nautilus

nautilus: qa: avoid page cache for krbd discard round off tests

5 years agoMerge pull request #30423 from smithfarm/wip-41545-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 21:02:19 +0000 (13:02 -0800)]
Merge pull request #30423 from smithfarm/wip-41545-nautilus

nautilus: test/librbd: set nbd timeout due to newer kernels defaulting it on

5 years agoMerge pull request #30354 from pdvian/wip-41764-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 21:01:35 +0000 (13:01 -0800)]
Merge pull request #30354 from pdvian/wip-41764-nautilus

nautilus: test/cls_rbd/test_cls_rbd: update TestClsRbd.sparsify

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30120 from pdvian/wip-41620-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 21:01:17 +0000 (13:01 -0800)]
Merge pull request #30120 from pdvian/wip-41620-nautilus

nautilus: tools/rbd-ggate: close log before running postfork

5 years agoMerge pull request #30697 from uweigand/nautilus-endian-fixes
Yuri Weinstein [Mon, 4 Nov 2019 21:00:27 +0000 (13:00 -0800)]
Merge pull request #30697 from uweigand/nautilus-endian-fixes

nautilus: backport endian fixes

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30048 from smithfarm/wip-41258-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 20:53:19 +0000 (12:53 -0800)]
Merge pull request #30048 from smithfarm/wip-41258-nautilus

nautilus: bluestore: Don't forget sub kv_submitted_waiters

5 years agoMerge pull request #30007 from smithfarm/wip-41279-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 20:52:27 +0000 (12:52 -0800)]
Merge pull request #30007 from smithfarm/wip-41279-nautilus

nautilus: mgr/prometheus: Cast collect_timeout (scrape_interval) to float

5 years agoMerge pull request #30000 from smithfarm/wip-41503-nautilus
Yuri Weinstein [Mon, 4 Nov 2019 20:51:36 +0000 (12:51 -0800)]
Merge pull request #30000 from smithfarm/wip-41503-nautilus

nautilus: osd/PeeringState: do not complain about past_intervals constrained by oldest epoch