all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v1 squid-stable-8 ceph 0/2] Provide Workaround for PyO3 ImportError regarding Ceph Dashboard
@ 2025-07-15  9:32 Max R. Carrara
  2025-07-15  9:32 ` [pve-devel] [PATCH v1 squid-stable-8 ceph 1/2] backport workaround for PyO3 sub-interpreter ImportError Max R. Carrara
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Max R. Carrara @ 2025-07-15  9:32 UTC (permalink / raw)
  To: pve-devel

Provide Workaround for PyO3 ImportError regarding Ceph Dashboard - v1
=====================================================================

In short, backport PR #62951 [0] and drop a patch that was made
superfluous due to said backport.

I tested this on my local bookworm/squid cluster—generating a
self-signed cert worked without problems. The Dashboard is up and
running.

NOTE: The patches added by the first commit should also work and apply
for Ceph Squid on trixie, but I haven't tested them yet (on trixie), as
it won't build for me atm.

References
----------

[0]: https://github.com/ceph/ceph/pull/62951

Summary of Changes
------------------

Max R. Carrara (2):
  backport workaround for PyO3 sub-interpreter ImportError
  drop patch that disables generating self-signed certs for dashboard

 ...move-ability-to-create-and-check-TLS.patch | 126 ----
 ...around-the-ImportError-PyO3-modules-.patch | 553 ++++++++++++++++
 ...yptotools-use-json-for-structured-ou.patch |  81 +++
 ...yptotools-create-CrytpoCaller-interf.patch | 197 ++++++
 ...yptotools-use-one-single-dir-for-cry.patch |  30 +
 ...0038-python-common-remove-unused-dir.patch |  19 +
 ...e-mgr_util-to-use-cryptotools-Crypto.patch | 165 +++++
 ...rrect-typo-in-private_key-naming-fie.patch |  24 +
 ...yptotools-Always-encode-Err-via-stde.patch |  62 ++
 ...ct-code-to-ensure-cephadm-tests-test.patch |  38 ++
 ...yptotools-fix-error-path-in-verify-t.patch |  62 ++
 ...yptotools-Remove-ascii-and-utf-8-ref.patch |  94 +++
 ...nd-mgr-Appropriately-rename-function.patch | 623 ++++++++++++++++++
 ...yptotools-give-the-parsers-more-sens.patch |  58 ++
 ...place-direct-use-of-bcrypt-in-dashbo.patch | 104 +++
 ...ind-mgr-fix-test-case-in-test_tls.py.patch |  27 +
 ...yptotools-move-actual-crypto-opts-in.patch | 314 +++++++++
 ...mmon-cryptotools-use-a-main-function.patch |  49 ++
 ...yptotools-unify-and-organize-all-end.patch | 185 ++++++
 ...yptotools-add-caller-module-for-base.patch |  66 ++
 ...yptotools-move-internal-crypto-calle.patch | 301 +++++++++
 ...yptotools-create-module-for-selectin.patch | 187 ++++++
 ...yptotools-catch-all-failures-to-read.patch |  44 ++
 ...always-use-the-internal-cryptocaller.patch |  39 ++
 ...d-an-option-to-control-the-dashboard.patch |  78 +++
 patches/series                                |  25 +-
 26 files changed, 3424 insertions(+), 127 deletions(-)
 delete mode 100644 patches/0011-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch
 create mode 100644 patches/0034-pybind-mgr-Hack-around-the-ImportError-PyO3-modules-.patch
 create mode 100644 patches/0035-python-common-cryptotools-use-json-for-structured-ou.patch
 create mode 100644 patches/0036-python-common-cryptotools-create-CrytpoCaller-interf.patch
 create mode 100644 patches/0037-python-common-cryptotools-use-one-single-dir-for-cry.patch
 create mode 100644 patches/0038-python-common-remove-unused-dir.patch
 create mode 100644 patches/0039-pybind-mgr-update-mgr_util-to-use-cryptotools-Crypto.patch
 create mode 100644 patches/0040-python-common-Correct-typo-in-private_key-naming-fie.patch
 create mode 100644 patches/0041-python-common-cryptotools-Always-encode-Err-via-stde.patch
 create mode 100644 patches/0042-pybind-mgr-Correct-code-to-ensure-cephadm-tests-test.patch
 create mode 100644 patches/0043-python-common-cryptotools-fix-error-path-in-verify-t.patch
 create mode 100644 patches/0044-python-common-cryptotools-Remove-ascii-and-utf-8-ref.patch
 create mode 100644 patches/0045-pybind-mgr-Appropriately-rename-function.patch
 create mode 100644 patches/0046-python-common-cryptotools-give-the-parsers-more-sens.patch
 create mode 100644 patches/0047-mgr-dashboard-replace-direct-use-of-bcrypt-in-dashbo.patch
 create mode 100644 patches/0048-pybind-mgr-fix-test-case-in-test_tls.py.patch
 create mode 100644 patches/0049-python-common-cryptotools-move-actual-crypto-opts-in.patch
 create mode 100644 patches/0050-python-common-cryptotools-use-a-main-function.patch
 create mode 100644 patches/0051-python-common-cryptotools-unify-and-organize-all-end.patch
 create mode 100644 patches/0052-python-common-cryptotools-add-caller-module-for-base.patch
 create mode 100644 patches/0053-python-common-cryptotools-move-internal-crypto-calle.patch
 create mode 100644 patches/0054-python-common-cryptotools-create-module-for-selectin.patch
 create mode 100644 patches/0055-python-common-cryptotools-catch-all-failures-to-read.patch
 create mode 100644 patches/0056-mgr-cephadm-always-use-the-internal-cryptocaller.patch
 create mode 100644 patches/0057-mgr-dashboard-add-an-option-to-control-the-dashboard.patch

-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-15 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-15  9:32 [pve-devel] [PATCH v1 squid-stable-8 ceph 0/2] Provide Workaround for PyO3 ImportError regarding Ceph Dashboard Max R. Carrara
2025-07-15  9:32 ` [pve-devel] [PATCH v1 squid-stable-8 ceph 1/2] backport workaround for PyO3 sub-interpreter ImportError Max R. Carrara
2025-07-15  9:32 ` [pve-devel] [PATCH v1 squid-stable-8 ceph 2/2] drop patch that disables generating self-signed certs for dashboard Max R. Carrara
2025-07-15 12:55 ` [pve-devel] applied: [PATCH v1 squid-stable-8 ceph 0/2] Provide Workaround for PyO3 ImportError regarding Ceph Dashboard Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal