]> git.proxmox.com Git - ceph.git/commit
patch: fix `ceph dashboard` subcommand becoming unavailable on crash
authorMax Carrara <m.carrara@proxmox.com>
Fri, 26 Jan 2024 15:27:02 +0000 (16:27 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Feb 2024 18:10:20 +0000 (19:10 +0100)
commit7bd13736e11292a34271282ec56d44f321e1a7f1
tree3a1c23f262370a6dcbf6c87abc35dc648814934c
parentab5c03b44d78c4e4b233ff5a310888592dbb9bb4
patch: fix `ceph dashboard` subcommand becoming unavailable on crash

Adapt the patch that originally disabled certain TLS checks during the
dashboard's startup and fixes the `ceph dashboard` subcommand becoming
unavailable if the dashboard crashes during that time.

This is achieved by re-implementing certain checks and also re-raising
any other unforeseen exceptions that occur in regards to TLS as one
of Ceph's internal exception types, which are then handled by the
dashboard itself. This is akin to how these cases were handled
originally.

Also fixes a typo in the `ceph dashboard create-self-signed-cert`
command output.

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
patches/0013-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch