]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Disable sso without python3-saml 38404/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:35:13 +0000 (16:35 +0100)
commite73fc565b34662268c134b8b943643d920b0dcf7
tree90083f7ab6504afbdf6c9f555ab19052c0e74d0a
parentb8c19688570141fef405449cef0359080e659e8e
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