ceph-mirror/doc/_ext
Nizamudeen A a2f8e8dac5 mgr: isolated CherryPy to prevent global state sharing
as the modules are now being loaded onto the main interpreter (see
https://github.com/ceph/ceph/pull/66244), the
cherrypy is getting hit with an issue where its global state is being
affecting all the modules updating the cherrypy config simultaneously in
the same tree.

So i am adding a CherryPyMgr which manages all the independent servers
that will be created across all modules. This CherryPyMgr will create
its own server instances by utilizing cherrypy's WSGI Server and
eliminates the global state sharing. Each module or app can create their
own tree and start an adapter which will open an independent server for
that app.

- also added a method to update the config in place so CORS urls can be
  configured without restarting servers.

Fixes: https://tracker.ceph.com/issues/74643, https://tracker.ceph.com/issues/74543, https://tracker.ceph.com/issues/74980
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1384ae37c7)

 Conflicts:
	src/pybind/mgr/prometheus/module.py
 - accepted the incoming changes
2026-04-22 09:09:55 +05:30
..
ceph_commands.py mgr: isolated CherryPy to prevent global state sharing 2026-04-22 09:09:55 +05:30
ceph_confval.py mgr/restful: remove deprecated module 2024-10-28 14:17:18 +01:00
ceph_releases.py doc/_ext: accomodate three active releases in the Ceph timeline 2024-09-25 15:28:15 -05:00