Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

votdev
Copy link
Member

@votdev votdev commented Feb 15, 2022

backport tracker: https://tracker.ceph.com/issues/54284


backport of #44951
parent tracker: https://tracker.ceph.com/issues/54215

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

@votdev votdev requested review from a team as code owners February 15, 2022 15:57
@votdev votdev added this to the pacific milestone Feb 15, 2022
@votdev votdev requested review from sunilangadi2 and nizamial09 and removed request for a team February 15, 2022 15:57
@nizamial09 nizamial09 changed the title pacific: mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running pacific: mgr/dashboard: "Please expand your cluster first" shouldn't be shown if cluster is already meaningfully running Feb 16, 2022
@nizamial09
Copy link
Member

jenkins test dashboard

@nizamial09
Copy link
Member

jenkins test dashboard cephadm

@votdev
Copy link
Member Author

votdev commented Feb 16, 2022

@nizamial09 visualTests/dashboard.vrt-spec.ts is failing here, do we need to backport #44956 to Pacific, too? See your comment #44951 (comment)

Running:  visualTests/dashboard.vrt-spec.ts                                             (24 of 25)
  Estimated: 1 minute, 57 seconds


  Dashboard Landing Page
    1) "after all" hook for "should take screenshot of dashboard landing page"


  0 passing (2m)
  1 failing

  1) Dashboard Landing Page
       "after all" hook for "should take screenshot of dashboard landing page":
     Error: �[0mEyes-Cypress detected diffs or errors during execution of visual tests.�[0m�[0m See details at: �[38;5;86mhttps://eyes.applitools.com/app/batches/00000251757296845553/00000251757296845257?accountId=hCTedwnSTUWSCZlXPqua0g~~�[0m�[0m
       �[38;5;214mDiffs detected - 4 tests�[0m
         �[38;5;214m⚠�[0m �[0mDashboard Component [1920x1080]�[0m
         �[38;5;214m⚠�[0m �[0mDashboard Component [1920x1080]�[0m
         �[38;5;214m⚠�[0m �[0mDashboard Component [800x600]�[0m
         �[38;5;214m⚠�[0m �[0mDashboard Component [800x600]�[0m

       �[0mSee details at:�[0m �[38;5;86mhttps://eyes.applitools.com/app/batches/00000251757296845553/00000251757296845257?accountId=hCTedwnSTUWSCZlXPqua0g~~�[0m

@nizamial09
Copy link
Member

do we need to backport #44956 to Pacific, too?

@votdev It was done actually along with this PR #44935. Somehow pacific is not behaving as I expected.

@votdev
Copy link
Member Author

votdev commented Feb 16, 2022

do we need to backport #44956 to Pacific, too?

@votdev It was done actually along with this PR #44935. Somehow pacific is not behaving as I expected.

Too bad. Are you looking for that?

@nizamial09
Copy link
Member

do we need to backport #44956 to Pacific, too?

@votdev It was done actually along with this PR #44935. Somehow pacific is not behaving as I expected.

Too bad. Are you looking for that?

Yup, looking into it. Something to do with the applitools configuration.

@nizamial09
Copy link
Member

Made some changes in the applitools and its passing now.

@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

…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 48fff60)

Conflicts:
src/cephadm/cephadm

Signed-off-by: Volker Theile <vtheile@suse.com>
@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

jenkins test dashboard

@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

jenkins test make check

@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

It seems the Pacific branch has been broken by another PR that is RBD related.

@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

jenkins test make check

@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

jenkins test dashboard

@votdev
Copy link
Member Author

votdev commented Feb 17, 2022

@epuertat Can this be merged after all checks are successful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants