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

Dashboard duplicates panels #19931

Closed
1 of 3 tasks
RomanNikitenko opened this issue Jun 7, 2021 · 6 comments
Closed
1 of 3 tasks

Dashboard duplicates panels #19931

RomanNikitenko opened this issue Jun 7, 2021 · 6 comments
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/next
Milestone

Comments

@RomanNikitenko
Copy link
Member

Describe the bug

Dashboard duplicates panels at some conditions, please see a screenshot bellow.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

You can see the steps to reproduce on the video in the Screenshots section

  1. Start a workspace
  2. Wait till the workspace is stopped by timeout
  3. Go to dashboard = > Workspaces panel.
  4. Select the workspace for starting from Recent Workspaces
  5. See at the state of the dashboard when the workspace is started.

Expected behavior

Dashboard doesn't duplicate panels

Runtime

Dogfooding instance

Screenshots

duplicates_panels_dashboard

double_panels_dashboard

@RomanNikitenko RomanNikitenko added kind/bug Outline of a bug - must adhere to the bug report template. area/dashboard labels Jun 7, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jun 7, 2021
@RomanNikitenko
Copy link
Member Author

It looks like the cause of the problem somehow related to switching between Workspaces and Recent Workspaces areas:

switching_dashboard

@ScrewTSW ScrewTSW added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jun 7, 2021
@svor
Copy link
Contributor

svor commented Jun 8, 2021

Reproducible on dogfooding instance.
My steps to reproduce:

  1. Start a workspace
  2. Got to Dasboard and stop it
  3. Open Workspaces view in Dasboard
  4. Select the workspace which was created in step 1
  5. Click open button
screencast-che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com-2021.06.08-12_29_19.mp4

@vzhukovs
Copy link
Contributor

vzhukovs commented Jun 8, 2021

Снимок экрана 2021-06-08 в 14 58 16

Also faced with this issue today on Dogfooding instance

@sympatheticmoose
Copy link

Reproduced today on workspaces.openshift.com

@sleshchenko
Copy link
Member

So, investigated it and it's related to SingleHost(with multihost the error will be different, like 503) and it's caused by a fact that Dashboard tries to open URL from the first workspace run(Thanks @olexii4 for idea). Now it's fixed and dashboard uses the right URL.
To prevent such cases later, it's needed to make Dashboard detecting opening itself in iframe, redirect to main page and report an issue.

@sleshchenko
Copy link
Member

Fixed by eclipse-che/che-dashboard#259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/next
Projects
None yet
Development

No branches or pull requests

7 participants