Description of problem: Events tab of StatefulSet page does not show existent event Version-Release number of selected component (if applicable): openshift v1.5.0-alpha.2+2543fed-29 How reproducible: Always Steps to Reproduce: 1. Create StatefulSet with steps in https://bugzilla.redhat.com/show_bug.cgi?id=1414709#c0 2. Check events in CLI $ oc describe statefulset hello 3. On web console, click Applications --> Stateful Sets --> hello --> Events tab, check events 4. On web console, click Monitoring --> View Details (at upper right), check events of Stateful Set Actual results: 2. It shows events: oc describe statefulset hello Name: hello Namespace: xxia-proj Image(s): aosqe/hello-openshift ... Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed No volumes. Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 34s 34s 1 {statefulset } Normal SuccessfulCreate pet: hello-0 3. It does not show event, just displaying "No events to show" 4. There is Stateful Set event same as CLI in step 2: 1:47:31 PM hello Stateful Set Normal Successful create pet: hello-0 Expected results: 3. Events tab should show event Additional info: ** By the way, click Monitoring page, there is no Stateful Set item. Is it missed or intended? **
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/a7da50213dd4e9e1e70f4e67e7207b087c8a03ef Bug 1415058 - fix events on stateful sets
Checked in openshift v1.5.0-alpha.2+6e9d68d-91. Now Events tab of StatefulSet page works correctly, it can display/filter/sorts correctly for statefulset events: 1:55:17 PM Normal Successful create pet: hello-0 1:55:22 PM Normal Successful create pet: hello-1 1:58:46 PM Normal Successful create pet: hello-2 2:37:58 PM Normal Successful delete pet: hello-2 2:37:58 PM Normal Successful delete pet: hello-1 > Additional info: > ** By the way, click Monitoring page, there is no Stateful Set item. Is it missed or intended? ** Monitoring page still has no statefulset. What's should be expected about statefulset in this page?
We had a PR for the monitoring page that was supposed to merge on friday but it flaked. It is merged now.
Checked against openshift v1.5.0-alpha.2+b61bed3-113 1. Create statefulset 2. oc edit statefulset //change replicas to 3 3. oc edit statefulset //then change replicas back to 1 4. On web console, click Applications --> Stateful Sets --> hello --> Events tab - Events for StatefulSets are shown correctly on Events tab 5. On web console, click Monitoring --> View Details - Events for StatefulSets are also shown correctly on Events page browse/events Move to VERIFIED
Yup merged.