]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/crash: add option and serve infra
Sage Weil [Sat, 13 Jul 2019 16:06:41 +0000 (11:06 -0500)]
mgr/crash: add option and serve infra

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

5 years agomgr/crash: keep copy of crashes in memory
Sage Weil [Sat, 13 Jul 2019 15:39:41 +0000 (10:39 -0500)]
mgr/crash: keep copy of crashes in memory

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

5 years agomgr/pg_autoscaler: adjust style to match built-in tables
Sage Weil [Sat, 13 Jul 2019 13:35:01 +0000 (08:35 -0500)]
mgr/pg_autoscaler: adjust style to match built-in tables

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

5 years agomgr/crash: make 'crash ls' a nice table with a NEW column
Sage Weil [Fri, 12 Jul 2019 21:34:37 +0000 (16:34 -0500)]
mgr/crash: make 'crash ls' a nice table with a NEW column

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

5 years agomgr/crash: nicely format 'crash info' output
Sage Weil [Fri, 12 Jul 2019 21:23:17 +0000 (16:23 -0500)]
mgr/crash: nicely format 'crash info' output

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

5 years agomgr/crash: add 'crash archive <id>', 'crash archive-all' commands
Sage Weil [Fri, 12 Jul 2019 21:23:03 +0000 (16:23 -0500)]
mgr/crash: add 'crash archive <id>', 'crash archive-all' commands

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

5 years agoMerge branch 'nautilus' into wip-device-telemetry-nautilus
Sage Weil [Fri, 15 Nov 2019 14:23:53 +0000 (08:23 -0600)]
Merge branch 'nautilus' into wip-device-telemetry-nautilus

5 years agoMerge PR #30755 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:11:57 +0000 (07:11 -0600)]
Merge PR #30755 into nautilus

* refs/pull/30755/head:
os/bluestore: fix improper setting of STATE_KV_SUBMITTED.

5 years agoMerge PR #30773 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:11:33 +0000 (07:11 -0600)]
Merge PR #30773 into nautilus

* refs/pull/30773/head:
mgr/BaseMgrStandbyModule: drop GIL in ceph_get_module_option()

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #31099 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:11:05 +0000 (07:11 -0600)]
Merge PR #31099 into nautilus

* refs/pull/31099/head:
auth/cephx/CephxClientHandler: handle decode errors
auth/cephx/CephxProtocol: handle decode errors in CephXTicketHandler::verify_service_ticket_reply
auth/cephx/CephxServiceHandler: handle decode errors

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31100 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:10:37 +0000 (07:10 -0600)]
Merge PR #31100 into nautilus

* refs/pull/31100/head:
mgr/pg_autoscaler: use 'stored' for pool_logical_used

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #31411 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:10:15 +0000 (07:10 -0600)]
Merge PR #31411 into nautilus

* refs/pull/31411/head:
mgr/ActivePyModules: behave if a module queries a devid that does not exist

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge PR #31446 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:09:55 +0000 (07:09 -0600)]
Merge PR #31446 into nautilus

* refs/pull/31446/head:
mgr/devicehealth: do not scrape mon devices

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #31612 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:09:38 +0000 (07:09 -0600)]
Merge PR #31612 into nautilus

* refs/pull/31612/head:
Revert "rocksdb: enable rocksdb_rmrange=true by default"

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge PR #31644 into nautilus
Sage Weil [Fri, 15 Nov 2019 13:09:20 +0000 (07:09 -0600)]
Merge PR #31644 into nautilus

* refs/pull/31644/head:
os/bluestore: consolidate extents from the same device only

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #31565 from tspmelo/wip-42747-nautilus
Lenz Grimmer [Fri, 15 Nov 2019 08:37:46 +0000 (08:37 +0000)]
Merge pull request #31565 from tspmelo/wip-42747-nautilus

nautilus: mgr/dashboard: Improve position of MDS chart tooltip

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge PR #30827 into nautilus
Patrick Donnelly [Thu, 14 Nov 2019 17:37:22 +0000 (09:37 -0800)]
Merge PR #30827 into nautilus

* refs/pull/30827/head:
qa/tasks: tests for ls
mgr/volumes: list FS subvolumes, subvolume groups and their snapshots

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31076 into nautilus
Patrick Donnelly [Thu, 14 Nov 2019 17:34:46 +0000 (09:34 -0800)]
Merge PR #31076 into nautilus

* refs/pull/31076/head:
mgr/volumes: fix incorrect snapshot path creation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30768 into nautilus
Patrick Donnelly [Thu, 14 Nov 2019 17:30:24 +0000 (09:30 -0800)]
Merge PR #30768 into nautilus

* refs/pull/30768/head:
doc: protection for 'fs volume rm' command
doc: add ceph fs volumes and subvolumes documentation
qa/tasks: add/update tests for --yes-i-really-mean-it
mgr/volumes: protection for 'fs volume rm' command

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #31641 from liewegas/fix-42783-nautilus
Nathan Cutler [Thu, 14 Nov 2019 17:15:09 +0000 (18:15 +0100)]
Merge pull request #31641 from liewegas/fix-42783-nautilus

nautilus: qa/tasks/ceph.conf.template: increase mon tell retries

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
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 agoos/bluestore: consolidate extents from the same device only 31644/head
Igor Fedotov [Wed, 13 Nov 2019 19:09:53 +0000 (22:09 +0300)]
os/bluestore: consolidate extents from the same device only

Presumably Fixes: https://tracker.ceph.com/issues/42223

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

