]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerErnesto Puerta <epuertat@redhat.com>
Mon, 21 Feb 2022 16:17:47 +0000 (17:17 +0100)
commitee5bd909b4ddaa33fc6cb0a0e44f57e5ce5d2436
tree095c12a541e53cfabec60a3e81478d754cc669e3
parent60fd24fa136ad38e7a7b03dc4bb38120be74c8de
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>
(cherry picked from commit 48fff60b63785ec07f71d3e59394b0c08357247c)
src/cephadm/cephadm
src/pybind/mgr/dashboard/services/cluster.py