]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 months agorgw/pubsub: CreateTopic validates topic name 56670/head
Casey Bodley [Thu, 28 Mar 2024 17:47:30 +0000 (13:47 -0400)]
rgw/pubsub: CreateTopic validates topic name

existing topics may have invalid names, so this is only enforced by
CreateTopic

Fixes: https://tracker.ceph.com/issues/65212
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ea6a7a516234237e1f3c5cfda966c3d53fc174ed)

15 months agoMerge pull request #56343 from cbodley/wip-65007-squid
Casey Bodley [Wed, 3 Apr 2024 13:35:50 +0000 (14:35 +0100)]
Merge pull request #56343 from cbodley/wip-65007-squid

squid: RGW: allow user disabling presigned urls in rgw configuration

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
15 months agoMerge pull request #56344 from cbodley/wip-65004-squid
Casey Bodley [Tue, 2 Apr 2024 20:18:54 +0000 (21:18 +0100)]
Merge pull request #56344 from cbodley/wip-65004-squid

squid: rgw: Add missing empty checks to the split string in is_string_in_set().

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
15 months agoMerge pull request #56345 from cbodley/wip-65009-squid
Casey Bodley [Tue, 2 Apr 2024 20:18:42 +0000 (21:18 +0100)]
Merge pull request #56345 from cbodley/wip-65009-squid

squid: rgw_file: fix mv/rename cases broken by zipper integration

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
15 months agoMerge pull request #56342 from cbodley/wip-qa-rgw-lua-pool-application-squid
Casey Bodley [Tue, 2 Apr 2024 20:18:29 +0000 (21:18 +0100)]
Merge pull request #56342 from cbodley/wip-qa-rgw-lua-pool-application-squid

squid: qa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
15 months agoMerge pull request #56320 from adk3798/wip-64636-squid
Adam King [Tue, 2 Apr 2024 15:25:09 +0000 (11:25 -0400)]
Merge pull request #56320 from adk3798/wip-64636-squid

squid: cephadm/nvmeof: scrape nvmeof prometheus endpoint

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56306 from adk3798/squid-timemaster
Adam King [Tue, 2 Apr 2024 15:24:07 +0000 (11:24 -0400)]
Merge pull request #56306 from adk3798/squid-timemaster

squid: cephadm.py: add timemaster to timesync services list

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56316 from adk3798/wip-64626-squid
Adam King [Tue, 2 Apr 2024 15:23:28 +0000 (11:23 -0400)]
Merge pull request #56316 from adk3798/wip-64626-squid

squid: cephadm: create ceph-exporter sock dir if it's not present

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge PR #56571 into squid
Patrick Donnelly [Tue, 2 Apr 2024 15:18:06 +0000 (11:18 -0400)]
Merge PR #56571 into squid

* refs/pull/56571/head:
doc: add releases links to toc
doc: remove releases docs

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56630 from zdover23/wip-doc-2024-04-02-backport-56614-to-squid
Anthony D'Atri [Tue, 2 Apr 2024 15:07:06 +0000 (11:07 -0400)]
Merge pull request #56630 from zdover23/wip-doc-2024-04-02-backport-56614-to-squid

squid: doc/mgr: update zabbix information

15 months agoMerge pull request #56007 from cbodley/wip-64754-squid
Casey Bodley [Tue, 2 Apr 2024 13:57:00 +0000 (14:57 +0100)]
Merge pull request #56007 from cbodley/wip-64754-squid

squid: rpm: disable system_qat for non-x86_64 arch

Reviewed-by: Rongqi Sun <sunrongqi@huawei.com>
15 months agoMerge pull request #55685 from rhcs-dashboard/wip-64515-squid
Ernesto Puerta [Tue, 2 Apr 2024 12:13:09 +0000 (14:13 +0200)]
Merge pull request #55685 from rhcs-dashboard/wip-64515-squid

squid: mgr/dashboard: nvmeof api batch fixes

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
15 months agodoc/mgr: update zabbix information 56630/head
Zac Dover [Fri, 29 Mar 2024 11:06:28 +0000 (21:06 +1000)]
doc/mgr: update zabbix information

Include information from John Jasen about how to install Zabbix.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ebe7651dd85ae1f1570d8c34479b9bdd1249d83c)

15 months agoMerge pull request #56021 from vshankar/wip-64762-squid
Venky Shankar [Tue, 2 Apr 2024 07:08:57 +0000 (12:38 +0530)]
Merge pull request #56021 from vshankar/wip-64762-squid

squid: qa/cephfs: add more ignorelist entries

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
15 months agoqa/cephfs: add `MON_DOWN' and `deprecated feature inline_data' to ignorelist 56021/head
Venky Shankar [Mon, 26 Feb 2024 05:42:07 +0000 (11:12 +0530)]
qa/cephfs: add `MON_DOWN' and `deprecated feature inline_data' to ignorelist

Fixes: http://tracker.ceph.com/issues/64746
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f5a23d5811829d0f43831740ec3dced6a3b725f3)

15 months agoMerge pull request #56601 from zdover23/wip-doc-2024-04-01-backport-56600-to-squid
Anthony D'Atri [Mon, 1 Apr 2024 01:54:39 +0000 (21:54 -0400)]
Merge pull request #56601 from zdover23/wip-doc-2024-04-01-backport-56600-to-squid

squid: doc/dev: update leads list

15 months agodoc/dev: update leads list 56601/head
Zac Dover [Mon, 1 Apr 2024 01:17:39 +0000 (11:17 +1000)]
doc/dev: update leads list

Remove Joao Luis from the list of component leads.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 158b0403bd66cdf6c4b456146705f42d69f56730)

15 months agoMerge pull request #56593 from zdover23/wip-doc-2024-03-31-backport-56592-to-squid
Anthony D'Atri [Sun, 31 Mar 2024 02:54:28 +0000 (22:54 -0400)]
Merge pull request #56593 from zdover23/wip-doc-2024-03-31-backport-56592-to-squid

squid: doc/rados/operations: Improve crush_location docs

15 months agodoc/rados/operations: Improve crush_location docs 56593/head
Niklas Hambüchen [Sat, 30 Mar 2024 16:42:48 +0000 (17:42 +0100)]
doc/rados/operations: Improve crush_location docs

* Fix incorrect syntax
* Use underscores for config options, like other ceph docs did
* Fix incorrect statement that crush_location_hook adds fiels; it replaces
* Explain `root=default host=HOSTNAME` is not set if `crush_location` is given
* Remove duplication across sections
* Point out that `root=default` is important

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
(cherry picked from commit d91e75e1e92b73bf967740575b3c27a86ef844d5)

15 months agoMerge pull request #56588 from zdover23/wip-doc-2024-03-30-backport-56581-to-squid
Anthony D'Atri [Sat, 30 Mar 2024 13:34:30 +0000 (09:34 -0400)]
Merge pull request #56588 from zdover23/wip-doc-2024-03-30-backport-56581-to-squid

squid: doc/dev: update leads list

15 months agodoc/dev: update leads list 56588/head
Zac Dover [Fri, 29 Mar 2024 11:14:21 +0000 (21:14 +1000)]
doc/dev: update leads list

Update the list of component leads in
doc/dev/developer_guide/essentials.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 57e9427eac08b4057999f5afc44cf0fc77a3068f)

15 months agoMerge pull request #56547 from rhcs-dashboard/wip-65193-squid
Nizamudeen A [Fri, 29 Mar 2024 16:38:29 +0000 (22:08 +0530)]
Merge pull request #56547 from rhcs-dashboard/wip-65193-squid

squid: mgr/dashboard: fix rgw display name validation

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agoMerge pull request #56556 from afreen23/wip-65204-squid
Nizamudeen A [Fri, 29 Mar 2024 16:36:02 +0000 (22:06 +0530)]
Merge pull request #56556 from afreen23/wip-65204-squid

squid: mgr/dashboard: make ceph logo redirect to dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56559 from afreen23/wip-64829-squid
Nizamudeen A [Fri, 29 Mar 2024 16:35:18 +0000 (22:05 +0530)]
Merge pull request #56559 from afreen23/wip-64829-squid

squid: mgr/dashboard: Locking improvements in bucket create form

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56522 from zdover23/wip-doc-2024-03-27-backport-56173-to-squid
Zac Dover [Fri, 29 Mar 2024 07:36:07 +0000 (17:36 +1000)]
Merge pull request #56522 from zdover23/wip-doc-2024-03-27-backport-56173-to-squid

squid: doc/dev: osd_internals/snaps.rst: add clone_overlap doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56505 from rhcs-dashboard/wip-65169-squid
Nizamudeen A [Fri, 29 Mar 2024 07:11:54 +0000 (12:41 +0530)]
Merge pull request #56505 from rhcs-dashboard/wip-65169-squid

squid: mgr/dashboard: bump follow-redirects from 1.15.3 to 1.15.6 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: afreen23 <NOT@FOUND>
15 months agoMerge pull request #56545 from rhcs-dashboard/wip-65191-squid
Nizamudeen A [Fri, 29 Mar 2024 06:49:31 +0000 (12:19 +0530)]
Merge pull request #56545 from rhcs-dashboard/wip-65191-squid

squid: mgr/dashboard: s/active_mds/active_nfs in fs attach form

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agoMerge pull request #56549 from rhcs-dashboard/wip-65195-squid
Nizamudeen A [Fri, 29 Mar 2024 06:47:07 +0000 (12:17 +0530)]
Merge pull request #56549 from rhcs-dashboard/wip-65195-squid

squid: mgr/dashboard: fix clone unique validator for name validation

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agodoc: add releases links to toc 56571/head
Patrick Donnelly [Fri, 18 Nov 2022 19:13:01 +0000 (14:13 -0500)]
doc: add releases links to toc

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8cf9ad62949516666ad0f2c0bb7726ef68e4d666)

