all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Max R. Carrara" <m.carrara@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v1 squid-stable-8 ceph 0/2] Provide Workaround for PyO3 ImportError regarding Ceph Dashboard
Date: Tue, 15 Jul 2025 11:32:35 +0200	[thread overview]
Message-ID: <20250715093237.650039-1-m.carrara@proxmox.com> (raw)

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

             reply	other threads:[~2025-07-15  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  9:32 Max R. Carrara [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250715093237.650039-1-m.carrara@proxmox.com \
    --to=m.carrara@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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