]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agorgw: Report empty endpoints as error instead of crashing 44674/head
Adam C. Emerson [Wed, 19 Jan 2022 21:49:05 +0000 (16:49 -0500)]
rgw: Report empty endpoints as error instead of crashing

Fixes: https://tracker.ceph.com/issues/53941
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44615 from ceph/wip-yuriw-crontab-master
Yuri Weinstein [Wed, 19 Jan 2022 16:15:20 +0000 (08:15 -0800)]
Merge pull request #44615 from ceph/wip-yuriw-crontab-master

qa/tests: run upgrades on quincy

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44617 from cbodley/wip-rgw-swift-bulk-upload-no-such-bucket
Casey Bodley [Wed, 19 Jan 2022 15:43:44 +0000 (10:43 -0500)]
Merge pull request #44617 from cbodley/wip-rgw-swift-bulk-upload-no-such-bucket

rgw/swift: don't crash on nonexistent bucket in BulkUpload

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #44601 from trociny/wip-53888
Ilya Dryomov [Wed, 19 Jan 2022 15:36:22 +0000 (16:36 +0100)]
Merge pull request #44601 from trociny/wip-53888

cls/journal: skip disconnected clients when calculating min_commit_position

Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44381 from ly798/add-ns-to-snap-dump
Ilya Dryomov [Wed, 19 Jan 2022 15:31:45 +0000 (16:31 +0100)]
Merge pull request #44381 from ly798/add-ns-to-snap-dump

cls/rbd: add namespace to snapshot dump results

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44553 from kamoltat/wip-ksirivad-progress-mgr-enforce-key-error...
Kamoltat Sirivadhna [Wed, 19 Jan 2022 15:24:07 +0000 (10:24 -0500)]
Merge pull request #44553 from kamoltat/wip-ksirivad-progress-mgr-enforce-key-error-exception

pybind/mgr/progress: enforced try and except on event dictionary
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44024 from rhcs-dashboard/fix-53334-master
Ernesto Puerta [Wed, 19 Jan 2022 13:03:42 +0000 (14:03 +0100)]
Merge pull request #44024 from rhcs-dashboard/fix-53334-master

mgr/dashboard: Improve notifications for osd nearfull, full

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44238 from rhcs-dashboard/fix-51575-fix
Ernesto Puerta [Wed, 19 Jan 2022 12:35:03 +0000 (13:35 +0100)]
Merge pull request #44238 from rhcs-dashboard/fix-51575-fix

mgr/dashboard: Notification banners at the top of the UI have fixed height

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agoMerge pull request #44332 from rhcs-dashboard/grafana-warnings
Ernesto Puerta [Wed, 19 Jan 2022 12:18:31 +0000 (13:18 +0100)]
Merge pull request #44332 from rhcs-dashboard/grafana-warnings

monitoring/grafana: Replace missing legendFormat warning with error.

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #44600 from phlogistonjohn/jjm-mirror-service-module
Sebastian Wagner [Wed, 19 Jan 2022 11:16:29 +0000 (12:16 +0100)]
Merge pull request #44600 from phlogistonjohn/jjm-mirror-service-module

mgr/cephadm: auto-enable mirroring module when deploying service

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44647 from melissa-kun-li/remove-duplicate-deployment-doc
Sebastian Wagner [Wed, 19 Jan 2022 11:14:10 +0000 (12:14 +0100)]
Merge pull request #44647 from melissa-kun-li/remove-duplicate-deployment-doc

doc/cephadm: remove duplicate deployment scenario section

Reviewed-by: Adam King <adking@redhat.com>
3 years agomgr/dashboard: Improve notifications for osd nearfull, full 44024/head
Aashish Sharma [Fri, 19 Nov 2021 09:02:49 +0000 (14:32 +0530)]
mgr/dashboard: Improve notifications for osd nearfull, full

This PR adds some visual hints for osds that are near full or full

Fixes: https://tracker.ceph.com/issues/53334
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #44430 from 5cs/fix-check-pg-num-underflow
Yuri Weinstein [Tue, 18 Jan 2022 22:39:11 +0000 (14:39 -0800)]
Merge pull request #44430 from 5cs/fix-check-pg-num-underflow

