Project

General

Profile

Actions

Bug #54215

closed

mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running

Added by Tim Serong about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Landing Page
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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:

  1. Deploy Octopus
  2. Configure the cluster (add some hosts, OSDs etc.)
  3. Upgrade to Pacific
  4. Log in to the dashboard

or:

  1. Deploy Pacific
  2. Use `ceph orch` to add hosts, deploy OSDs, ...
  3. 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?


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #54284: pacific: mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully runningResolvedVolker TheileActions
Actions #1

Updated by Volker Theile about 2 years ago

  • Pull request ID set to 44951
Actions #2

Updated by Volker Theile about 2 years ago

  • Assignee set to Volker Theile
Actions #3

Updated by Volker Theile about 2 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Volker Theile about 2 years ago

  • Backport changed from pacific to pacific, quincy
Actions #5

Updated by Ernesto Puerta about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from pacific, quincy to pacific
Actions #6

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
Actions #7

Updated by Nizamudeen A about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF