]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is... 45044/head
authorVolker Theile <vtheile@suse.com>
Thu, 17 Feb 2022 08:11:54 +0000 (09:11 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 17 Feb 2022 08:11:54 +0000 (09:11 +0100)
commit7a8371fc1979638f716b3d5c2792c11e667bc1bd
tree0c9cb1aa97e10d9445106a32c12bf07299f24f47
parent451eee2557659c56b0280863fb8e23da5a753de9
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)

Conflicts:
src/cephadm/cephadm

Signed-off-by: Volker Theile <vtheile@suse.com>
src/cephadm/cephadm
src/pybind/mgr/dashboard/services/cluster.py