mon/OSDMonitor: fix integer underflow of check_pg_num

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agodoc/cephadm: remove duplicate deployment scenario section 44647/head
Melissa Li [Tue, 18 Jan 2022 21:53:04 +0000 (16:53 -0500)]
doc/cephadm: remove duplicate deployment scenario section

Signed-off-by: Melissa Li <melissali@redhat.com>
3 years agoMerge pull request #43732 from pdvian/wip-limit-slowop
Yuri Weinstein [Tue, 18 Jan 2022 20:33:07 +0000 (12:33 -0800)]
Merge pull request #43732 from pdvian/wip-limit-slowop

osd/OSD: Log aggregated slow ops detail to cluster logs

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #44578 from rhcs-dashboard/fix-53843-master
Ernesto Puerta [Tue, 18 Jan 2022 19:23:07 +0000 (20:23 +0100)]
Merge pull request #44578 from rhcs-dashboard/fix-53843-master

qa/dashboard: ensure node 16 is installed

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
3 years agoMerge pull request #44607 from rhcs-dashboard/fix-autopep8-qa-tasks
Ernesto Puerta [Tue, 18 Jan 2022 19:11:07 +0000 (20:11 +0100)]
Merge pull request #44607 from rhcs-dashboard/fix-autopep8-qa-tasks

mgr/dashboard: include autopep8 for dashboard qa tasks

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44575 from rhcs-dashboard/dashboard-cephadm-more-stability
Ernesto Puerta [Tue, 18 Jan 2022 19:02:25 +0000 (20:02 +0100)]
Merge pull request #44575 from rhcs-dashboard/dashboard-cephadm-more-stability

mgr/dashboard: Refactoring dashboard cephadm checks

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #42603 from cypherean/feedback_frontend
Ernesto Puerta [Tue, 18 Jan 2022 18:47:13 +0000 (19:47 +0100)]
Merge pull request #42603 from cypherean/feedback_frontend

mgr/dashboard: report ceph tracker bug/feature through GUI

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agomgr/cephadm: add a test for enabling cephfs mirroring module 44600/head
John Mulligan [Tue, 18 Jan 2022 18:31:03 +0000 (13:31 -0500)]
mgr/cephadm: add a test for enabling cephfs mirroring module

Add a test that checks that when cephfs mirror service is enabled
the mirroring mgr module gets enabled.

Actually-written-by: Sebastian Wagner <sewagner@redhat.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/cephadm: auto-enable mirroring module when deploying service
John Mulligan [Thu, 13 Jan 2022 19:01:51 +0000 (14:01 -0500)]
mgr/cephadm: auto-enable mirroring module when deploying service

Automatically enable the mgr's mirroring module when creating
cephfs-mirror services. This will trigger a mgr respawn.

Fixes: https://tracker.ceph.com/issues/50593
Based roughly on 50dc1d0decb2fbf7b9129bddba940969410be5cd

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #33934 from cbodley/wip-40177
Casey Bodley [Tue, 18 Jan 2022 18:22:18 +0000 (13:22 -0500)]
Merge pull request #33934 from cbodley/wip-40177

rgw: delete full sync index before switching to incremental sync

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
3 years agoMerge pull request #40011 from cbodley/wip-49723
Casey Bodley [Tue, 18 Jan 2022 18:21:06 +0000 (13:21 -0500)]
Merge pull request #40011 from cbodley/wip-49723

rgw: allow rgw_data_notify_interval_msec=0 to disable notifications

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44581 from cbodley/wip-53177
Casey Bodley [Tue, 18 Jan 2022 18:20:15 +0000 (13:20 -0500)]
Merge pull request #44581 from cbodley/wip-53177

rgw/dbstore: hide dbstore_log.h from rgw_main.cc

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #44413 from cybozu/rgw-fix-error-code-of-remove-bucket-api
Casey Bodley [Tue, 18 Jan 2022 18:19:53 +0000 (13:19 -0500)]
Merge pull request #44413 from cybozu/rgw-fix-error-code-of-remove-bucket-api