15 months agodoc: remove releases docs
Patrick Donnelly [Thu, 28 Mar 2024 22:45:28 +0000 (18:45 -0400)]
doc: remove releases docs

So that redirects to the version in the main branch work again.

This should have been part of the release checklist.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
15 months agomgr/dashboard: Locking improvements in bucket create form 56559/head
Afreen [Fri, 1 Mar 2024 07:26:25 +0000 (12:56 +0530)]
mgr/dashboard: Locking improvements in bucket create form

Fixes https://tracker.ceph.com/issues/64658
- Addition of help texts
- Addition of info/warnings related to modes and versioning
- change of Locking section layout
- renaming locking to 'Object Locking'
- changes default retention period to 10
- edit bucket only shows lock when its enabled

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 014d4468fce5aadfbc63bd9651c0c66db0bf7f49)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts

15 months agomgr/dashboard: make ceph logo redirect to dashboard 56556/head
Afreen [Wed, 27 Mar 2024 10:01:12 +0000 (15:31 +0530)]
mgr/dashboard: make ceph logo redirect to dashboard

Fixes https://tracker.ceph.com/issues/64734

Clicking on ceph logo in navigation takes back to overview dashboard.

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 44e7bb336c26da77f49fb027578509975b5b2633)

15 months agomgr/dashboard: fix clone unique validator for name validation 56549/head
Nizamudeen A [Tue, 26 Mar 2024 08:50:25 +0000 (14:20 +0530)]
mgr/dashboard: fix clone unique validator for name validation

Fixes: https://tracker.ceph.com/issues/65145
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 8070dfd80be9de15d2234fafa78a25569fde30a7)

15 months agomgr/dashboard: fix rgw display name validation 56547/head
Nizamudeen A [Tue, 26 Mar 2024 09:04:23 +0000 (14:34 +0530)]
mgr/dashboard: fix rgw display name validation

the dot(.) character is allowed in full name

Fixes: https://tracker.ceph.com/issues/65146
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 8118a32ec578455b6c2cb4000f2bbee234ae9117)

15 months agomgr/dashboard: s/active_mds/active_nfs in fs attach form 56545/head
Nizamudeen A [Wed, 27 Mar 2024 05:12:39 +0000 (10:42 +0530)]
mgr/dashboard: s/active_mds/active_nfs in fs attach form

Fixes: https://tracker.ceph.com/issues/65173
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 5f97e4eaed3ff25cc01fdaed39f73542e8196677)

15 months agoMerge pull request #56502 from rhcs-dashboard/wip-65166-squid
Nizamudeen A [Thu, 28 Mar 2024 08:18:59 +0000 (13:48 +0530)]
Merge pull request #56502 from rhcs-dashboard/wip-65166-squid

squid: mgr/dashboard: fix cephfs name validation

Reviewed-by: afreen23 <NOT@FOUND>
15 months agoMerge pull request #56500 from Svelar/wip-65127-squid
Rongqi Sun [Thu, 28 Mar 2024 06:00:19 +0000 (14:00 +0800)]
Merge pull request #56500 from Svelar/wip-65127-squid

squid: crimson: add crimson-osd rpm and deb runtime dependencies for protobuf inherited from seastar

15 months agoMerge pull request #56314 from adk3798/wip-64621-squid
Adam King [Wed, 27 Mar 2024 20:24:47 +0000 (16:24 -0400)]
Merge pull request #56314 from adk3798/wip-64621-squid

squid: cephadm: Add nvmeof to autotuner calculation

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56324 from adk3798/wip-64993-squid
Adam King [Wed, 27 Mar 2024 20:23:36 +0000 (16:23 -0400)]
Merge pull request #56324 from adk3798/wip-64993-squid

squid: mgr/cephadm: refresh public_network for config checks before checking

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56321 from adk3798/wip-64687-squid
Adam King [Wed, 27 Mar 2024 20:22:28 +0000 (16:22 -0400)]
Merge pull request #56321 from adk3798/wip-64687-squid

squid: mgr/cephadm: fix placement with label and host pattern

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56319 from adk3798/wip-64633-squid
Adam King [Wed, 27 Mar 2024 20:20:50 +0000 (16:20 -0400)]
Merge pull request #56319 from adk3798/wip-64633-squid

squid: cephadm: rm podman-auth.json if removing last cluster

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56317 from adk3798/wip-64628-squid
Adam King [Wed, 27 Mar 2024 20:19:48 +0000 (16:19 -0400)]
Merge pull request #56317 from adk3798/wip-64628-squid

squid: mgr/cephadm: catch CancelledError in asyncio timeout handler

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agocephadm: create ceph-exporter sock dir if it's not present 56316/head
Adam King [Mon, 19 Feb 2024 16:14:11 +0000 (11:14 -0500)]
cephadm: create ceph-exporter sock dir if it's not present

