Skip to content

Commit 947b5d2

Browse files
authored
Merge branch 'ceph:main' into main
2 parents dd5dcc2 + a3cf842 commit 947b5d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+45
-5729
lines changed

PendingReleaseNotes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
users that modifying "max_mds" may not help with troubleshooting or recovery
3636
effort. Instead, it might further destabilize the cluster.
3737

38+
* mgr/restful, mgr/zabbix: both modules, already deprecated since 2020, have been
39+
finally removed. They have not been actively maintenance in the last years,
40+
and started suffering from vulnerabilities in their dependency chain (e.g.:
41+
CVE-2023-46136). As alternatives, for the `restful` module, the `dashboard` module
42+
provides a richer and better maintained RESTful API. Regarding the `zabbix` module,
43+
there are alternative monitoring solutions, like `prometheus`, which is the most
44+
widely adopted among the Ceph user community.
3845

3946

4047
>=19.0.0

ceph.spec.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ BuildRequires: hostname
336336
BuildRequires: jq
337337
BuildRequires: libuuid-devel
338338
BuildRequires: python%{python3_pkgversion}-bcrypt
339-
BuildRequires: python%{python3_pkgversion}-pecan
340339
BuildRequires: python%{python3_pkgversion}-requests
341340
BuildRequires: python%{python3_pkgversion}-dateutil
342341
BuildRequires: python%{python3_pkgversion}-coverage
@@ -469,7 +468,6 @@ BuildRequires: xmlsec1-openssl-devel
469468
BuildRequires: python%{python3_pkgversion}-cherrypy
470469
BuildRequires: python%{python3_pkgversion}-routes
471470
BuildRequires: python%{python3_pkgversion}-scipy
472-
BuildRequires: python%{python3_pkgversion}-werkzeug
473471
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
474472
%endif
475473
BuildRequires: jsonnet
@@ -480,7 +478,6 @@ BuildRequires: libxmlsec1-nss1
480478
BuildRequires: libxmlsec1-openssl1
481479
BuildRequires: python%{python3_pkgversion}-CherryPy
482480
BuildRequires: python%{python3_pkgversion}-Routes
483-
BuildRequires: python%{python3_pkgversion}-Werkzeug
484481
BuildRequires: python%{python3_pkgversion}-numpy-devel
485482
BuildRequires: xmlsec1-devel
486483
BuildRequires: xmlsec1-openssl-devel
@@ -705,7 +702,6 @@ Recommends: python%{python3_pkgversion}-grpcio-tools
705702
%if 0%{?suse_version}
706703
Requires: python%{python3_pkgversion}-CherryPy
707704
Requires: python%{python3_pkgversion}-Routes
708-
Requires: python%{python3_pkgversion}-Werkzeug
709705
Recommends: python%{python3_pkgversion}-python3-saml
710706
%endif
711707
%description mgr-dashboard
@@ -738,20 +734,17 @@ Group: System/Filesystems
738734
%endif
739735
Requires: python%{python3_pkgversion}-bcrypt
740736
Requires: python%{python3_pkgversion}-packaging
741-
Requires: python%{python3_pkgversion}-pecan
742737
Requires: python%{python3_pkgversion}-pyOpenSSL
743738
Requires: python%{python3_pkgversion}-requests
744739
Requires: python%{python3_pkgversion}-dateutil
745740
Requires: python%{python3_pkgversion}-setuptools
746741
%if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?openEuler}
747742
Requires: python%{python3_pkgversion}-cherrypy
748743
Requires: python%{python3_pkgversion}-pyyaml
749-
Requires: python%{python3_pkgversion}-werkzeug
750744
%endif
751745
%if 0%{?suse_version}
752746
Requires: python%{python3_pkgversion}-CherryPy
753747
Requires: python%{python3_pkgversion}-PyYAML
754-
Requires: python%{python3_pkgversion}-Werkzeug
755748
%endif
756749
# RHEL8 has python 3.6 and that lacks dataclasses in the stdlib, so pull in the
757750
# backport dataclasses module instead.
@@ -1996,7 +1989,6 @@ fi
19961989
%{_datadir}/ceph/mgr/progress
19971990
%{_datadir}/ceph/mgr/prometheus
19981991
%{_datadir}/ceph/mgr/rbd_support
1999-
%{_datadir}/ceph/mgr/restful
20001992
%{_datadir}/ceph/mgr/rgw
20011993
%{_datadir}/ceph/mgr/selftest
20021994
%{_datadir}/ceph/mgr/smb
@@ -2007,7 +1999,6 @@ fi
20071999
%{_datadir}/ceph/mgr/telemetry
20082000
%{_datadir}/ceph/mgr/test_orchestrator
20092001
%{_datadir}/ceph/mgr/volumes
2010-
%{_datadir}/ceph/mgr/zabbix
20112002

20122003
%files mgr-rook
20132004
%{_datadir}/ceph/mgr/rook