rgw: remove bucket API returns NoSuchKey than NoSuchBucket

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44078 from cbodley/wip-rgw-multisite-metadata-retry-error
Casey Bodley [Tue, 18 Jan 2022 18:18:46 +0000 (13:18 -0500)]
Merge pull request #44078 from cbodley/wip-rgw-multisite-metadata-retry-error

rgw/multisite: metadata sync only retries on errors

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44602 from neha-ojha/wip-qct-remove
Neha Ojha [Tue, 18 Jan 2022 17:17:59 +0000 (09:17 -0800)]
Merge pull request #44602 from neha-ojha/wip-qct-remove

doc/foundation.rst: qct is no longer a member

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
3 years agomgr/dashboard: Refactoring dashboard cephadm checks 44575/head
Nizamudeen A [Thu, 13 Jan 2022 12:58:56 +0000 (18:28 +0530)]
mgr/dashboard: Refactoring dashboard cephadm checks

I isolated all the tests suites into there respective files
so that in future it is easier to add more tests to it.

I also given priority to the host actions.

Create OSD checks are now written in a way that OSDs
are created only on the intended hosts. This will make
the host draining process easier and less time consuming.

Also tried to address the flaky force maintenance checks.

Removed some duplicated codes

Service creation part improved to reduce the time taken
for its completion

Fixes: https://tracker.ceph.com/issues/53905
Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #44505 from guits/fix-53812
Sebastian Wagner [Tue, 18 Jan 2022 15:31:49 +0000 (16:31 +0100)]
Merge pull request #44505 from guits/fix-53812

ceph-volume: fix regression introcuded via #43536

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Teoman Onay <tonay@redhat.com>
3 years agoMerge pull request #44489 from adk3798/agent-down-alerts
Sebastian Wagner [Tue, 18 Jan 2022 15:23:40 +0000 (16:23 +0100)]
Merge pull request #44489 from adk3798/agent-down-alerts

mgr/cephadm: still check agent deps if it is marked down

3 years agomonitoring/grafana: replace filestore osd count 44332/head
Pere Diaz Bou [Tue, 18 Jan 2022 13:14:41 +0000 (14:14 +0100)]
monitoring/grafana: replace filestore osd count

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomonitoring/grafana: use Path class instead of split
Pere Diaz Bou [Mon, 3 Jan 2022 11:52:09 +0000 (12:52 +0100)]
monitoring/grafana: use Path class instead of split

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomonitoring/grafana: remove explicit str casting
Pere Diaz Bou [Mon, 3 Jan 2022 08:32:51 +0000 (09:32 +0100)]
monitoring/grafana: remove explicit str casting

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomonitoring/grafana: add generated json files
Pere Diaz Bou [Fri, 17 Dec 2021 07:58:58 +0000 (08:58 +0100)]
monitoring/grafana: add generated json files

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomonitoring/grafana: ValueError instead of RuntimeError
Pere Diaz Bou [Thu, 16 Dec 2021 14:31:28 +0000 (15:31 +0100)]
monitoring/grafana: ValueError instead of RuntimeError

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomonitoring/grafana: Replace missing legendFormat warning with error
Pere Diaz Bou [Thu, 16 Dec 2021 12:34:35 +0000 (13:34 +0100)]
monitoring/grafana: Replace missing legendFormat warning with error

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoqa/cephadm: install hwe kernel only for focal 44505/head
Guillaume Abrioux [Fri, 14 Jan 2022 17:20:10 +0000 (18:20 +0100)]
qa/cephadm: install hwe kernel only for focal

Let's install hwe kernel only on Ubuntu focal, otherwise we only shift the
problem on Ubuntu bionic given that the hwe kernel for bionic is 5.4.

Fixes: https://tracker.ceph.com/issues/53863
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44591 from athanatos/sjust/wip-seastore-flush
Samuel Just [Tue, 18 Jan 2022 03:36:10 +0000 (19:36 -0800)]
Merge pull request #44591 from athanatos/sjust/wip-seastore-flush