Since this is usually /var/run/ceph/ which ends up getting
created by other daemons as well, it was common to see
ceph-exporter fail to deploy and then deploy fine after
once other daemons were down on the host. I don't see any
reason we can't just try to make the directory here instead
of bailing out.

Fixes: https://tracker.ceph.com/issues/64491wq
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 862fca945f5bf48144b6a589f1d3cd971444daf7)

15 months agocephadm: call container daemon form prepare_data_dir
John Mulligan [Fri, 24 Nov 2023 19:45:34 +0000 (14:45 -0500)]
cephadm: call container daemon form prepare_data_dir

Instead of always climbing through an "if ladder" based on daemon type
variables we will have the option of using the common method provided
by container daemon form classes. This will initially be used by the
smb daemon. I don't have the energy to refactor all the existing stuff
at the moment.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 0f6a18a09cba35515e100f457e224537ad1e5608)
(cherry picked from commit bf7e40b4d1fee439a4a7f48cf033d4a0885890d0)

15 months agocephadm: add a prepare_data_dir method to container daemon form
John Mulligan [Fri, 24 Nov 2023 19:45:15 +0000 (14:45 -0500)]
cephadm: add a prepare_data_dir method to container daemon form

The prepare_data_dir method is a general way for classes to prepare the
data dir (e.g. `/var/lib/ceph/$FSID/$DAEMON_TYPE.$DAEMON_ID`) before
containers will use it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 044e4d64790d3c06cbf67a6c783c19edcfcf2d51)
(cherry picked from commit f73c0665f2be46b6aef535a988e5550a92669cc1)

15 months agocephadm: allow passing pathlib.Path objects to file_utils.makedirs
John Mulligan [Fri, 24 Nov 2023 19:45:01 +0000 (14:45 -0500)]
cephadm: allow passing pathlib.Path objects to file_utils.makedirs

Update the type annotations to allow passing pathlib.Path objects to the
makedirs function. All the calls makedirs uses already can accept Path
objects. This causes mypy to accept calling makedirs with a Path
argument and Paths are nice.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 21a16007e4e578e04907775aa4e96febf02d862e)
(cherry picked from commit 512154fa8d8fb58aefe5ddcedad865ad37a1634a)

15 months agoMerge pull request #56315 from adk3798/wip-64623-squid
Adam King [Wed, 27 Mar 2024 19:45:42 +0000 (15:45 -0400)]
Merge pull request #56315 from adk3798/wip-64623-squid

squid: mgr/cephadm is not defining haproxy tcp healthchecks for Ganesha

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56313 from adk3798/squid-cephadm-sudo-cmd-auditing
Adam King [Wed, 27 Mar 2024 19:16:47 +0000 (15:16 -0400)]
Merge pull request #56313 from adk3798/squid-cephadm-sudo-cmd-auditing

squid: cephadm: sudo cmd auditing

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56309 from adk3798/squid-bootstrap-no-container-engine
Adam King [Wed, 27 Mar 2024 19:15:58 +0000 (15:15 -0400)]
Merge pull request #56309 from adk3798/squid-bootstrap-no-container-engine

squid: cephadm: bootstrap fails if no container engine installed

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56305 from adk3798/squid-enable-black-cephadm
Adam King [Wed, 27 Mar 2024 19:13:28 +0000 (15:13 -0400)]
Merge pull request #56305 from adk3798/squid-enable-black-cephadm

squid: cephadm: enforce black formatting for cephadmlib

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56303 from adk3798/squid-ingress-haproxy-bind-ipv4v6
Adam King [Wed, 27 Mar 2024 18:35:47 +0000 (14:35 -0400)]
Merge pull request #56303 from adk3798/squid-ingress-haproxy-bind-ipv4v6

squid: mgr/cephadm: make HAProxy to listen on IPv4 and IPv6 by default

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56289 from adk3798/squid-cephadm-pull-usage
Adam King [Wed, 27 Mar 2024 18:35:13 +0000 (14:35 -0400)]
Merge pull request #56289 from adk3798/squid-cephadm-pull-usage

squid: cephadm: improve cephadm pull usage message

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56288 from adk3798/squid-grafana-mount-dashboards
Adam King [Wed, 27 Mar 2024 18:32:53 +0000 (14:32 -0400)]
Merge pull request #56288 from adk3798/squid-grafana-mount-dashboards

squid: mgr/cephadm: mount grafana dashboards from the path

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56285 from adk3798/squid-haproxy-healthcheck-interval
Adam King [Wed, 27 Mar 2024 18:32:00 +0000 (14:32 -0400)]
Merge pull request #56285 from adk3798/squid-haproxy-healthcheck-interval

squid: cephadm: adjust the ingress ha proxy health check interval

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56038 from asm0deuz/wip-64697-squid
Adam King [Wed, 27 Mar 2024 18:31:28 +0000 (14:31 -0400)]
Merge pull request #56038 from asm0deuz/wip-64697-squid

squid: mgr/cephadm: Allow idmap overrides in nfs-ganesha configuration

