]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is...
authorVolker Theile <vtheile@suse.com>
Wed, 9 Feb 2022 08:37:48 +0000 (09:37 +0100)
committerVolker Theile <vtheile@suse.com>
Mon, 14 Feb 2022 09:49:38 +0000 (10:49 +0100)
commit48fff60b63785ec07f71d3e59394b0c08357247c
tree9e68e6f75731a7a53a4e07673da889afe96d7829
parente15a52997b58b21bb0fe71f5814aba63fdede296
mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running

This PR will assume that a cluster is already up and fully running. If this should not be the expected behaviour, deployment tools have to set 'INSTALLED' explicitly. Without this assumption it might happen that upgraded and fully running clusters, e.g. Octopus -> Pacific, will show the 'Expand Cluster' on first log in.

cephadm will take care that the bootstrap phase will write the necessary key to show the 'Expand cluster' page.

Fixes: https://tracker.ceph.com/issues/54215
Signed-off-by: Volker Theile <vtheile@suse.com>
src/cephadm/cephadm
src/pybind/mgr/dashboard/services/cluster.py