]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Disable sso without python3-saml 38405/head
authorKevin Meijer <kevinmeijer@brightfish.nl>
Sat, 14 Nov 2020 18:44:07 +0000 (19:44 +0100)
committerLaura Paduano <lpaduano@suse.com>
Wed, 2 Dec 2020 15:36:00 +0000 (16:36 +0100)
commitc2c0f7a85f10e3c5da27b4a7bea5a35ca237af8b
tree4c114836c9f07c2ac343f2cb4973b326c4d48125
parentbf8c93ed52f9fc8b0ead7434383bfc40f78d4204
mgr/dashboard: Disable sso without python3-saml

Removed the requirement for the python3-saml package when wanting to disable SSO for the dashboard, this is currently relevant since the official container that runs Ceph mgr does not have this package installed.
So when upgrading from an older, non-containerized version, you would be stuck using a non-functional dashboard.

This pull requests changes that and allows the ceph dashboard sso disable command without the requirement of the library so that we SSO can always be disabled again.

Fixes: https://tracker.ceph.com/issues/48237 Signed-off-by: Kevin Meijer <admin@kevinmeijer.nl>
(cherry picked from commit 0c18437d2c786ef1ade8b89e42dbf4b0e163aafe)
src/pybind/mgr/dashboard/services/sso.py