debian/ceph-mgr-modules-core.install

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ usr/share/ceph/mgr/progress
1616
usr/share/ceph/mgr/prometheus
1717
usr/share/ceph/mgr/rbd_support
1818
usr/share/ceph/mgr/rgw
19-
usr/share/ceph/mgr/restful
2019
usr/share/ceph/mgr/selftest
2120
usr/share/ceph/mgr/snap_schedule
2221
usr/share/ceph/mgr/stats
@@ -25,4 +24,3 @@ usr/share/ceph/mgr/telegraf
2524
usr/share/ceph/mgr/telemetry
2625
usr/share/ceph/mgr/test_orchestrator
2726
usr/share/ceph/mgr/volumes
28-
usr/share/ceph/mgr/zabbix
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
natsort
22
CherryPy
33
packaging
4-
pecan
5-
werkzeug
64
requests
75
python-dateutil

debian/control

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ Build-Depends: automake,
9494
python3-all-dev,
9595
python3-cherrypy3,
9696
python3-natsort,
97-
python3-pecan <pkg.ceph.check>,
9897
python3-bcrypt <pkg.ceph.check>,
9998
tox <pkg.ceph.check>,
10099
python3-coverage <pkg.ceph.check>,
@@ -107,7 +106,6 @@ Build-Depends: automake,
107106
python3-setuptools,
108107
python3-sphinx,
109108
python3-venv,
110-
python3-werkzeug <pkg.ceph.check>,
111109
python3-yaml,
112110
ragel <pkg.ceph.crimson>,
113111
socat <pkg.ceph.check>,

doc/_ext/ceph_commands.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,6 @@ def mocked_modules(self):
285285
# make diskprediction_local happy
286286
mock_imports += ['numpy',
287287
'scipy']
288-
# make restful happy
289-
mock_imports += ['pecan',
290-
'pecan.rest',
291-
'pecan.hooks',
292-
'werkzeug',
293-
'werkzeug.serving']
294288

295289
for m in mock_imports:
296290
args = {}

doc/_ext/ceph_confval.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,6 @@ def mocked_modules(self):
289289
# make diskprediction_local happy
290290
mock_imports += ['numpy',
291291
'scipy']
292-
# make restful happy
293-
mock_imports += ['pecan',
294-
'pecan.rest',
295-
'pecan.hooks',
296-
'werkzeug',
297-
'werkzeug.serving']
298292

299293
for m in mock_imports:
300294
args = {}

doc/cephfs/cephfs-mirroring.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,13 @@ e.g.::
260260

261261
.. _cephfs_mirroring_mirroring_status:
262262

263+
Snapshot Mirroring
264+
------------------
265+
266+
To initiate snapshot mirroring, create a snapshot of the configured directory in the primary cluster::
267+
268+
$ mkdir -p /d0/d1/d2/.snap/snap1
269+
263270
Mirroring Status
264271
----------------
265272

doc/dev/developer_guide/dash-devel.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ dashboard and its URLs::
161161

162162
dashboard urls: https://192.168.178.84:41259, https://192.168.178.84:43259, https://192.168.178.84:45259
163163
w/ user/pass: admin / admin
164-
restful urls: https://192.168.178.84:42259, https://192.168.178.84:44259, https://192.168.178.84:46259
165-
w/ user/pass: admin / 598da51f-8cd1-4161-a970-b2944d5ad200
166164

167165
During development (especially in backend development), you also want to
168166
check on occasions if the dashboard manager module is still running. To do so
@@ -175,8 +173,7 @@ should look similar to the following output:
175173
176174
$ ./bin/ceph mgr services
177175
{
178-
"dashboard": "https://home:41931/",
179-
"restful": "https://home:42931/"
176+
"dashboard": "https://home:41931/"
180177
}
181178
182179
By default, this environment uses a randomly chosen port for Ceph Dashboard

doc/governance.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,25 @@ Responsibilities
6060
----------------
6161

6262
* Elect executive council
63-
* Amend governance model (by majority vote)
63+
* Amend governance model by supermajority vote
6464
* Meet regularly to discuss and decide on tactical and strategic projects
6565
and improvements
66+
* Hold an annual election
6667

6768
Membership
6869
----------
6970

7071
* Developers, users, community members
71-
* Voting members can be nominated and added/removed by existing
72-
members (2/3 majority)
72+
* Members can be nominated and added/removed by existing members via a
73+
supermajority vote
7374
* Anyone may attend steering committee meetings as a non-voting participant
7475
* Existing Ceph Leadership Team members are grandfathered in
7576
* Membership reflected by an email list and on the Ceph website and
7677
docs
7778

79+
.. note:: A "supermajority" is a 2/3 majority of votes on a particular item
80+
in an election. Abstaining does not bias a vote.
81+
7882
Current Members
7983
^^^^^^^^^^^^^^^
8084

0 commit comments

Comments
 (0)