]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Disable sso without python3-saml 38084/head
authorKevin Meijer <kevinmeijer@brightfish.nl>
Sat, 14 Nov 2020 18:44:07 +0000 (19:44 +0100)
committerKevin Meijer <kevinmeijer@brightfish.nl>
Mon, 16 Nov 2020 14:03:02 +0000 (15:03 +0100)
commit0c18437d2c786ef1ade8b89e42dbf4b0e163aafe
tree4c45d5684e7d7573ea8f133275a13b68004fee5c
parent81bcf9b40f40a4943ef1294df4fca42304b4fc99
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>
src/pybind/mgr/dashboard/services/sso.py