]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/rados/ops: edit health-checks.rst (2 of x) 50825/head
Zac Dover [Sat, 1 Apr 2023 20:05:41 +0000 (06:05 +1000)]
doc/rados/ops: edit health-checks.rst (2 of x)

Edit docs/rados/operations/health-checks.rst (2 of x). PR#50674, the PR
that immediately precedes this PR in the series of PRs that line-edit
health-checks.rst, wrongly identified this series as having five
sections. This has been rectified by using the "2 of x" formulation.

Follows https://github.com/ceph/ceph/pull/50674

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50574 from rzarzynski/wip-bug-51900
Yuri Weinstein [Wed, 5 Apr 2023 21:53:02 +0000 (14:53 -0700)]
Merge pull request #50574 from rzarzynski/wip-bug-51900

msg/async: don't abort when public addrs mismatch bind addrs

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #49987 from ifed01/wip-ifed-fix-spillover-alert
Yuri Weinstein [Wed, 5 Apr 2023 21:51:57 +0000 (14:51 -0700)]
Merge pull request #49987 from ifed01/wip-ifed-fix-spillover-alert

os/bluestore: fix spillover alert

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50490 from ronen-fr/wip-rf-expected
Yuri Weinstein [Wed, 5 Apr 2023 21:35:28 +0000 (14:35 -0700)]
Merge pull request #50490 from ronen-fr/wip-rf-expected

common: bump up tl:expected to latest version

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #50479 from cbodley/wip-fmt-undef-header-only
Yuri Weinstein [Wed, 5 Apr 2023 21:33:48 +0000 (14:33 -0700)]
Merge pull request #50479 from cbodley/wip-fmt-undef-header-only

fmt: remove FMT_HEADER_ONLY defines

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50095 from ifed01/wip-ifed-fix-fit-to-fast
Yuri Weinstein [Wed, 5 Apr 2023 21:32:21 +0000 (14:32 -0700)]
Merge pull request #50095 from ifed01/wip-ifed-fix-fit-to-fast

os/bluestore: allow 'fit_to_fast' selector for single-volume osd

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50499 from idryomov/wip-remove-osd-op-soid
Yuri Weinstein [Wed, 5 Apr 2023 21:31:53 +0000 (14:31 -0700)]
Merge pull request #50499 from idryomov/wip-remove-osd-op-soid

osd: remove unused OSDOp::soid member

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #50816 from idryomov/wip-list-watchers-clear
Ilya Dryomov [Wed, 5 Apr 2023 17:04:12 +0000 (19:04 +0200)]
Merge pull request #50816 from idryomov/wip-list-watchers-clear

librbd: clear Image::list_watchers() list before populating it

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #50859 from soumyakoduri/wip-skoduri-gc-cmd
Soumya Koduri [Wed, 5 Apr 2023 16:27:48 +0000 (21:57 +0530)]
Merge pull request #50859 from soumyakoduri/wip-skoduri-gc-cmd

rgw/gc: Check for valid RadosStore for `radosgw-admin gc` cmd

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #50842 from mkogan1/wip-ubu-SigDoesNotMatch-cont
Casey Bodley [Wed, 5 Apr 2023 15:57:05 +0000 (11:57 -0400)]
Merge pull request #50842 from mkogan1/wip-ubu-SigDoesNotMatch-cont

rgw : fix python script using s3cmd with error code 403 for ubuntu 20.04

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50664 from rishabh-d-dave/fs-qa-caps-helper-mds
Rishabh Dave [Wed, 5 Apr 2023 14:17:36 +0000 (19:47 +0530)]
Merge pull request #50664 from rishabh-d-dave/fs-qa-caps-helper-mds

 qa/cephfs: upgrade gen_mds_cap_str() in caps_helper

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50665 from rishabh-d-dave/fs-qa-test-multifs-auth-simplify
Rishabh Dave [Wed, 5 Apr 2023 14:17:06 +0000 (19:47 +0530)]
Merge pull request #50665 from rishabh-d-dave/fs-qa-test-multifs-auth-simplify

 qa/cephfs: simplify some code in test_multifs_auth.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50557 from rhcs-dashboard/dashboard-edit-zone-zonegroup
Aashish Sharma [Wed, 5 Apr 2023 11:15:45 +0000 (16:45 +0530)]
Merge pull request #50557 from rhcs-dashboard/dashboard-edit-zone-zonegroup

mgr/dashboard: add support for editing RGW zonegroup

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoqa/cephfs: simplify some code in test_multifs_auth.py 50665/head
Rishabh Dave [Fri, 24 Mar 2023 11:47:36 +0000 (17:17 +0530)]
qa/cephfs: simplify some code in test_multifs_auth.py

test_mutlifs_auth.TestMDSCaps._create_client() not only creates a client
but also generate caps strings for the client as per the parameter this
method receives and and then writes the keyring to all remote machines.
This creates confusion when reading code on test methods in TestMDSCaps.
Let's re-arrange this code such that this confusion is avoided.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50843 from rhcs-dashboard/mirror-progress
Nizamudeen A [Wed, 5 Apr 2023 07:19:52 +0000 (12:49 +0530)]
Merge pull request #50843 from rhcs-dashboard/mirror-progress

mgr/dashboard: fix displaying mirror image progress

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50855 from zdover23/wip-doc-2023-04-04-rados-operations-monitorin...
zdover23 [Wed, 5 Apr 2023 05:26:48 +0000 (15:26 +1000)]
Merge pull request #50855 from zdover23/wip-doc-2023-04-04-rados-operations-monitoring-osd-pg-1-of-x

doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (1 of x) 50855/head
Zac Dover [Tue, 4 Apr 2023 03:29:15 +0000 (13:29 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Line-edit doc/rados/operations/monitoring-osd-pg.rst (1 of x).

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #48630 from rkachach/fix_issue_57931
Adam King [Wed, 5 Apr 2023 00:53:53 +0000 (20:53 -0400)]
Merge pull request #48630 from rkachach/fix_issue_57931

mgr/cephadm: Adding extra arguments support for RGW frontend

Reviewed-by: Adam King <adking@redhat.com>
2 years agomgr/dashboard: add support for editing RGW zonegroup 50557/head
avanthakkar [Thu, 30 Mar 2023 17:18:52 +0000 (22:48 +0530)]
mgr/dashboard: add support for editing RGW zonegroup

Fixes: https://tracker.ceph.com/issues/59239
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Co-authored-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #49248 from rhcs-dashboard/rm-perf-counters-prometheus-module
Avan [Tue, 4 Apr 2023 20:30:56 +0000 (02:00 +0530)]
Merge pull request #49248 from rhcs-dashboard/rm-perf-counters-prometheus-module

mgr/prometheus: introduce fetch_perf_counters_metrics module option

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50237 from rkachach/fix_issue_rgw_multisite_automated_testing
Adam King [Tue, 4 Apr 2023 18:29:41 +0000 (14:29 -0400)]
Merge pull request #50237 from rkachach/fix_issue_rgw_multisite_automated_testing

qa: Adding rgw multisite support testing

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50736 from rkachach/fix_issue_59189
Adam King [Tue, 4 Apr 2023 18:21:31 +0000 (14:21 -0400)]
Merge pull request #50736 from rkachach/fix_issue_59189

mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50846 from rkachach/fix_issue_59298
Adam King [Tue, 4 Apr 2023 18:13:56 +0000 (14:13 -0400)]
Merge pull request #50846 from rkachach/fix_issue_59298

mgr/cephadm: use SFTP instead of SCP to copy cephadm remote files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/prometheus: introduce fetch_perf_counters_metrics module option 49248/head
Avan Thakkar [Thu, 1 Dec 2022 06:06:56 +0000 (11:36 +0530)]
mgr/prometheus: introduce fetch_perf_counters_metrics module option

Fixes: https://tracker.ceph.com/issues/58164
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Introducing module option in prometheus module to enable/disable support for exporting ceph daemons
perf counters as prometheus metrics, by default this option will be disabled. The use case for this option
is in case if ceph-exporter deployment failed for any reason then user still can have option to fetch metrics
from promethues exporter.

2 years agoMerge pull request #50743 from phlogistonjohn/jjm-update-mypy
Adam King [Tue, 4 Apr 2023 17:15:33 +0000 (13:15 -0400)]
Merge pull request #50743 from phlogistonjohn/jjm-update-mypy

update pinned mypy version

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agorgw/gc: Check for RadosStore for `radosgw-admin gc` command 50859/head
Soumya Koduri [Tue, 4 Apr 2023 05:19:08 +0000 (10:49 +0530)]
rgw/gc: Check for RadosStore for `radosgw-admin gc` command

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agoMerge pull request #50600 from rhcs-dashboard/delete-rgw-multisite
Pedro Gonzalez Gomez [Tue, 4 Apr 2023 14:43:16 +0000 (16:43 +0200)]
Merge pull request #50600 from rhcs-dashboard/delete-rgw-multisite

mgr/dashboard: delete rgw multisite

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50279 from cfsnyder/wip-58857-ceph-volume-fast-allocs
Guillaume Abrioux [Tue, 4 Apr 2023 13:08:52 +0000 (15:08 +0200)]
Merge pull request #50279 from cfsnyder/wip-58857-ceph-volume-fast-allocs

ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

2 years agoMerge pull request #50819 from bluikko/bluikko-cephfs-volumes-prompts
Anthony D'Atri [Tue, 4 Apr 2023 11:45:01 +0000 (07:45 -0400)]
Merge pull request #50819 from bluikko/bluikko-cephfs-volumes-prompts

doc/cephfs: fix prompts in fs-volumes.rst

2 years agoMerge pull request #50845 from rhcs-dashboard/update-grafana-version
Nizamudeen A [Tue, 4 Apr 2023 06:01:23 +0000 (11:31 +0530)]
Merge pull request #50845 from rhcs-dashboard/update-grafana-version

monitoring/grafana: update the grafana version

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50851 from zdover23/wip-doc-2023-04-04-rados-operations-monitorin...
Anthony D'Atri [Mon, 3 Apr 2023 21:19:32 +0000 (17:19 -0400)]
Merge pull request #50851 from zdover23/wip-doc-2023-04-04-rados-operations-monitoring-ceph-medic-link

doc/rados/ops: add ceph-medic documentation

2 years agodoc/rados/ops: add ceph-medic documentation 50851/head
Zac Dover [Mon, 3 Apr 2023 20:57:27 +0000 (06:57 +1000)]
doc/rados/ops: add ceph-medic documentation

Add a link to the ceph-medic documentation to
doc/rados/operations/monitoring.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50834 from zdover23/wip-doc-2023-04-03-rados-operations-monitorin...
zdover23 [Mon, 3 Apr 2023 19:59:19 +0000 (05:59 +1000)]
Merge pull request #50834 from zdover23/wip-doc-2023-04-03-rados-operations-monitoring-2-of-3

doc/rados: edit ops/monitoring.rst (2 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (2 of 3) 50834/head
Zac Dover [Sun, 2 Apr 2023 22:03:29 +0000 (08:03 +1000)]
doc/rados: edit ops/monitoring.rst (2 of 3)

Line-edit the second third of doc/rados/operations/monitoring.rst.

Follows https://github.com/ceph/ceph/pull/50670.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50548 from adk3798/incompatible-apply
Adam King [Mon, 3 Apr 2023 19:19:12 +0000 (15:19 -0400)]
Merge pull request #50548 from adk3798/incompatible-apply

cephadm: handle exceptions applying extra services during bootstrap

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50759 from ceph/wip-yuriw-fix-upgrades-main
Yuri Weinstein [Mon, 3 Apr 2023 18:30:56 +0000 (11:30 -0700)]
Merge pull request #50759 from ceph/wip-yuriw-fix-upgrades-main

qa/upgrade: consistently use the tip of the branch as the start version

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agomgr/cephadm: use SFTP instead of SCP to copy cephadm remote files 50846/head
Redouane Kachach [Mon, 3 Apr 2023 16:34:25 +0000 (18:34 +0200)]
mgr/cephadm: use SFTP instead of SCP to copy cephadm remote files
fixes: https://tracker.ceph.com/issues/59298

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agomonitoring/grafana: update the grafana version 50845/head
Nizamudeen A [Mon, 3 Apr 2023 16:23:39 +0000 (21:53 +0530)]
monitoring/grafana: update the grafana version

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50404 from batrick/i58923
Ilya Dryomov [Mon, 3 Apr 2023 15:53:03 +0000 (17:53 +0200)]
Merge pull request #50404 from batrick/i58923

mon/MgrMonitor: plug PAXOS for batched MgrMap/OSDMap

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agomgr/dashboard: fix displaying mirror image progress 50843/head
Pere Diaz Bou [Mon, 3 Apr 2023 15:22:35 +0000 (17:22 +0200)]
mgr/dashboard: fix displaying mirror image progress

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
2 years agoqa/upgrade: consistently use the tip of the branch as the start version 50759/head
Yuri Weinstein [Wed, 29 Mar 2023 21:32:38 +0000 (14:32 -0700)]
qa/upgrade: consistently use the tip of the branch as the start version

Also corrected line to use image: quay.ceph.io/ceph-ci/ceph:*
In order to make sure that latest versions of ceph is used as initial install

Fixes: https://tracker.ceph.com/issues/58914
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agorgw : fix python script using s3cmd with error code 403 ubuntu 20.04 50842/head
Mark Kogan [Sun, 2 Apr 2023 13:23:25 +0000 (16:23 +0300)]
rgw : fix python script using s3cmd with error code 403 ubuntu 20.04

Fixes: https://tracker.ceph.com/issues/54104
Signed-off-by: Mark Kogan <mkogan@redhat.com>
2 years agodoc/cephfs: fix prompts in fs-volumes.rst 50819/head
Ville Ojamo [Fri, 31 Mar 2023 14:11:59 +0000 (21:11 +0700)]
doc/cephfs: fix prompts in fs-volumes.rst

Modernize prompts in example commands in file
fs-volume.rst and use a root prompt correctly instead
of using a non-privileged prompt when privileges
are needed.

Indent all JSON in example command outputs with
four spaces consistently instead of a mix of four and
two spaces.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 years agoMerge pull request #50818 from anthonyeleven/anthonyeleven/tweak-fs-volumes.rst
Anthony D'Atri [Sun, 2 Apr 2023 05:47:36 +0000 (01:47 -0400)]
Merge pull request #50818 from anthonyeleven/anthonyeleven/tweak-fs-volumes.rst

doc/cephfs: Improve fs-volumes.rst

2 years agodoc/cephfs: Improve fs-volumes.rst 50818/head
Anthony D'Atri [Fri, 31 Mar 2023 13:37:52 +0000 (09:37 -0400)]
doc/cephfs: Improve fs-volumes.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #50670 from zdover23/wip-doc-2023-03-26-rados-operations-monitorin...
zdover23 [Fri, 31 Mar 2023 19:48:39 +0000 (05:48 +1000)]
Merge pull request #50670 from zdover23/wip-doc-2023-03-26-rados-operations-monitoring-1-of-3

doc/rados: edit ops/monitoring.rst (1 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (1 of 3) 50670/head
Zac Dover [Sat, 25 Mar 2023 18:51:50 +0000 (04:51 +1000)]
doc/rados: edit ops/monitoring.rst (1 of 3)

Line-edit the first third of doc/rados/operations/monitoring.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #46905 from lxbsz/wip-quota
Rishabh Dave [Fri, 31 Mar 2023 18:42:19 +0000 (00:12 +0530)]
Merge pull request #46905 from lxbsz/wip-quota

mds: align quota.max_bytes to 4MB or 4KB

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #49882 from zhsgao/dump_resolve_status
Rishabh Dave [Fri, 31 Mar 2023 18:40:05 +0000 (00:10 +0530)]
Merge pull request #49882 from zhsgao/dump_resolve_status

mds: fix bug of dump_resolve_status

Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50024 from kotreshhr/mds-unused-function-removal
Rishabh Dave [Fri, 31 Mar 2023 18:36:49 +0000 (00:06 +0530)]
Merge pull request #50024 from kotreshhr/mds-unused-function-removal

mds: Remove unused declaration of the function

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50746 from cbodley/wip-rgw-bucket-full-sync-compat
Casey Bodley [Fri, 31 Mar 2023 18:34:42 +0000 (14:34 -0400)]
Merge pull request #50746 from cbodley/wip-rgw-bucket-full-sync-compat

rgw: set init_check_compat when bucket sync status doesn't exist

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 years agoMerge pull request #50644 from cbodley/wip-59135
Ali Maredia [Fri, 31 Mar 2023 18:27:26 +0000 (14:27 -0400)]
Merge pull request #50644 from cbodley/wip-59135

qa/rgw: upgrade tests restrict supported distros

2 years agomgr/dashboard: delete rgw multisite 50600/head
Pedro Gonzalez Gomez [Mon, 20 Mar 2023 18:53:06 +0000 (19:53 +0100)]
mgr/dashboard: delete rgw multisite

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agoMerge pull request #50690 from cbodley/wip-59174
Casey Bodley [Fri, 31 Mar 2023 17:48:52 +0000 (13:48 -0400)]
Merge pull request #50690 from cbodley/wip-59174

rgw/admin: 'data sync status' formats binary error repo entries

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 years agoMerge pull request #50462 from matutter/main
Casey Bodley [Fri, 31 Mar 2023 17:47:48 +0000 (13:47 -0400)]
Merge pull request #50462 from matutter/main

sts: Fixes get_cert_url improper url path concatenation

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
2 years agoMerge pull request #50623 from VVoidV/fix-rgw_admin
Casey Bodley [Fri, 31 Mar 2023 17:47:18 +0000 (13:47 -0400)]
Merge pull request #50623 from VVoidV/fix-rgw_admin

[RGW]fix minor bug in rgw_admin

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #50648 from cbodley/wip-58035
Casey Bodley [Fri, 31 Mar 2023 17:43:01 +0000 (13:43 -0400)]
Merge pull request #50648 from cbodley/wip-58035

rgw: fix CopyObj crash after admin override

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 years agoMerge pull request #50817 from bluikko/patch-10
Anthony D'Atri [Fri, 31 Mar 2023 13:18:15 +0000 (09:18 -0400)]
Merge pull request #50817 from bluikko/patch-10

doc/cephfs: refer to placement of MDS and not NFS in fs-volumes.rst

2 years agodoc/cephfs: refer to MDS and not NFS in fs-volumes.rst 50817/head
Ville Ojamo [Fri, 31 Mar 2023 12:01:39 +0000 (19:01 +0700)]
doc/cephfs: refer to MDS and not NFS in fs-volumes.rst

Placement should talk about MDS placement and not NFS Ganesha placement.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 years agolibrbd: clear Image::list_watchers() list before populating it 50816/head
Ilya Dryomov [Thu, 30 Mar 2023 11:58:20 +0000 (13:58 +0200)]
librbd: clear Image::list_watchers() list before populating it

The "append to the passed list" behavior is confusing and not what the
corresponding C API (rbd_watchers_list) or other similar C++ APIs (e.g.
list_lockers) do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50793 from petrutlucian94/allperms 49838/head
Ilya Dryomov [Fri, 31 Mar 2023 08:54:45 +0000 (10:54 +0200)]
Merge pull request #50793 from petrutlucian94/allperms

include: move ALLPERMS definition to compat.h

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoinclude: move ALLPERMS definition to compat.h 50793/head
Lucian Petrut [Thu, 30 Mar 2023 12:14:10 +0000 (12:14 +0000)]
include: move ALLPERMS definition to compat.h

The Windows CI job started to fail as some libcephfs tests that use
ALLPERMS have been moved [1] to a separate file which doesn't have
the ALLPERMS definition.

  /ceph/src/test/libcephfs/suidsgid.cc:240:36: error: ‘ALLPERMS’ was
  not declared in this scope
  240 |   ASSERT_EQ(stx.stx_mode & (mode_t)ALLPERMS, before_mode);

We'll move this definition to compat.h so that we won't have to
redefine it in each file that uses it.

Note that we're moving the Windows "fs_compat.h" include up,
ensuring that the constants used by ALLPERMS are defined.

[1] https://github.com/ceph/ceph/commit/254eeb2730881ee48b4743e1422749d5b643f52a

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #49586 from mohan7427/mohan/batch_args-issue
Guillaume Abrioux [Fri, 31 Mar 2023 07:07:43 +0000 (09:07 +0200)]
Merge pull request #49586 from mohan7427/mohan/batch_args-issue

ceph-volume: fix drive-group issue that expects the batch_args to be a string

2 years agoMerge pull request #50554 from zdover23/wip-doc-2023-03-16-rados-operations-pg-repair
zdover23 [Fri, 31 Mar 2023 06:45:06 +0000 (16:45 +1000)]
Merge pull request #50554 from zdover23/wip-doc-2023-03-16-rados-operations-pg-repair

doc/rados: line-edit pg-repair.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #45354 from dvanders/dualdoc
zdover23 [Fri, 31 Mar 2023 06:25:31 +0000 (16:25 +1000)]
Merge pull request #45354 from dvanders/dualdoc

doc/msgr2: update dual stack status

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agomgr/cephadm: Adding extra arguments support for RGW frontend 48630/head
Redouane Kachach [Wed, 26 Oct 2022 09:33:38 +0000 (11:33 +0200)]
mgr/cephadm: Adding extra arguments support for RGW frontend
Fixes: https://tracker.ceph.com/issues/57931
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50426 from rhcs-dashboard/role-create
Nizamudeen A [Fri, 31 Mar 2023 05:12:09 +0000 (10:42 +0530)]
Merge pull request #50426 from rhcs-dashboard/role-create

mgr/dashboard: creation of rgw roles

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge PR #49460 into main
Venky Shankar [Fri, 31 Mar 2023 04:02:37 +0000 (09:32 +0530)]
Merge PR #49460 into main

* refs/pull/49460/head:
qa: fix issue with fn unable to fetch port and ip
qa: fix helper function _check_nfs_cluster_status()
qa: fix testcase 'test_cluster_set_user_config_with_non_existing_clusterid'
qa: fix cluster creation failure in test_nfs.py
qa: test export creation at filepath and symlink
qa: added test case test_nfs_export_with_invalid_path
mgr/nfs: disallow non-existent paths when creating export
mgr/nfs/tests: mock check_cephfs_path
mgr/nfs/utils: add helper func to check cephfs path

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50674 from zdover23/wip-doc-2023-03-26-rados-operations-health...
zdover23 [Thu, 30 Mar 2023 23:38:03 +0000 (09:38 +1000)]
Merge pull request #50674 from zdover23/wip-doc-2023-03-26-rados-operations-health-checks-1-of-5

doc/rados/ops: edit health-checks.rst (1 of 5)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agopython-common: add a dedicated tox env to run mypy 50743/head
John Mulligan [Thu, 30 Mar 2023 20:49:27 +0000 (16:49 -0400)]
python-common: add a dedicated tox env to run mypy

IMO it's not a good practice to overload a tox rule with multiple
different test tools. It forces the tools to share the same virtualenvs
and makes it impossible to run the tools individually. A separate mypy
env also better matches the other tox.ini files in the ceph tree.
Since the new 'mypy' env is in the default env list it will continue
to get run automatically when no specific envs are selected.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agomypy: update pinned mypy version to 0.981
John Mulligan [Tue, 28 Mar 2023 20:42:41 +0000 (16:42 -0400)]
mypy: update pinned mypy version to 0.981

mypy version 0.981 fixes a bug where on newer python versions mypy
doesn't properly load pyi files with keyword only arguments.
As noted in the src/mypy-constrains.txt mypy version needs to be
manually bumped periodically, and ceph is overdue for an update too.
It's never been updated since the file was added in June 2021.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agopython-common: fix variable name reuse to make mypy happy
John Mulligan [Thu, 30 Mar 2023 20:48:02 +0000 (16:48 -0400)]
python-common: fix variable name reuse to make mypy happy

The variables high and low were being used as both `str`s and regex
match objects. Rename the vars in the if block to avoid this problem.
This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agosrc/pybind: fix type annotations for signal handler function
John Mulligan [Wed, 29 Mar 2023 14:15:10 +0000 (10:15 -0400)]
src/pybind: fix type annotations for signal handler function

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agocephadm: fix type annotation for list containing IP addresses
John Mulligan [Wed, 29 Mar 2023 14:14:33 +0000 (10:14 -0400)]
cephadm: fix type annotation for list containing IP addresses

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/dashboard: ignore type checking on mgr proxy object assignments
John Mulligan [Tue, 28 Mar 2023 21:09:30 +0000 (17:09 -0400)]
mgr/dashboard: ignore type checking on mgr proxy object assignments

Add `# type: ignore` comments to two dashboard functions that attempt
to set manager properties. There appear to be two approaches to fixing
the problem:

1. The _MgrProxy object that the dashboard uses has a __getattr__ method
for pulling value from the underlying mgr object. It does not have a
__setattr__ method. This means the setting values on _MgrProxy do not
propogate down to the original mgr.
mypy detects the fact that the object doesn't have __setattr__ and
complains. One could add a __setattr__ to the proxy type and mypy
is satisfied.

2. We can just suppress the type check with the comment.

Because I have no idea why the _MgrProxy exists or why it's implemented
the way it is, I feel that 2 is simpler. It is easy enough to go back
later and clean up the comments rather than me investing a lot of time
to understand the dashboard's approach just to bump up the version of
mypy.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/dashboard: ignore type checking for exception handling module
John Mulligan [Tue, 28 Mar 2023 21:07:20 +0000 (17:07 -0400)]
mgr/dashboard: ignore type checking for exception handling module

Add a `# type: ignore` comment to the exception handling dashboard
module just like the instance to lines below. This module does not
already import typing, so I'm not going to add it.
This change is needed in order to run mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agopybind/mgr: add a type annotation to the extra_args dict
John Mulligan [Tue, 28 Mar 2023 21:07:04 +0000 (17:07 -0400)]
pybind/mgr: add a type annotation to the extra_args dict

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/dashboard: add an assertion for type narrowing
John Mulligan [Tue, 28 Mar 2023 21:06:51 +0000 (17:06 -0400)]
mgr/dashboard: add an assertion for type narrowing

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/cephadm: add a type annotation to the ganesha conf template context
John Mulligan [Tue, 28 Mar 2023 17:49:21 +0000 (13:49 -0400)]
mgr/cephadm: add a type annotation to the ganesha conf template context

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50794 from ljflores/wip-crontab
Laura Flores [Thu, 30 Mar 2023 20:42:28 +0000 (15:42 -0500)]
Merge pull request #50794 from ljflores/wip-crontab

qa/crontab: check older builds on teuthology/nop when necessary

2 years agoMerge pull request #49824 from adk3798/iscsi-etc-hosts
Adam King [Thu, 30 Mar 2023 16:24:32 +0000 (12:24 -0400)]
Merge pull request #49824 from adk3798/iscsi-etc-hosts

cephadm: mount host /etc/hosts for daemon containers in podman deployments

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50328 from adk3798/maintenance-mode-force
Adam King [Thu, 30 Mar 2023 16:20:58 +0000 (12:20 -0400)]
Merge pull request #50328 from adk3798/maintenance-mode-force

mgr/cephadm: add more aggressive force flag for host maintenance enter

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50547 from adk3798/ssh-denied-error-handling
Adam King [Thu, 30 Mar 2023 16:18:53 +0000 (12:18 -0400)]
Merge pull request #50547 from adk3798/ssh-denied-error-handling

mgr/cephadm: handle HostConnectionError when checking for valid addr

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50607 from adk3798/keepalive-2-2-4
Adam King [Thu, 30 Mar 2023 16:16:29 +0000 (12:16 -0400)]
Merge pull request #50607 from adk3798/keepalive-2-2-4

cephadm: bump default keepalived image to 2.2.4

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50655 from rkachach/fix_issue_58158
Adam King [Thu, 30 Mar 2023 16:14:33 +0000 (12:14 -0400)]
Merge pull request #50655 from rkachach/fix_issue_58158

mgr/cephadm: increasing container stop timeout for OSDs

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50685 from rkachach/fix_issue_59170
Adam King [Thu, 30 Mar 2023 15:54:52 +0000 (11:54 -0400)]
Merge pull request #50685 from rkachach/fix_issue_59170

mgr/cephadm: fixing ceph-exporter prometheus's job section

Reviewed-by: avanthakkar <avanjohn@gmail.com>
2 years agoqa/crontab: check older builds on teuthology/nop when necessary 50794/head
Laura Flores [Thu, 30 Mar 2023 15:38:14 +0000 (10:38 -0500)]
qa/crontab: check older builds on teuthology/nop when necessary

Today's scheduled run failed since the newest build of main
had failed. If we add `-n 10` to the command, this will
make it so we start at the newest build and backtrack
up to 10 older builds if necessary.

A higher number than that is not necessary, as the suite
failing to run will signal to us that more than the last
10 main builds are broken in Shaman.

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agomgr/cephadm: use a dedicated cephadm tmp dir to copy remote files 50736/head
Redouane Kachach [Wed, 29 Mar 2023 08:48:30 +0000 (10:48 +0200)]
mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files
Fixes: https://tracker.ceph.com/issues/59189
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agotest/rgw: ceph_test_librgw_file target also builds associated tests 50648/head
Casey Bodley [Thu, 30 Mar 2023 15:13:37 +0000 (11:13 -0400)]
test/rgw: ceph_test_librgw_file target also builds associated tests

this just makes it easier to build all of the tests needed by the
test_librgw_file.sh workunit

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50684 from yuvalif/wip-yuval-fix-59136
Matt Benjamin [Thu, 30 Mar 2023 14:25:16 +0000 (10:25 -0400)]
Merge pull request #50684 from yuvalif/wip-yuval-fix-59136

rgw/notifications: support bucket notification with bucket policy

2 years agoqa: fix issue with fn unable to fetch port and ip 49460/head
dparmar18 [Fri, 24 Feb 2023 21:29:24 +0000 (02:59 +0530)]
qa: fix issue with fn unable to fetch port and ip

_get_port_ip_info() fails to fetch port and ip due to empty 'backend' key:

2023-02-24T20:49:09.084 DEBUG:teuthology.orchestra.run.smithi042:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph nfs cluster info test
2023-02-24T20:49:09.471 INFO:teuthology.orchestra.run.smithi042.stdout:{
2023-02-24T20:49:09.472 INFO:teuthology.orchestra.run.smithi042.stdout:  "test": {
2023-02-24T20:49:09.472 INFO:teuthology.orchestra.run.smithi042.stdout:    "backend": [],
2023-02-24T20:49:09.472 INFO:teuthology.orchestra.run.smithi042.stdout:    "virtual_ip": null
2023-02-24T20:49:09.472 INFO:teuthology.orchestra.run.smithi042.stdout:  }
2023-02-24T20:49:09.472 INFO:teuthology.orchestra.run.smithi042.stdout:}

it then raises:

2023-02-24T20:49:10.323 INFO:tasks.cephfs_test_runner:    info_output = json.loads(self._nfs_cmd('cluster', 'info', self.cluster_id))['test']['backend'][0]
2023-02-24T20:49:10.323 INFO:tasks.cephfs_test_runner:IndexError: list index out of range

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa: fix helper function _check_nfs_cluster_status()
dparmar18 [Tue, 21 Feb 2023 18:08:42 +0000 (23:38 +0530)]
qa: fix helper function _check_nfs_cluster_status()

Comment in the code says to wait for two minutes as cluster
creation takes time but actually it's waiting for thirteen
minutes, it's not required to wait this long, i think a minute
here is more than enough, also switched to using safe_while().

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa: fix testcase 'test_cluster_set_user_config_with_non_existing_clusterid'
dparmar18 [Fri, 17 Feb 2023 18:35:19 +0000 (00:05 +0530)]
qa: fix testcase 'test_cluster_set_user_config_with_non_existing_clusterid'

Fixes: https://tracker.ceph.com/issues/58758
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa: fix cluster creation failure in test_nfs.py
dparmar18 [Mon, 13 Feb 2023 14:32:06 +0000 (20:02 +0530)]
qa: fix cluster creation failure in test_nfs.py

Also adds a function _nfs_complete_cmd() that returns process obj so that stdout/stderr
can be used for evaluation(_nfs_cmd() uses raw_cluster_cmd() that returns just stdout
and it became difficult to time cluster creation errors in _test_create_cluster()).

It takes sometime to update the cluster data, therefore running the command set
(check nfs server status -> nfs cluster create test -> check cluster status) in
a loop (max six iteration with sleep of 5 secs at each iteration) fixes the issue.

Fixes: https://tracker.ceph.com/issues/58744
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa: test export creation at filepath and symlink
dparmar18 [Tue, 7 Feb 2023 11:52:56 +0000 (17:22 +0530)]
qa: test export creation at filepath and symlink

Fixes: https://tracker.ceph.com/issues/58228
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa: added test case test_nfs_export_with_invalid_path
dparmar18 [Thu, 15 Dec 2022 12:00:07 +0000 (17:30 +0530)]
qa: added test case test_nfs_export_with_invalid_path

Fixes: https://tracker.ceph.com/issues/58228
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agomgr/nfs: disallow non-existent paths when creating export
dparmar18 [Thu, 15 Dec 2022 11:24:27 +0000 (16:54 +0530)]
mgr/nfs: disallow non-existent paths when creating export

Fixes: https://tracker.ceph.com/issues/58228
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agomgr/nfs/tests: mock check_cephfs_path
Dhairya Parmar [Wed, 29 Mar 2023 17:58:59 +0000 (23:28 +0530)]
mgr/nfs/tests: mock check_cephfs_path

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #45693 from cbodley/wip-qa-rgw-scrub
Casey Bodley [Thu, 30 Mar 2023 12:50:30 +0000 (08:50 -0400)]
Merge pull request #45693 from cbodley/wip-qa-rgw-scrub

qa/rgw: reenable wait-for-scrub

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2 years agoMerge PR #47649 into main
Venky Shankar [Thu, 30 Mar 2023 10:43:48 +0000 (16:13 +0530)]
Merge PR #47649 into main

* refs/pull/47649/head:
mds: adjust MDSRank::command_tag_path invocation of enqueue_scrub()
doc/scrub: documented stray evaluation using recursive scrub
qa: added testcases
mds: make `scrub status` print flag `scrub_mdsdir`
mds: add scrub_mdsdir to ScrubHeader
mds: do not dump multiple JSON obj
mds: evaluate strays while performing scrub on root path
mds: remove inode from scrub_stack if being purged
mds: do not scrub inode if it is purging

Reviewed-by: Venky Shankar <vshankar@redhat.com>