]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Handle always-on Ceph Manager modules correctly 30142/head
authorVolker Theile <vtheile@suse.com>
Thu, 5 Sep 2019 14:06:57 +0000 (16:06 +0200)
committerVolker Theile <vtheile@suse.com>
Mon, 9 Sep 2019 09:12:55 +0000 (11:12 +0200)
commit8ac655963755820c9bab3953a4195fbc916f7072
tree7c1cc74d3bcd44c61ac6284220131ee3de87a9cb
parent9e7ecf708a3f3f1683561b559808476d3001b383
mgr/dashboard: Handle always-on Ceph Manager modules correctly

Currently always-on modules are not marked as enabled in the WebUI and can be disabled. This PR will fix that.
Note, this PR will NOT implement code that will prevent a developer from trying to disable an always-on module through the REST API. The Mgr Python extension will throw an adequate exception.

This PR will also do:
* Remove old code fragments from a previous Mgr Module management UI that is obsolete now.
* Cleanup code in BaseMgrModule code.

Fixes: https://tracker.ceph.com/issues/41648
Signed-off-by: Volker Theile <vtheile@suse.com>
src/mgr/BaseMgrModule.cc
src/pybind/mgr/dashboard/controllers/mgr_modules.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/core/mgr-modules/telemetry/telemetry.component.html [deleted file]
src/pybind/mgr/mgr_module.py