crimson/os/seastore: avoid empty Transactions by adding explicit flush() call

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #44556 from cyx1231st/wip-crimson-improve-log-journal
Samuel Just [Mon, 17 Jan 2022 21:19:02 +0000 (13:19 -0800)]
Merge pull request #44556 from cyx1231st/wip-crimson-improve-log-journal

crimson/os/seastore: consolidate seastore_journal logs with cleanup and validations

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agorgw: clean up index after full metadata sync 33934/head
Casey Bodley [Thu, 12 Mar 2020 20:51:26 +0000 (16:51 -0400)]
rgw: clean up index after full metadata sync

Fixes: https://tracker.ceph.com/issues/40177
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: clean up index after full data sync
Casey Bodley [Thu, 12 Mar 2020 20:43:05 +0000 (16:43 -0400)]
rgw: clean up index after full data sync

Fixes: https://tracker.ceph.com/issues/40177
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agocrimson/os/seastore: implement FuturizedStore::flush 44591/head
Samuel Just [Fri, 14 Jan 2022 06:53:17 +0000 (06:53 +0000)]
crimson/os/seastore: implement FuturizedStore::flush

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agorgw/swift: don't crash on nonexistent bucket in BulkUpload 44617/head
Casey Bodley [Mon, 17 Jan 2022 19:45:28 +0000 (14:45 -0500)]
rgw/swift: don't crash on nonexistent bucket in BulkUpload

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agomgr/dashboard: Notification banners at the top of the UI have fixed height 44238/head
Waad AlKhoury [Mon, 17 Jan 2022 19:45:58 +0000 (20:45 +0100)]
mgr/dashboard: Notification banners at the top of the UI have fixed height

Fixes: https://tracker.ceph.com/issues/51575
Signed-off-by: Waad AlKhoury <walkhour@redhat.com>
3 years agoqa/rgw: run multisite tests with some async notifications disabled 40011/head
Casey Bodley [Wed, 10 Mar 2021 21:24:52 +0000 (16:24 -0500)]
qa/rgw: run multisite tests with some async notifications disabled

disable the sending of async datalog notifications on one zone per
cluster. this helps to verify that tests don't rely on notifications to
succeed

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: allow rgw_data_notify_interval_msec=0 to disable notifications
Casey Bodley [Wed, 10 Mar 2021 21:12:13 +0000 (16:12 -0500)]
rgw: allow rgw_data_notify_interval_msec=0 to disable notifications

the data changes log for multisite will occasionally broadcast recent
changes to other zones, which they can use to prioritize sync of some
of the most recent changes. they'll eventually see all changes as they
replay the data changes log, though, so notifications aren't required
for successful sync. the ability to turn them off is useful for testing

Fixes: https://tracker.ceph.com/issues/49723
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agocls/journal: skip disconnected clients when finding min_commit_position 44601/head
Mykola Golub [Fri, 14 Jan 2022 18:21:29 +0000 (18:21 +0000)]
cls/journal: skip disconnected clients when finding min_commit_position

When a new journal client is registered, all already registered
clients are checked, and a client with min position is selected
as a position for the new client. Thus we may expect that
starting from the registered position all journal entries will be
available (not trimmed) for the new client.

But when looking for a min commit position, the client_register
function did not take into account that a registered client might
be in disconnected state, and in that case the journal entries
might be trimmed for this client.

Fixes: https://tracker.ceph.com/issues/53888
Signed-off-by: Mykola Golub <mgolub@suse.com>
3 years agoqa/tests: run upgrades on quincy 44615/head
Yuri Weinstein [Mon, 17 Jan 2022 18:15:06 +0000 (10:15 -0800)]
qa/tests: run upgrades on quincy

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoqa/nvme_loop: fix an issue on ubuntu 18.04
Guillaume Abrioux [Thu, 13 Jan 2022 21:46:03 +0000 (22:46 +0100)]
qa/nvme_loop: fix an issue on ubuntu 18.04

The following command:

```
echo /dev/sda | tee /sys/kernel/config/nvmet/subsystems/sda/namespaces/1/device_path
```

makes nvme_loop fail because fascinatingly, it adds an unexpected newline.

