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

Viewing Config Map breaks dashboard #4092

Closed
alastairpat opened this issue Jul 19, 2019 · 14 comments · Fixed by #4122, #4237 or #4455
Closed

Viewing Config Map breaks dashboard #4092

alastairpat opened this issue Jul 19, 2019 · 14 comments · Fixed by #4122, #4237 or #4455
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@alastairpat
Copy link

Environment
Installation method: kubectl apply
Kubernetes version: v1.13.7
Dashboard version: 2.0.0beta2
Operating system: macOS 10.14.5
Node.js version ('node --version' output):
Go version ('go version' output):
Steps to reproduce
  1. Create a configmap with data
  2. View the configmap in Kubernetes dashboard
  3. Click on the 'data' section of the config map
  4. Wait ~5 seconds
Observed result

The 'data' section empties. Further interactions with Dashboard are broken, with changing tabs resulting in white boxes

Expected result

The 'data' section doesn't become empty and the Dashboard continues to work

Comments

Screenshot 2019-07-19 at 14 15 03

@alastairpat alastairpat added the kind/bug Categorizes issue or PR as related to a bug. label Jul 19, 2019
@maciaszczykm
Copy link
Member

Can you paste logs from the browser console?

@floreks
Copy link
Member

floreks commented Jul 19, 2019

Console error:
Zrzut ekranu z 2019-07-19 10-12-40

As a quick workaround refresh the whole app. We will fix it.

@alastairpat
Copy link
Author

Thanks @floreks - I put the whole development environment for our organisation onto the beta with a view to finding defects. Really appreciate the turnaround. An aside - all the end users are loving the improvements!

@floreks floreks added this to the v2.0.0-rc1 milestone Jul 23, 2019
@maciaszczykm maciaszczykm self-assigned this Jul 25, 2019
@maciaszczykm
Copy link
Member

Interesting thing - it occurs only on prod, on dev everything works. Will be harder to fix.

@ElectricRabbit
Copy link

ElectricRabbit commented Aug 6, 2019

I think this issue could be connected with RBAC.
I have no issue viewing configmaps accross all namespace with ClusterRole cluster-admin
But I have reported this issue from all developers with ClusterRole assigning only [get], [list], [watch] for all cluster resources

@korroot
Copy link

korroot commented Aug 9, 2019

This bug is still valid for 2.0.0-beta3 version - after 5 seconds showing config map the UI is frozen. User cannot edit or exit the page, needs to reload the page and exit config map tab.

Any hints how to resolve this?

@floreks
Copy link
Member

floreks commented Aug 9, 2019

True. Now there is a different error being thrown. I'll reopen.

/reopen
/assign @maciaszczykm

@k8s-ci-robot k8s-ci-robot reopened this Aug 9, 2019
@k8s-ci-robot
Copy link
Contributor

@floreks: Reopened this issue.

In response to this:

True. Now there is a different error being thrown. I'll reopen.

/reopen
/assign @maciaszczykm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ivanfilippov
Copy link

This is still happening in beta4.

/reopen

@k8s-ci-robot
Copy link
Contributor

@ivanfilippov: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

This is still happening in beta4.

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@alastairpat
Copy link
Author

@ivanfilippov - commit eb66d22 containing the fix didn't make it into beta4

@mausch
Copy link

mausch commented Oct 15, 2019

I'm still seeing this in beta5

@maciaszczykm maciaszczykm reopened this Oct 15, 2019
@autherlj
Copy link

yes, still happening in beta5

@LQBing
Copy link

LQBing commented Oct 16, 2019

I reproduced this issue in beta5, but the browser console error info is different.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants