Description of problem: Create ResourceQuota for project, check on Overview page and then scale up resource to meet the max quota, informational message is unstable to automatically appear in message drawer without refreshing browser Version-Release number of selected component (if applicable): OpenShift Master: v3.7.0-alpha.1+11e88a4-637 Kubernetes Master: v1.7.0+80709908fd How reproducible: Always Steps to Reproduce: 1. Cluster admin create ResourceQuota as below: apiVersion: v1 kind: ResourceQuota metadata: name: myquota spec: hard: pods: "2" 2. Create resource to meet max of quota: # oc run mydc --image=aosqe/hello-openshift Login on Overview, scale up pods to 2, 3. Check message drawer without refreshing browser. Actual results: 3. Sometimes the informational message does not show up automatically in drawer unless browser is refreshed Expected results: 3. The informational message shoule show up automatically in drawer "Your project is at quota. It is using 2 of 2 pods." Additional info:
We only poll quota once a minute, which means the message can take up to a minute to show up. Is it possible you didn't wait long enough?
Tried again for several times, it's unstable to reproduce. It's not "always" for "How reproducible:", it's "sometimes". Tested on Origin OpenShift Master: v3.7.0-alpha.1+fa1def6-696 Kubernetes Master: v1.7.0+80709908fd
Sorry, I'm still not clear. If you wait a minute or two, does the message always appear? Or are there times when it never appears at all even after waiting?
I can still reproduced it with the 2nd project as below. (step 1~3 are same with description, step 4 can reproduce the issue) 1. cluster-admin create quota for project 1 2. Project user deploy 1 pod, login on web-console, mark the message "Deployment Created" as read 3. On web-console, user scale up to 2 pods(wait and check drawer, not it will show the message "Your project is at quota. It is using 2 of 2 pods.") 4. Create the 2nd project, repeat above steps, the message is never show automatically unless user refresh browser.
I couldn't reproduce in testing today on FF & Chrome, the message will finally show up.
Change to low severity
Sorry, comment 4 reproduced while steps in "steps to reproduce" not reproduced
Dave, can you take a look at the scenario when switching projects?
The following PR fixes the case where the user switches projects: https://github.com/openshift/origin-web-console/pull/2222
This does not reproduce again in a new project now, thanks for the PR. Verified on: OpenShift Master: v3.7.0-alpha.1+e610f2a-1003 Kubernetes Master: v1.7.6+a08f5eeb62