From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Max Carrara <m.carrara@proxmox.com>
Subject: Re: [pve-devel] [PATCH v2 quincy-stable-8 ceph 1/2] patches: include patches regarding RocksDB and dashboard from master
Date: Thu, 15 Feb 2024 14:09:36 +0100 [thread overview]
Message-ID: <eeee4095-6806-416b-821f-bc3da28bbfb1@proxmox.com> (raw)
In-Reply-To: <20240126154440.657816-2-m.carrara@proxmox.com>
Am 26/01/2024 um 16:44 schrieb Max Carrara:
> This commit essentially contains all changes from the following
> commits (most recent last):
> * f35168f6713d5f3fa1aaa8c572d754b61c458d91
> * 86a553d66e69176940959530d4fedcbcbbab54d9
> * ab5c03b44d78c4e4b233ff5a310888592dbb9bb4
>
> The series file and the patches' prefixed numbers have been updated
> correspondingly.
>
> A very minor adaptation has been made to the patch added by commit
> f35168f6713d5f3fa1aaa8c572d754b61c458d91 in order to get it to apply
> correctly.
>
> Signed-off-by: Max Carrara <m.carrara@proxmox.com>
> ---
> Changes v1 --> v2:
> * None
>
> delete mode 100644 patches/0021-debian-rules-fix-buildtype.patch
this deletion is not mentioned in the commit message though.
While it actually is fine, as it was a extra patch for the rocksdb build that
is already fixed with rocksb-inherit-parent-cmake-cxx-flags.patch one, it's
still odd to just delete it here without any mentioning..
> diff --git a/patches/0021-debian-rules-fix-buildtype.patch b/patches/0021-debian-rules-fix-buildtype.patch
> deleted file mode 100644
> index 8b6ef6b56..000000000
> --- a/patches/0021-debian-rules-fix-buildtype.patch
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -From 1f4b106d49fc916994d97e273599f75caa904c3b Mon Sep 17 00:00:00 2001
> -From: Mark Nelson <mark.nelson@clyso.com>
> -Date: Thu, 14 Dec 2023 05:19:46 +0000
> -Subject: [PATCH] debian/rules: Fix build_type for massive performance gain
> -
> -Signed-off-by: Mark Nelson <mark.nelson@clyso.com>
> ----
> - debian/rules | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/debian/rules b/debian/rules
> -index ed7f4a255ed4b..b28abb7d62788 100755
> ---- a/debian/rules
> -+++ b/debian/rules
> -@@ -29,6 +29,7 @@ extraopts += -DWITH_PYTHON3=3
> - extraopts += -DWITH_CEPHFS_JAVA=ON
> - extraopts += -DWITH_CEPHFS_SHELL=ON
> - extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default
> -+extraopts += -DCMAKE_BUILD_TYPE=RelWithDebInfo
> - extraopts += -DWITH_GRAFANA=ON
> - ifeq ($(DEB_HOST_ARCH), amd64)
> - extraopts += -DWITH_RBD_RWL=ON
> diff --git a/patches/0022-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch b/patches/0022-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch
> new file mode 100644
> index 000000000..59c5263da
> --- /dev/null
> +++ b/patches/0022-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch
> @@ -0,0 +1,101 @@
> +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
> +From: Max Carrara <m.carrara@proxmox.com>
> +Date: Thu, 4 Jan 2024 17:37:50 +0100
> +Subject: [PATCH] mgr/dashboard: remove ability to create and check TLS
> + key/cert pairs
> +
> +In order to avoid running into PyO3-related issues [0] with PyOpenSSL,
> +the ability to create self-signed certs is disabled - the command
> +`ceph dashboard create-self-signed-cert` is made to always return an
> +error.
> +
> +The command's error message contains the manual steps the user may
> +follow in order to set the certificate themselves, as well as a link
> +to the Ceph Dashboard documentation regarding TLS support. [1]
> +
> +Furthermore, the check on start-up, that verifies that the configured
> +key/cert pair actually match, is also removed. This means that users
> +need to ensure themselves that the correct pair is supplied -
> +otherwise their browser will complain.
> +
> +These changes allow the dashboard to launch with TLS enabled again.
> +
> +[0]: https://tracker.ceph.com/issues/63529
> +[1]: https://docs.ceph.com/en/reef/mgr/dashboard/#ssl-tls-support
> +
> +Signed-off-by: Max Carrara <m.carrara@proxmox.com>
> +---
> + src/pybind/mgr/dashboard/module.py | 41 ++++++++++++++++++++----------
> + 1 file changed, 27 insertions(+), 14 deletions(-)
> +
> diff --git a/patches/0022-rocksb-inherit-parent-cmake-cxx-flags.patch b/patches/0023-rocksb-inherit-parent-cmake-cxx-flags.patch
> similarity index 100%
> rename from patches/0022-rocksb-inherit-parent-cmake-cxx-flags.patch
> rename to patches/0023-rocksb-inherit-parent-cmake-cxx-flags.patch
> diff --git a/patches/series b/patches/series
> index 73f66396c..ee897a78a 100644
> --- a/patches/series
> +++ b/patches/series
> @@ -13,5 +13,6 @@
> 0016-d-rules-fix-no-restart-on-upgrade.patch
> 0017-python3.10-pep-620.patch
> 0020-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch
> -0021-debian-rules-fix-buildtype.patch
next prev parent reply other threads:[~2024-02-15 13:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 15:44 [pve-devel] [PATCH v2 quincy-stable-8 ceph 0/2] Backport Patches for Reef for Quincy Max Carrara
2024-01-26 15:44 ` [pve-devel] [PATCH v2 quincy-stable-8 ceph 1/2] patches: include patches regarding RocksDB and dashboard from master Max Carrara
2024-02-02 18:13 ` Thomas Lamprecht
2024-02-15 13:09 ` Thomas Lamprecht [this message]
2024-02-15 17:03 ` Max Carrara
2024-01-26 15:44 ` [pve-devel] [PATCH v2 quincy-stable-8 ceph 2/2] patch: fix `ceph dashboard` subcommand becoming unavailable on crash Max Carrara
2024-02-02 18:11 ` [pve-devel] applied-series: [PATCH v2 quincy-stable-8 ceph 0/2] Backport Patches for Reef for Quincy 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=eeee4095-6806-416b-821f-bc3da28bbfb1@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=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