]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoMerge pull request #29960 from smithfarm/wip-41125-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:24:11 +0000 (12:24 -0800)]
Merge pull request #29960 from smithfarm/wip-41125-nautilus

nautilus: rgw: returns one byte more data than the requested range from the SLO object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29959 from smithfarm/wip-41119-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:23:22 +0000 (12:23 -0800)]
Merge pull request #29959 from smithfarm/wip-41119-nautilus

nautilus: rgw: rgw-admin: search for user by access key

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29956 from smithfarm/wip-41109-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:22:21 +0000 (12:22 -0800)]
Merge pull request #29956 from smithfarm/wip-41109-nautilus

nautilus: rgw: fix drain handles error when deleting bucket with bypass-gc option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30941 from vumrao/wip-vumrao-42326
Yuri Weinstein [Wed, 13 Nov 2019 20:21:09 +0000 (12:21 -0800)]
Merge pull request #30941 from vumrao/wip-vumrao-42326

nautilus: mon/OSDMonitor: add check for crush rule size in pool set size command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #30923 from vumrao/wip-vumrao-42242
Yuri Weinstein [Wed, 13 Nov 2019 20:20:21 +0000 (12:20 -0800)]
Merge pull request #30923 from vumrao/wip-vumrao-42242

nautilus: osd/PG: Add PG to large omap log message

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #29748 from dzafman/wip-40840
Yuri Weinstein [Wed, 13 Nov 2019 20:13:33 +0000 (12:13 -0800)]
Merge pull request #29748 from dzafman/wip-40840

nautilus: osd: support osd_repair_during_recovery

5 years agoMerge pull request #29649 from pdvian/wip-40944-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:13:03 +0000 (12:13 -0800)]
Merge pull request #29649 from pdvian/wip-40944-nautilus

nautilus: tests: rados/mgr/tasks/module_selftest: whitelist mgr client getting blacklisted

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #29550 from pdvian/wip-40878-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:11:37 +0000 (12:11 -0800)]
Merge pull request #29550 from pdvian/wip-40878-nautilus

nautilus: mgr: Unable to reset / unset module options

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #30546 from pdvian/wip-41917-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:09:50 +0000 (12:09 -0800)]
Merge pull request #30546 from pdvian/wip-41917-nautilus

nautilus: core: osd: add log information to record the cause of do_osd_ops failure

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

nautilus: core: osd/PeeringState: recover_got - add special handler for empty log and improvements to standalone tests

5 years agoMerge pull request #30524 from liewegas/bugfix-40716-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:08:25 +0000 (12:08 -0800)]
Merge pull request #30524 from liewegas/bugfix-40716-nautilus

nautilus: core: msg,mon/MonClient: fix auth for clients without CEPHX_V2 feature

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #30486 from sobelek/wip-41921-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:07:49 +0000 (12:07 -0800)]
Merge pull request #30486 from sobelek/wip-41921-nautilus

nautilus: core: mon: show pool id in pool ls command

5 years agoMerge pull request #30480 from pdvian/wip-41862-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:07:08 +0000 (12:07 -0800)]
Merge pull request #30480 from pdvian/wip-41862-nautilus

nautilus: mon: ensure prepare_failure() marks no_reply on op

5 years agoMerge pull request #30371 from pdvian/wip-41712-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:06:40 +0000 (12:06 -0800)]
Merge pull request #30371 from pdvian/wip-41712-nautilus

nautilus: osd: prime splits/merges for any potential fabricated split/merge par…

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30280 from smithfarm/wip-41640-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:05:56 +0000 (12:05 -0800)]
Merge pull request #30280 from smithfarm/wip-41640-nautilus

nautilus: osd/PeeringState: fix wrong history of merge target

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #31027 from smithfarm/wip-42182-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:54:00 +0000 (08:54 -0800)]
Merge pull request #31027 from smithfarm/wip-42182-nautilus

nautilus: rgw: sync with elastic search v7

5 years agoMerge pull request #31026 from smithfarm/wip-41981-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:53:27 +0000 (08:53 -0800)]
Merge pull request #31026 from smithfarm/wip-41981-nautilus

nautilus: rgw: fix default storage class for get_compression_type

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30869 from smithfarm/wip-41323-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:53:02 +0000 (08:53 -0800)]
Merge pull request #30869 from smithfarm/wip-41323-nautilus

nautilus: rgw: datalog/mdlog trim commands loop until done

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #31073 from smithfarm/wip-42281-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:50:23 +0000 (08:50 -0800)]
Merge pull request #31073 from smithfarm/wip-42281-nautilus

nautilus: rgw: lifecycle days may be 0

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
5 years agoMerge pull request #30999 from cbodley/wip-40630
Yuri Weinstein [Wed, 13 Nov 2019 16:49:20 +0000 (08:49 -0800)]
Merge pull request #30999 from cbodley/wip-40630

nautilus: rgw: data/bilogs are trimmed when no peers are reading them

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30746 from IlsooByun/rgw_race_condition
Yuri Weinstein [Wed, 13 Nov 2019 16:48:25 +0000 (08:48 -0800)]
Merge pull request #30746 from IlsooByun/rgw_race_condition

nautilus: rgw: protect AioResultList by a lock to avoid race condition

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29785 from pdvian/wip-41090-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:46:38 +0000 (08:46 -0800)]
Merge pull request #29785 from pdvian/wip-41090-nautilus

nautilus: rpm: put librgw lttng SOs in the librgw-devel package

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #29784 from pdvian/wip-41091-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:46:13 +0000 (08:46 -0800)]
Merge pull request #29784 from pdvian/wip-41091-nautilus

nautilus: rpm: fdupes in SUSE builds to conform with packaging guidelines

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #29772 from smithfarm/wip-41350-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 16:45:42 +0000 (08:45 -0800)]
Merge pull request #29772 from smithfarm/wip-41350-nautilus

nautilus: build/ops: hidden corei7 requirement in binary packages

Reviewed-by: Kefu Chai <kchai@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)