all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Max Carrara <m.carrara@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v3 ceph 0/2] Complete Workaround For Ceph Dashboard
Date: Fri,  5 Jan 2024 15:07:31 +0100	[thread overview]
Message-ID: <20240105140733.380258-1-m.carrara@proxmox.com> (raw)

These two patches allow the Ceph Dashboard to work again as intended.

The first patch provides a backport of a pull request [0] which removes
the dependency on PyJWT. [1]

The second patch removes two usages of functions that use PyOpenSSL, [2]
which prevents running into sub-interpreter-related issues with
PyO3. [3] This is achieved by removing a check during the dashboard's
launch as well as prohibiting users from creating self-signed TLS certs
via the `ceph` CLI. Users may still provide a key/cert pair manually
and are instructed to do so once they try to execute the respective
command. [4]


[0]: https://github.com/ceph/ceph/pull/54710
[1]: https://github.com/jpadilla/pyjwt
[2]: https://github.com/pyca/pyopenssl
[3]: https://tracker.ceph.com/issues/63529
[4]: `ceph dashboard create-self-signed-cert`

Max Carrara (2):
  mgr/dashboard: add backport that allows the dashboard to work again
  mgr/dashboard: add patch that removes PyOpenSSL-related usages

 ...hboard-simplify-authentication-proto.patch | 279 ++++++++++++++++++
 ...move-ability-to-create-and-check-TLS.patch | 101 +++++++
 patches/series                                |   2 +
 3 files changed, 382 insertions(+)
 create mode 100644 patches/0012-backport-mgr-dashboard-simplify-authentication-proto.patch
 create mode 100644 patches/0013-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch

-- 
2.39.2





             reply	other threads:[~2024-01-05 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05 14:07 Max Carrara [this message]
2024-01-05 14:07 ` [pve-devel] [PATCH v3 ceph 1/2] mgr/dashboard: add backport that allows the dashboard to work again Max Carrara
2024-01-05 14:07 ` [pve-devel] [PATCH v3 ceph 2/2] mgr/dashboard: add patch that removes PyOpenSSL-related usages Max Carrara
2024-01-15 16:48 ` [pve-devel] applied-series: [PATCH v3 ceph 0/2] Complete Workaround For 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=20240105140733.380258-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