See:
```
/dev/sda
/dev/sda

1
tee: /sys/kernel/config/nvmet/subsystems/sda/namespaces/1/enable: No such file or directory
/dev/sda
1
```

Other distros don't have the same behavior:

```
CentOS 8
/dev/sda
/dev/sda
1

Ubuntu 20.04
/dev/sda
/dev/sda
1
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-volume: fix regression introcuded via #43536
Guillaume Abrioux [Mon, 10 Jan 2022 09:21:53 +0000 (10:21 +0100)]
ceph-volume: fix regression introcuded via #43536

The recent changes from PR #43536 introduced a regeression preventing from
running ceph-volume in a containerized context on Ubuntu 18.04.

Given that the path for the binary `lvs` differs between CentOS 8 and Ubuntu 18.04.
(`/usr/sbin/lvs` and `/sbin/lvs` respictively). It means that ceph-volume running
in the container on CentOS 8 sees the `lvs` binary at `/usr/sbin/lvs` and try to
run it with `nsenter` on the host which is running Ubuntu 18.04.

Fixes: https://tracker.ceph.com/issues/53812
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 95e88cda3df76b59b548ae808df0ef7f19db1f63)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44566 from falcon78921/minor-messaging-nit
Sebastian Wagner [Mon, 17 Jan 2022 15:47:53 +0000 (16:47 +0100)]
Merge pull request #44566 from falcon78921/minor-messaging-nit

mgr/cephadm: fix minor grammar nit in Dry-Runs message

3 years agomgr/dashboard: report ceph tracker bug/feature through GUI 42603/head
Avan Thakkar [Mon, 10 Jan 2022 09:22:26 +0000 (14:52 +0530)]
mgr/dashboard: report ceph tracker bug/feature through GUI

Fixes: https://tracker.ceph.com/issues/44851
Signed-off-by: Shreya Sharma <shreyasharma.ss305@gmail.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
3 years agoMerge pull request #44510 from rzarzynski/wip-cephadm-docfix
Sebastian Wagner [Mon, 17 Jan 2022 09:21:45 +0000 (10:21 +0100)]
Merge pull request #44510 from rzarzynski/wip-cephadm-docfix

doc/cephadm: improve the development doc a bit

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44485 from adk3798/agent-permissions
Sebastian Wagner [Mon, 17 Jan 2022 08:40:13 +0000 (09:40 +0100)]
Merge pull request #44485 from adk3798/agent-permissions

cephadm: fix permissions on agent files

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44506 from sebastian-philipp/orch-suite-add-scsi
Sebastian Wagner [Mon, 17 Jan 2022 08:39:50 +0000 (09:39 +0100)]
Merge pull request #44506 from sebastian-philipp/orch-suite-add-scsi

qa/suites/orch/cephadm: Also run the rbd/iscsi suite

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Melissa Li <mingkli@redhat.com>
3 years agomgr/dashboard: include autopep8 for dashboard qa tasks 44607/head
Avan Thakkar [Sun, 16 Jan 2022 20:07:51 +0000 (01:37 +0530)]
mgr/dashboard: include autopep8 for dashboard qa tasks

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
3 years agoMerge pull request #44603 from cbodley/wip-cmake-parquet
Casey Bodley [Fri, 14 Jan 2022 22:48:07 +0000 (17:48 -0500)]
Merge pull request #44603 from cbodley/wip-cmake-parquet

rgw: disable parquet by default

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agobuild: revert arrow package dependency 44603/head
Casey Bodley [Fri, 14 Jan 2022 19:54:09 +0000 (14:54 -0500)]
build: revert arrow package dependency

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agocmake: disable parquet by default
Casey Bodley [Fri, 14 Jan 2022 19:50:47 +0000 (14:50 -0500)]
cmake: disable parquet by default

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agodoc/foundation.rst: qct is no longer a member 44602/head
Neha Ojha [Fri, 14 Jan 2022 19:17:58 +0000 (19:17 +0000)]
doc/foundation.rst: qct is no longer a member

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44523 from ljflores/wip-telemetry-dashboard
Ernesto Puerta [Fri, 14 Jan 2022 19:11:15 +0000 (20:11 +0100)]
Merge pull request #44523 from ljflores/wip-telemetry-dashboard

mgr/dashboard/telemetry: reduce telemetry dashboard preview size

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: neha-ojha <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
3 years agoMerge pull request #44550 from jdurgin/wip-pool-get-quota
Yuri Weinstein [Fri, 14 Jan 2022 18:46:49 +0000 (10:46 -0800)]
Merge pull request #44550 from jdurgin/wip-pool-get-quota

mon/OSDMonitor: avoid null dereference if stats are not available

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42735 from amathuria/wip-amathuria-scrub-stats
Yuri Weinstein [Fri, 14 Jan 2022 18:46:28 +0000 (10:46 -0800)]
Merge pull request #42735 from amathuria/wip-amathuria-scrub-stats

osd/scrub: Add stats to PG dump for number of objects scrubbed

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #43667 from ifed01/wip-ifed-fix-ram-gridy-fsck
Neha Ojha [Fri, 14 Jan 2022 18:27:31 +0000 (10:27 -0800)]
Merge pull request #43667 from ifed01/wip-ifed-fix-ram-gridy-fsck

os/bluestore: make shared blob fsck much less RAM-greedy.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #44440 from soumyakoduri/wip-skoduri-dbstore-fixes
Soumya Koduri [Fri, 14 Jan 2022 18:08:22 +0000 (23:38 +0530)]
Merge pull request #44440 from soumyakoduri/wip-skoduri-dbstore-fixes

rgw/dbstore: Misc fixes

3 years agoMerge pull request #44552 from jdurgin/wip-releases-doc
Neha Ojha [Fri, 14 Jan 2022 17:42:08 +0000 (09:42 -0800)]
Merge pull request #44552 from jdurgin/wip-releases-doc

doc/releases: remove outdated info and versions; mark nautilus eol

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agorgw/dbstore: hide dbstore_log.h from rgw_main.cc 44581/head
Casey Bodley [Thu, 13 Jan 2022 20:56:11 +0000 (15:56 -0500)]
rgw/dbstore: hide dbstore_log.h from rgw_main.cc

dbstore_log.h sets global dout_subsys/dout_prefix macros, and was
leaking into rgw_main.cc through the common/dbstore.h. this caused all
of rgw_main's log output to start with the wrong prefix "rgw dbstore: "

Fixes: https://tracker.ceph.com/issues/53177
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/dashboard: ensure node 16 is installed 44578/head
Ernesto Puerta [Thu, 13 Jan 2022 16:21:12 +0000 (17:21 +0100)]
qa/dashboard: ensure node 16 is installed

For Ubuntu: https://github.com/nodesource/distributions#manual-installation

Fixes: https://tracker.ceph.com/issues/53843
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #44370 from benhanokh/NCB_expand_device_fix
Yuri Weinstein [Fri, 14 Jan 2022 17:06:41 +0000 (09:06 -0800)]
Merge pull request #44370 from benhanokh/NCB_expand_device_fix

NCB code doesn't update allocation file when we expand-device

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #44251 from yaarith/telemetry-opt-in
Yuri Weinstein [Fri, 14 Jan 2022 17:06:11 +0000 (09:06 -0800)]
Merge pull request #44251 from yaarith/telemetry-opt-in

mgr/telemetry: introduce new design for varying report data

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #43849 from rzarzynski/wip-bs-lucky-buffers
Yuri Weinstein [Fri, 14 Jan 2022 16:44:06 +0000 (08:44 -0800)]
Merge pull request #43849 from rzarzynski/wip-bs-lucky-buffers

blk, os/bluestore: introduce huge page-based read buffers

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agoMerge pull request #42576 from AmnonHanuhov/wip-port_rgw_classes
Radoslaw Zarzynski [Fri, 14 Jan 2022 15:48:42 +0000 (16:48 +0100)]
Merge pull request #42576 from AmnonHanuhov/wip-port_rgw_classes

crimson/osd: Port rgw object classes to run in crimson

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #44518 from gregsfortytwo/wip-fix-53824
Yuri Weinstein [Fri, 14 Jan 2022 15:47:00 +0000 (07:47 -0800)]
Merge pull request #44518 from gregsfortytwo/wip-fix-53824

osd: PeeringState: fix selection order in calc_replicated_acting_stretch

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore: consolidate seastore_journal logs with structured level and... 44556/head
Yingxin Cheng [Wed, 12 Jan 2022 05:42:11 +0000 (13:42 +0800)]
crimson/os/seastore: consolidate seastore_journal logs with structured level and format

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/journal: validate segments before replay
Yingxin Cheng [Wed, 12 Jan 2022 05:32:34 +0000 (13:32 +0800)]
crimson/os/seastore/journal: validate segments before replay

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/seastore_types: pretty print data structures
Yingxin Cheng [Wed, 12 Jan 2022 05:04:14 +0000 (13:04 +0800)]
crimson/os/seastore/seastore_types: pretty print data structures

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: count consumed records in cursor with cleanups
Yingxin Cheng [Wed, 12 Jan 2022 04:59:07 +0000 (12:59 +0800)]
crimson/os/seastore: count consumed records in cursor with cleanups

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: drop duplicated record_group_t::current_dlength
Yingxin Cheng [Tue, 11 Jan 2022 12:48:38 +0000 (20:48 +0800)]
crimson/os/seastore: drop duplicated record_group_t::current_dlength

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: classify journal related logs in seastore_types.cc
Yingxin Cheng [Mon, 10 Jan 2022 16:15:51 +0000 (00:15 +0800)]
crimson/os/seastore: classify journal related logs in seastore_types.cc

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: convert ExtentReader to seastore logging
Yingxin Cheng [Mon, 10 Jan 2022 15:20:53 +0000 (23:20 +0800)]
crimson/os/seastore: convert ExtentReader to seastore logging

Also set the logger to seastore_journal as the component works at
the journal layer.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agomgr/dashboard/telemetry: add test for formatReport() 44523/head
Laura Flores [Fri, 14 Jan 2022 14:37:10 +0000 (14:37 +0000)]
mgr/dashboard/telemetry: add test for formatReport()

Tests a scenario where all keys are removed, and one
where a key is ignored.

Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agocrimson/os/seastore/journal: convert to seastore logging
Yingxin Cheng [Fri, 7 Jan 2022 06:57:56 +0000 (14:57 +0800)]
crimson/os/seastore/journal: convert to seastore logging

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agodoc: document new OBJECTS_SCRUBBED column in pg dump 42735/head
Aishwarya Mathuria [Fri, 14 Jan 2022 14:10:33 +0000 (19:40 +0530)]
doc: document new OBJECTS_SCRUBBED column in pg dump

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
3 years agocrimson/osd: Implement missing objclass functions used by cls_rgw 42576/head
Amnon Hanuhov [Thu, 29 Jul 2021 13:19:48 +0000 (16:19 +0300)]
crimson/osd: Implement missing objclass functions used by cls_rgw

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agocrimson/osd: Add support for CEPH_OSD_OP_OMAPRMKEYS
Amnon Hanuhov [Thu, 29 Jul 2021 13:11:27 +0000 (16:11 +0300)]
crimson/osd: Add support for CEPH_OSD_OP_OMAPRMKEYS

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agocrimson/osd: Add a getter for last_user_version
Amnon Hanuhov [Thu, 29 Jul 2021 12:36:18 +0000 (15:36 +0300)]
crimson/osd: Add a getter for last_user_version

last_user_version is the last user object version applied to store

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agocrimson/osd: drop PGBackend& from OpsExecuter ctor
Amnon Hanuhov [Wed, 11 Aug 2021 16:49:44 +0000 (19:49 +0300)]
crimson/osd: drop PGBackend& from OpsExecuter ctor

OpsExecuter holds a Ref<PG> so the PGBackend can be extracted from it
using get_backend()

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agocrimson/osd: drop pg_pool_t from OpsExecuter ctor
Amnon Hanuhov [Wed, 11 Aug 2021 16:34:55 +0000 (19:34 +0300)]
crimson/osd: drop pg_pool_t from OpsExecuter ctor

OpsExecuter now holds a Ref<PG> so the pool info can be extracted from it
using get_pool().info

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agocrimson/osd: Store a reference to PG inside OpsExecuter
Amnon Hanuhov [Thu, 24 Jun 2021 15:59:53 +0000 (18:59 +0300)]
crimson/osd: Store a reference to PG inside OpsExecuter

This is needed as some ObjClass methods make use of pg information related to the given cls_method_context_t

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
3 years agoMerge pull request #44507 from votdev/issue_53813_nfs_page_not_found
Ernesto Puerta [Fri, 14 Jan 2022 11:56:55 +0000 (12:56 +0100)]
Merge pull request #44507 from votdev/issue_53813_nfs_page_not_found

mgr/dashboard: NFS pages shows 'Page not found'

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agoMerge pull request #43685 from p-se/fix-grafana-graphs-ceph_daemon
Ernesto Puerta [Fri, 14 Jan 2022 11:50:13 +0000 (12:50 +0100)]
Merge pull request #43685 from p-se/fix-grafana-graphs-ceph_daemon

mgr/dashboard: fix Grafana OSD/host panels

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: p-se <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44573 from rhcs-dashboard/53858-fix-smart-data-single-daemon
Ernesto Puerta [Fri, 14 Jan 2022 11:48:52 +0000 (12:48 +0100)]
Merge pull request #44573 from rhcs-dashboard/53858-fix-smart-data-single-daemon

mgr/dashboard: fix: get SMART data from single-daemon device

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44559 from ideepika/wip-iscsi-53830
Ilya Dryomov [Fri, 14 Jan 2022 09:30:27 +0000 (10:30 +0100)]
Merge pull request #44559 from ideepika/wip-iscsi-53830

test/rbd/iscsi: correct the hostname in gwcli_create.t to match hostname -f

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44571 from idryomov/wip-xfstests-qemu-cert
Ilya Dryomov [Fri, 14 Jan 2022 09:28:06 +0000 (10:28 +0100)]
Merge pull request #44571 from idryomov/wip-xfstests-qemu-cert

qa/run_xfstests_qemu.sh: stop reporting success without actually running any tests

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agocrimson: add and use FuturizedStore::flush() interface
Samuel Just [Fri, 14 Jan 2022 04:58:16 +0000 (04:58 +0000)]
crimson: add and use FuturizedStore::flush() interface

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44570 from vshankar/wip-53857
Venky Shankar [Fri, 14 Jan 2022 03:12:20 +0000 (08:42 +0530)]
Merge pull request #44570 from vshankar/wip-53857

qa: adjust for MDSs to get deployed before verifying their availability

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #44555 from cyx1231st/wip-fix-seastore-jounral-fast-submit
Samuel Just [Fri, 14 Jan 2022 01:23:37 +0000 (17:23 -0800)]
Merge pull request #44555 from cyx1231st/wip-fix-seastore-jounral-fast-submit

crimson/os/seastore/journal: fast submit if RecordSubmitter is IDLE and no pending

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agodoc/releases: remove dev and pre-nautilus releases from timeline 44552/head
Josh Durgin [Wed, 12 Jan 2022 02:15:34 +0000 (21:15 -0500)]
doc/releases: remove dev and pre-nautilus releases from timeline

Improve readability of the table - all this information is still
preserved in older branches.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #44583 from mgfritch/fixup-44306-docker-count
Adam King [Fri, 14 Jan 2022 00:18:35 +0000 (19:18 -0500)]
Merge pull request #44583 from mgfritch/fixup-44306-docker-count

cephadm: increase number of docker.io occurances

Reviewed-by: Adam King <adking@redhat.com>
3 years agocephadm: increase number of docker.io occurances 44583/head
Michael Fritch [Thu, 13 Jan 2022 22:22:40 +0000 (15:22 -0700)]
cephadm: increase number of docker.io occurances

fixup for 0fe2e54db774271e4fc18b45aba36b66cbc71779

Signed-off-by: Michael Fritch <mfritch@suse.com>