5 years agoqa/tasks/ceph.conf.template: increase mon tell retries 31641/head
Sage Weil [Thu, 14 Nov 2019 16:14:11 +0000 (10:14 -0600)]
qa/tasks/ceph.conf.template: increase mon tell retries

With lots of ms failure injection we see these failing in QA.  Bump this
up as a kludge for nautilus *only*; the master tell implementation no
longer sucks.

Fixes: https://tracker.ceph.com/issues/42783
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31248 from smithfarm/wip-42562-nautilus
Nathan Cutler [Thu, 14 Nov 2019 15:46:50 +0000 (16:46 +0100)]
Merge pull request #31248 from smithfarm/wip-42562-nautilus

nautilus: tests: enable dashboard tests to be run with "--suite rados/dashboard"

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoqa: enable dashboard tests to be run with "--suite rados/dashboard" 31248/head
Nathan Cutler [Tue, 17 Sep 2019 16:11:11 +0000 (18:11 +0200)]
qa: enable dashboard tests to be run with "--suite rados/dashboard"

This moves dashboard.yaml from rados/mgr into a new, separate rados/dashboard
suite. The common elements it uses are moved from rados/mgr into qa/ and
replaced with symlinks.

Fixes: https://tracker.ceph.com/issues/41820
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 493ee6d78ff90c4c3d81f5c7edac6d06fbe3d295)

5 years agoMerge pull request #31628 from yuvalif/nautilus-backport-of-42497
Nathan Cutler [Thu, 14 Nov 2019 15:24:43 +0000 (16:24 +0100)]
Merge pull request #31628 from yuvalif/nautilus-backport-of-42497

nautilus: rgw/amqp: remove flaky amqp test

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agorgw/amqp: remove a test that requires syncronization 31628/head
Yuval Lifshitz [Sun, 10 Nov 2019 09:57:57 +0000 (11:57 +0200)]
rgw/amqp: remove a test that requires syncronization
betwen the amqp manager internal thread and the test itself
amqp reconnect should be tested by system test instead

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 10a27ef809c4e3f745f2726a5f0be8d8579a5979)
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agoMerge pull request #30899 from smithfarm/wip-42126-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:30:46 +0000 (12:30 -0800)]
Merge pull request #30899 from smithfarm/wip-42126-nautilus

nautilus: core/osd,crush: "do not trust partially simplified pg_upmap_item" and "remove invalid upmap items"

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

nautilus: mgr/{dashboard,prometheus}: return FQDN instead of '0.0.0.0'

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoMerge pull request #30696 from uweigand/nautilus-z-build
Yuri Weinstein [Wed, 13 Nov 2019 20:26:22 +0000 (12:26 -0800)]
Merge pull request #30696 from uweigand/nautilus-z-build

nautilus: cmake,rgw: IBM Z build fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30419 from ceph/wip-41238-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:25:24 +0000 (12:25 -0800)]
Merge pull request #30419 from ceph/wip-41238-nautilus

nautilus: mon/OSDMonitor: Use generic priority cache tuner for mon caches

5 years agoMerge pull request #29961 from smithfarm/wip-41130-nautilus
Yuri Weinstein [Wed, 13 Nov 2019 20:24:38 +0000 (12:24 -0800)]
Merge pull request #29961 from smithfarm/wip-41130-nautilus

nautilus: rgw: Swift metadata dropped after S3 bucket versioning enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
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 agomgr/dashboard: Improve position of MDS chart tooltip 31565/head
Tiago Melo [Mon, 4 Nov 2019 16:08:57 +0000 (15:08 -0100)]
mgr/dashboard: Improve position of MDS chart tooltip

The previous position was overlapping the data points.

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

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 agomgr/prometheus: return FQDN for default server_addr 31482/head
Patrick Seidensal [Wed, 6 Nov 2019 10:45:51 +0000 (11:45 +0100)]
mgr/prometheus: return FQDN for default server_addr

Instead of returning '0.0.0.0' the prometheus module returns the FQDN of
the host, as it is the case for '::'.

Fixes: https://tracker.ceph.com/issues/42664
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 9eb1c34f6fcbf5ac7e1e0b695a0182d5937cc038)

5 years agomgr/dashboard: return FQDN for default server_addr
Patrick Seidensal [Wed, 6 Nov 2019 10:42:52 +0000 (11:42 +0100)]
mgr/dashboard: return FQDN for default server_addr

Instead of returning '0.0.0.0' the dashboard returns the FQDN of the
host, as it is the case for '::'.

Fixes: https://tracker.ceph.com/issues/42664
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit a4e96b45ac19838ba6f883f413a7281bc92100c7)

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 agocrush: remove invalid upmap items 30899/head
huangjun [Thu, 24 Oct 2019 15:44:12 +0000 (23:44 +0800)]
crush: remove invalid upmap items

We can not cancel in verify_upmap if remap an osd to different root bucket,

cluster topology:
osd.0 ~ osd.29 belongs to datacenter 1
osd30 ~ osd.59 belongs to datacenter 2
crush rule:
  take datacenter 1
  chooseleaf 2 host
  emit
  take datacenter 2
  chooseleaf 2 host
  emit
The pg's primary osd in datacenter 1.

We should cancel the pgid from upmap_items like below
1) from [26,12,54,46] to [30,12,54,46]
pg_upmap_items [26,30]

2) from [16,25,53,31] to [40,25,53,0]
pg_upmap_items [16,20,31,0]

Signed-off-by: huangjun <huangjun@xsky.com>
(cherry picked from commit 712a39e5c9d9848f618ad55a768103d84c0a460f)

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>