Bug #54215
closedmgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running
0%
Description
Description of problem¶
https://tracker.ceph.com/issues/50336 introduced a neat "Create Cluster" workflow, to help set up new clusters. When you first log in to the dashboard you're prompted to expand the cluster (or skip that step). IMO this screen should not be present at all, for clusters that have already been "expanded", for example if I've already used `ceph orch` to create OSDs, add hosts, etc. this step is redundant - I shouldn't have to click "skip", it should just not be there in the first place. Likewise if I'm upgrading from an earlier (pre-Pacific) release.
Environment¶
ceph version
string: 16.2.7-37-gb3be69440db- Platform (OS/distro/release): SUSE Linux Enterprise Server 15 SP3
- Cluster details (nodes, monitors, OSDs): 4 nodes, 3 mons, 8 OSDs
- Did it happen on a stable environment or after a migration/upgrade?: seen after an upgrade from Octopus
- Browser used (e.g.:
Version 86.0.4240.198 (Official Build) (64-bit)
): Firefox 96.0.1 64 bit
How reproducible¶
Steps:
- Deploy Octopus
- Configure the cluster (add some hosts, OSDs etc.)
- Upgrade to Pacific
- Log in to the dashboard
or:
- Deploy Pacific
- Use `ceph orch` to add hosts, deploy OSDs, ...
- Log in to the dashboard
Actual results¶
I see a screen that says "Welcome to Ceph Dashboard - Please expand your cluster first"
Expected results¶
I see the regular status screen
Additional info¶
Would it be enough to add a check to see if there's > 1 node and/or > 0 OSDs, and in this case assume we don't need to show this screen?
Updated by Volker Theile about 2 years ago
- Status changed from New to Fix Under Review
Updated by Volker Theile about 2 years ago
- Backport changed from pacific to pacific, quincy
Updated by Ernesto Puerta about 2 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport changed from pacific, quincy to pacific
Updated by Backport Bot about 2 years ago
- Copied to Backport #54284: pacific: mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running added
Updated by Nizamudeen A about 2 years ago
- Status changed from Pending Backport to Resolved