Repository navigation
tentacle: mgr: isolated CherryPy to prevent global state sharing - #67465
Conversation
7891edf to
f3b56dd
Compare
f3b56dd to
b7be775
Compare
b7be775 to
a4e353f
Compare
|
backport of #67227 |
a4e353f to
2b0acd9
Compare
|
depends on #67511 |
2b0acd9 to
9389454
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@nizamial09 #67511 is now merged, we need to rebase this PR please. |
|
jenkins test docs |
idryomov
left a comment
There was a problem hiding this comment.
Ack from the RBD perspective
fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2414677 Signed-off-by: Anmol Babu <[email protected]> (cherry picked from commit 65282be) Conflicts: src/pybind/mgr/prometheus/module.py - imports needed to resolved as per the new change
as the modules are now being loaded onto the main interpreter (see ceph#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 <[email protected]> (cherry picked from commit 1384ae3) Conflicts: src/pybind/mgr/prometheus/module.py - accepted the incoming changes
9389454 to
a2f8e8d
Compare
|
This PR is under test in https://tracker.ceph.com/issues/76319. |
|
This PR has been added to tentacle integration testing by pdonnell started 2026-05-02 02:07. |
batrick
left a comment
There was a problem hiding this comment.
No action needs to be taken. This is for posterity.
Automated Backport Parity Review - Multiple PRs Detected
This backport appears to pull commits from multiple main PRs including: PR #66605, PR #67227.
This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Orphaned Main PR: Could not find a Redmine tracker for
mainPR #66605. Please create a ticket, set its 'Pull Request ID', populate the 'Backports' field, and ensure it is in the 'Pending Backport' state. - Missing PR Link: Backport tracker #75283 has no 'Pull Request ID' field set. Please link it to PR #67465.
Commit Parity Visualizer
| BACKPORT PR #67465 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 3112e5a Fix the prometheus module crash | PR #66605 | 65282be Fix the prometheus module crash |
| a2f8e8d mgr: isolated CherryPy to prevent global state sharing | PR #67227 | 1384ae3 mgr: isolated CherryPy to prevent global state sharing |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
backport of #67227
also cherrypicking a depandant PR #66605
backport tracker: https://tracker.ceph.com/issues/75286