Reviewed-by: Adam King <adking@redhat.com>
15 months agoMerge pull request #55839 from adk3798/squid-cephadm-device-class
Adam King [Wed, 27 Mar 2024 18:30:08 +0000 (14:30 -0400)]
Merge pull request #55839 from adk3798/squid-cephadm-device-class

squid: cephadm: remove restriction for crush device classes

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #55821 from adk3798/squid-no-agent-workunits
Adam King [Wed, 27 Mar 2024 18:28:16 +0000 (14:28 -0400)]
Merge pull request #55821 from adk3798/squid-no-agent-workunits

squid: qa/cephadm: don't test certain workunits with agent

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #55818 from adk3798/squid-nvmeof-log-file-mount
Adam King [Wed, 27 Mar 2024 18:27:33 +0000 (14:27 -0400)]
Merge pull request #55818 from adk3798/squid-nvmeof-log-file-mount

squid: cephadm: Add mount for nvmeof log location

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #55814 from adk3798/squid-debian/postint
Adam King [Wed, 27 Mar 2024 18:26:59 +0000 (14:26 -0400)]
Merge pull request #55814 from adk3798/squid-debian/postint

squid: debian/*.postinst: add adduser as a dependency and specify --home when adduser

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
15 months agodoc/dev: osd_internals/snaps.rst: add clone_overlap doc 56522/head
Matan Breizman [Wed, 13 Mar 2024 14:19:59 +0000 (14:19 +0000)]
doc/dev: osd_internals/snaps.rst: add clone_overlap doc

snapdir concept was removed in: https://github.com/ceph/ceph/pull/17579

Co-authored-by: Zac Dover <zac.dover@proton.me>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 6a7f2b0fda74aedb213067abe5c0a64b68fbbdc7)

15 months agoMerge pull request #56494 from zdover23/wip-doc-2024-03-27-backport-56450-to-squid
Zac Dover [Wed, 27 Mar 2024 13:33:03 +0000 (23:33 +1000)]
Merge pull request #56494 from zdover23/wip-doc-2024-03-27-backport-56450-to-squid

squid: docs/rados: remove incorrect ceph command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agoMerge pull request #56442 from rhcs-dashboard/wip-65102-squid
Nizamudeen A [Wed, 27 Mar 2024 09:08:24 +0000 (14:38 +0530)]
Merge pull request #56442 from rhcs-dashboard/wip-65102-squid

squid: mgr/dashboard: rm warning/error threshold for cpu usage

Reviewed-by: afreen23 <NOT@FOUND>
15 months agomgr/dashboard: bump follow-redirects 56505/head
dependabot[bot] [Sat, 16 Mar 2024 18:34:43 +0000 (18:34 +0000)]
mgr/dashboard: bump follow-redirects

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit b0275929c07ebcfba3e7877020f182c6d8b74435)

15 months agoMerge pull request #56464 from aaSharma14/wip-64608-squid
Nizamudeen A [Wed, 27 Mar 2024 04:37:32 +0000 (10:07 +0530)]
Merge pull request #56464 from aaSharma14/wip-64608-squid

squid: mgr/dashboard: replace piechart plugin charts with native pie chart panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agomgr/dashboard: fix cephfs name validation 56502/head
Nizamudeen A [Tue, 26 Mar 2024 07:53:39 +0000 (13:23 +0530)]
mgr/dashboard: fix cephfs name validation

allow volume name to start with dot (.)

Fixes: https://tracker.ceph.com/issues/65143
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 242318452c8111717e49b896c7f9cf0ec5f5b262)

15 months agodebian/control: add runtime protobuf dependency for crimson-osd inherited from seastar 56500/head
Samuel Just [Thu, 14 Mar 2024 20:58:09 +0000 (13:58 -0700)]
debian/control: add runtime protobuf dependency for crimson-osd inherited from seastar

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit ab4c5daead7f26d41028625453d50bb58d3b02be)

15 months agoceph.spec.in: add runtime protobuf dependency for crimson-osd inherited from seastar
Samuel Just [Thu, 14 Mar 2024 20:52:51 +0000 (13:52 -0700)]
ceph.spec.in: add runtime protobuf dependency for crimson-osd inherited from seastar

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 57602aad351b21dde06db8632a9c8fdc2ab541d6)

15 months agodocs/rados: remove incorrect ceph command 56494/head
Taha Jahangir [Mon, 25 Mar 2024 10:02:12 +0000 (13:32 +0330)]
docs/rados: remove incorrect ceph command

The removed line was (incorrectly changed) output of the previous command.

Signed-off-by: Taha Jahangir <mtjahangir@gmail.com>
(cherry picked from commit 3cd39e3582ed830f86c55d2203ece72fa0f9426b)

15 months agoMerge pull request #56226 from cbodley/wip-64949-squid
Yuri Weinstein [Tue, 26 Mar 2024 18:08:28 +0000 (11:08 -0700)]
Merge pull request #56226 from cbodley/wip-64949-squid

squid: rgw/multisite: add x-rgw-replicated-at header to replicated objects

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
15 months agoMerge pull request #55625 from rzarzynski/wip-end2end-tracing-squid
Yuri Weinstein [Tue, 26 Mar 2024 18:07:52 +0000 (11:07 -0700)]
Merge pull request #55625 from rzarzynski/wip-end2end-tracing-squid

squid: tracer/osd/librados/build/rgw: rgw and osd end2end tracing using open…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
15 months agoMerge pull request #56358 from Svelar/wip-65027-squid
Nizamudeen A [Tue, 26 Mar 2024 14:46:28 +0000 (20:16 +0530)]
Merge pull request #56358 from Svelar/wip-65027-squid

squid: mgr/dashboard/frontend:Ceph dashboard supports multiple languages

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56386 from rhcs-dashboard/wip-65069-squid
Nizamudeen A [Tue, 26 Mar 2024 14:34:03 +0000 (20:04 +0530)]
Merge pull request #56386 from rhcs-dashboard/wip-65069-squid

squid: mgr/dashboard: fix subvolume group edit size

Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56473 from rhcs-dashboard/wip-65138-squid
Nizamudeen A [Tue, 26 Mar 2024 14:20:19 +0000 (19:50 +0530)]
Merge pull request #56473 from rhcs-dashboard/wip-65138-squid

squid: mgr/dashboard: add system users to rgw user form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
15 months agoMerge pull request #56465 from zdover23/wip-doc-2024-03-26-backport-56436-to-squid
Anthony D'Atri [Tue, 26 Mar 2024 14:06:15 +0000 (10:06 -0400)]
Merge pull request #56465 from zdover23/wip-doc-2024-03-26-backport-56436-to-squid

squid: doc/start: improve MDS explanation

15 months agoMerge pull request #56258 from guits/wip-64945-squid
Guillaume Abrioux [Tue, 26 Mar 2024 12:42:45 +0000 (13:42 +0100)]
Merge pull request #56258 from guits/wip-64945-squid

squid: ceph-volume: add missing import

15 months agoMerge pull request #56035 from vshankar/wip-64779-squid
Venky Shankar [Tue, 26 Mar 2024 10:50:08 +0000 (16:20 +0530)]
Merge pull request #56035 from vshankar/wip-64779-squid

squid: mds,cephfs_mirror: add labelled per-client and replication metrics

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
15 months agomgr/dashboard: add system users to rgw user form 56473/head
Pedro Gonzalez Gomez [Fri, 22 Mar 2024 14:20:48 +0000 (15:20 +0100)]
mgr/dashboard: add system users to rgw user form

Fixes: https://tracker.ceph.com/issues/65074
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit b658bb9c32ad31608921e77603003c004ab0f15b)

15 months agodoc/start: improve MDS explanation 56465/head
Zac Dover [Sun, 24 Mar 2024 21:19:24 +0000 (07:19 +1000)]
doc/start: improve MDS explanation

Improve the explanation of MDS as requested by Anthony D'Atri here:

https://github.com/ceph/ceph/pull/56367#discussion_r1536667249

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e7eff3cf8738ddd378c2fd70075ac61dbac3cf55)

15 months agoMerge pull request #56434 from zdover23/wip-doc-2024-03-25-backport-56287-to-squid
Zac Dover [Tue, 26 Mar 2024 08:28:31 +0000 (18:28 +1000)]
Merge pull request #56434 from zdover23/wip-doc-2024-03-25-backport-56287-to-squid

squid: mon, doc: overriding ec profile requires --yes-i-really-mean-it

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
15 months agomgr/dashboard: replace piechart plugin charts with native pie chart 56464/head
Aashish Sharma [Mon, 26 Feb 2024 09:32:19 +0000 (15:02 +0530)]
mgr/dashboard: replace piechart plugin charts with native pie chart
panel

Fixes: https://tracker.ceph.com/issues/64579
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 6e5efb626f4b3503a12371a8f609fdb5175a3ebe)

15 months agoMerge pull request #56451 from rhcs-dashboard/wip-65112-squid
Nizamudeen A [Tue, 26 Mar 2024 07:02:01 +0000 (12:32 +0530)]
Merge pull request #56451 from rhcs-dashboard/wip-65112-squid

squid: mgr/dashboard: sanitize dashboard user creation

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
15 months agoMerge pull request #56123 from xhernandez/wip-64738-squid
Venky Shankar [Tue, 26 Mar 2024 06:06:45 +0000 (11:36 +0530)]
Merge pull request #56123 from xhernandez/wip-64738-squid

squid: client: fix leak of file handles

Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge PR #56391 into squid
Patrick Donnelly [Mon, 25 Mar 2024 18:00:17 +0000 (14:00 -0400)]
Merge PR #56391 into squid

* refs/pull/56391/head:
qa/suites/fs/nfs: use standard health ignorelist

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56395 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:59:55 +0000 (13:59 -0400)]
Merge PR #56395 into squid

* refs/pull/56395/head:
qa: change log-whitelist to log-ignorelist

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56397 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:59:23 +0000 (13:59 -0400)]
Merge PR #56397 into squid

* refs/pull/56397/head:
mds: ensure snapclient is synced before corruption check

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56405 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:59:04 +0000 (13:59 -0400)]
Merge PR #56405 into squid

* refs/pull/56405/head:
qa: test fuse/kclient for mds upgrade seq
qa: ignore OSD_DOWN during cephadm upgrades
qa: ignore warning "Replacing daemon"
qa: ignore MDS_INSUFFICIENT_STANDBY
qa: remove ignorelist error parenthesis
mds: update comment on kclient decoding of MDSMap
qa: do upgrades from quincy and older reef minor releases
mds: reverse MDSMap encoding of max_xattr_size/bal_rank_mask

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56406 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:58:13 +0000 (13:58 -0400)]
Merge PR #56406 into squid

* refs/pull/56406/head:
doc/dev: update quiesce developer document
qa: wrap quiesce verification to dump debugging on error
qa: update quiesce tests for control via locallock
qa: set archive path in vstart_runner
qa: refactor CephFSMount.kill_background to optionally kill all background jobs
qa: use kwarg for rank parameter
qa: simplify calls to (rank|mds)_(tell|asok)
Revert "pybind/mgr/volumes: block quiesce for critical .meta file"
mds: remove is_root indication on quiesce_inode op
mds: prevent new lock cache cons when invalidating an existing one
mds: use XLOCK_WAIT For local lock xlockers
mds: prevent new wrlocks on LocalLock if there exists any xlock waiter
mds: block import discover when parent directory inode is quiesced
mds: avoid issuing exclusive caps to clients lacking w caps
mds: print lock cache during invalidation
mds: use inodeno_t to track quiesce requests
mds: dispatch quiesce_inode ops after dir traversal
mds: remove quiescelock handling for SimpleLock type
mds: quiescelock as local lock + cap masking
qa: run quiesce unit tests in fs:functional
qa: add quiesce protocol unit tests
qa: detect partial migrations during large config of dist epin
qa: use stdin-killer to timeout run_shell_payload
qa: simplify run_shell argument processing
doc: add dev docs for quiesce protocol
pybind/mgr/volumes: block quiesce for critical .meta file
mds: add vxattr to block quiesce on an inode
mds: convert encoded ephemeral dist pin to flags
mds: add counter to throttle quiesce
mds: add quiesce set feature flag
mds: skip non-head inodes for quiesce
mds: add quiesce op
mds: print all SimpleLock flags in debug output
mds: pretty print mutation when dumping lock
mds: add new inode quiescelock
mds: use 128 bits for waiters on MDSCacheObject
mds: provide mechanism to authpin while freezing
mds: add command to get specific op
mds: finish request before completing internal req
mds: complete internal op if killed
mds: avoid killing dead requests
mds: add command to kill request
mds: add path argument to `ops` and `dump tree` to stream result to local file
mds: print internal_request filepaths if present
mds: add more information to debug message
mds: remove redundant parenthesis
mds: implement Mutation::dump method
mds: make LockType fields const
mds: annotate mdr with try_rdlock_snap_layout failure
mds: refactor if into switch
mds: call Locker method using this
mds: simplify assert
mds: dump locks passed to Locker::acquire_locks
mds: add LockOp::print method for debugging
mds: use new insert template via print
mds: add request result to mutation for analysis by tests
mds: add comment on locking order rules
mds: allow specifying rdlock position
mds: remove dead method
common: provide a template for object dumps
common: support long running ops without slow warnings
common: simplify loop
common: add JSONFormatterFile class
common: use more efficient vector for stack
include: use larger int for large gathers

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56407 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:57:14 +0000 (13:57 -0400)]
Merge PR #56407 into squid

* refs/pull/56407/head:
qa/cephfs: stop ignoring MON_DOWN globally
qa: extend mon timeout coming up after mondb creation
qa: update dashboard schema for mon_status
mon: do not log MON_DOWN if monitor uptime is less than threshold

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agoMerge PR #56416 into squid
Patrick Donnelly [Mon, 25 Mar 2024 17:56:52 +0000 (13:56 -0400)]
Merge PR #56416 into squid

* refs/pull/56416/head:
qa/cephfs: add mgr debugging

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
15 months agomgr/dashboard: sanitize dashboard user creation 56451/head
Pedro Gonzalez Gomez [Thu, 21 Mar 2024 07:56:58 +0000 (08:56 +0100)]
mgr/dashboard: sanitize dashboard user creation

Fixes: https://tracker.ceph.com/issues/65030
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 9951a3a7f314c7cd1eb147fb1b398ac6c5212806)

15 months agoMerge pull request #56440 from rhcs-dashboard/wip-65109-squid
Nizamudeen A [Mon, 25 Mar 2024 09:51:45 +0000 (15:21 +0530)]
Merge pull request #56440 from rhcs-dashboard/wip-65109-squid

squid: mgr/dashboard: fix empty tags

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
15 months agomgr/dashboard: rm warning/error threshold for cpu usage 56442/head
Nizamudeen A [Tue, 19 Mar 2024 14:57:13 +0000 (20:27 +0530)]
mgr/dashboard: rm warning/error threshold for cpu usage

for multi-core cpu's the value can be more than 100% so it doesn't make
sense to show warning/error when the usage is at or more than 100%.
hence removing it

Fixes: https://tracker.ceph.com/issues/58838
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 131a70754a6bfbbb2d1481ba74436953c6ecc226)

15 months agomgr/dashboard: fix empty tags 56440/head
Pedro Gonzalez Gomez [Thu, 14 Mar 2024 06:58:36 +0000 (07:58 +0100)]
mgr/dashboard: fix empty tags

Fixes: https://tracker.ceph.com/issues/64911
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit a60f82566551e731987b4a02d1bb2bf4cfb9a9ce)

15 months agomgr/dashboard: fix NVMeoF API 55685/head
Ernesto Puerta [Wed, 13 Mar 2024 13:06:10 +0000 (14:06 +0100)]
mgr/dashboard: fix NVMeoF API

* Update NVMe-oF gRPC Proto to 1.0.0
* Error handling,
* Missing PATCH for certain namespace ops (resize, set QoS, set balance
  groups),
* Stop bypassing gRPC payloads and validate those in the back-end,
* Fix incorrect HTTP 1.1 semantics for some POST/DELETE and URIs.
* Catch errors/exceptions.
* Clean-up EndpointDoc Params
* Run Black linter.
* Remove most of NVMeoFClient glue code between gRPC and controller.
* Fix namespace delete endpoint by exposing trsvcid
* nvmeof io_stats support

Fixes: https://tracker.ceph.com/issues/64890
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 4adf48998d97f8199bcb86c8d8994bb5989c198a)

15 months agomgr/dashboard: fix nvmeof api documentation
Nizamudeen A [Tue, 5 Mar 2024 10:39:25 +0000 (16:09 +0530)]
mgr/dashboard: fix nvmeof api documentation

From Aviv:
POST /api/nvmeof/hosts - the description of the command it wrong IMO. It is not about creating a host. It is about allowing a host X to access subsystem Y.
GET /api/nvmeof/hosts/{subsystem_nqn} - also the description is not accurate. The command lists all hosts that are allowed to access this subsystem.
DELETE /api/nvmeof/hosts/{subsystem_nqn}/{host_nqn} - again the description should be changed as above.
POST /api/nvmeof/namespace - bad formatting of the description
GET /api/nvmeof/subsystem - the description is wrong, should say - "List all NVMeoF subsystems". And it shouldn't get any param.
POST /api/nvmeof/subsystem - few issues here. The serial_number, and max_namespaces are optional (we need to mention that). Also it is missing the --enable-ha argument that is also optional.
Some commands are missing: log_level, connection.i

Fixes: https://tracker.ceph.com/issues/64714
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit e87a9f15af52925d8988805b65a9b12c2a88b164)

15 months agomgr/dashboard: listener addr is always none
Nizamudeen A [Wed, 28 Feb 2024 06:21:22 +0000 (11:51 +0530)]
mgr/dashboard: listener addr is always none

Even if the traddr is passed from the API, it gets overriden by the None
hard-coded in the code.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 226117a5ac99486fda8208e6a49db097c6667264)

15 months agomgr/dashboard: update nvmeof protoc to 1.0.0
Nizamudeen A [Mon, 12 Feb 2024 06:11:32 +0000 (11:41 +0530)]
mgr/dashboard: update nvmeof protoc to 1.0.0

Fixes: https://tracker.ceph.com/issues/64384
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3f067b480dcb9f783907ab938bf0f83b5fba5af2)

15 months agoMerge pull request #56018 from vshankar/wip-64755-squid
Venky Shankar [Mon, 25 Mar 2024 04:40:51 +0000 (10:10 +0530)]
Merge pull request #56018 from vshankar/wip-64755-squid

squid: qa: ignore container checkpoint/restore related selinux denials for centos9

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
15 months agoMerge pull request #56418 from rhcs-dashboard/wip-65077-squid
Nizamudeen A [Mon, 25 Mar 2024 04:39:18 +0000 (10:09 +0530)]
Merge pull request #56418 from rhcs-dashboard/wip-65077-squid

squid: Snapshot schedule show subvolume path

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
15 months agomon, doc: overriding ec profile requires --yes-i-really-mean-it 56434/head
Radoslaw Zarzynski [Tue, 19 Mar 2024 13:43:10 +0000 (13:43 +0000)]
mon, doc: overriding ec profile requires --yes-i-really-mean-it

This is per https://tracker.ceph.com/issues/64333#note-17 describing
driving factors of a catastrophic cluster failure.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 629ba7bd349d48cdaa6d094751e7cfce651ba2bc)