Bug 1373411 - [atomic registry]Projects and their images are not automatically refreshed when select "All Projects" on Overview
Summary: [atomic registry]Projects and their images are not automatically refreshed wh...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Registry Console
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Martin Pitt
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-06 08:15 UTC by Yadan Pei
Modified: 2019-11-21 12:56 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-21 12:56:00 UTC
Target Upstream Version:


Attachments (Terms of Use)
OCP 3.6 registry console (41.68 KB, image/png)
2017-05-04 08:27 UTC, XiaochuanWang
no flags Details
Selecting_All_Projects_has_no_updated_result (230.79 KB, application/octet-stream)
2017-07-07 09:44 UTC, Xingxing Xia
no flags Details

Description Yadan Pei 2016-09-06 08:15:53 UTC
Description of problem:
Images pushed for all projects are not automatically refreshed when select "All Projects" on Overview

Version-Release number of selected component (if applicable):
openshift3/registry-console:3.3

How reproducible:
Always

Steps to Reproduce:
1.Login with user "user1" and create 2 projects "test1" and "test2"
2.Push some images to project "test1" using Docker commands on overview page
3.Push some images to project "test2" using Docker commands on overview page
4.Overview page has Images pushed recently part, there is a drop down list
5.All Projects, test1 and test2 are in the drop down list
6.Select project "test1" 
7.Select project "test2" 
8.Select "All Projects" 

Actual results:
6. Images pushed recently in project "test1" is shown correctly
7. Images pushed recently in project "test2" is shown correctly
8. Didn't show Images pushed for all projects, user have to manually refresh(F5) the page

Expected results:
8. Should show images pushed recently for all projects automatically

Additional info:

Comment 1 Martin Pitt 2017-01-25 14:33:26 UTC
I tried this with current cockpit 129 (on Fedora 25), and I can't seem to reproduce this. Both on the overview page (/kubernetes/registry) and on the images page (/kubernetes/registry#/images) I immediately see the pushed images from the command line, without any reloads, right after I ran "docker push".

Particularly from step 8, can you confirm that you mean the same page than me? See my screenshot: http://picpaste.de/output-PBiQjO2H.png

So either this got fixed in the past months, or I don't have the right reproduction steps? Thanks in advance!

Comment 2 Yadan Pei 2017-02-09 05:49:56 UTC
Hi, sorry for missing the needinfo request.

Now the cockpit package version in openshift3/registry-console:3.5 are still 126-1, once we got latest image including cockpit 133-1, I will check again to see if this is still reproduced, is this ok?

Comment 3 Peter 2017-05-02 15:08:30 UTC
I believe there is a newer version available now. Are you still able to reproduce?

Comment 4 XiaochuanWang 2017-05-04 08:27:40 UTC
Created attachment 1276179 [details]
OCP 3.6 registry console

Comment 5 XiaochuanWang 2017-05-04 08:29:40 UTC
No refreshing for the console, only selecting "all project" can display images well in latest OCP: Openshift v3.6.63

Cockpit Version 135.
Licensed under: GNU LGPL version 2.1 
Please refer to screenshot. (attachment 1276179 [details])

Feel free to mark it ON_QA.

Comment 6 Peter 2017-05-04 13:15:37 UTC
Sorry if i'm misunderstanding here. The original bug report says images appear correctly when a project (ei test1, or test2) is selected but do not appear when 'All projects" is selected. 

Now are you saying that images appear correctly when 'All projects' is selected but not when a project (ei test1) is selected?

So the bug has reversed? Or am I misunderstanding?

Comment 7 Xingxing Xia 2017-07-07 09:44:36 UTC
Created attachment 1295240 [details]
Selecting_All_Projects_has_no_updated_result

(In reply to XiaochuanWang from comment #5)
> Feel free to mark it ON_QA.

Not sure how it was good.
Today conducted in latest registry console (cockpit 141-3), issue is still reproduced. See the attached video record

Comment 8 Peter 2017-07-07 20:38:51 UTC
I still cannot reproduce. Do you have a yaml or json dump of the oc objects that I can use to reproduce? Does the permissions of the user you log in with make a difference?

Comment 12 Stephen Cuppett 2019-11-21 12:56:00 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking un-triaged bugs CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Version to the appropriate version where reproduced.

[1]: https://access.redhat.com/support/policy/updates/openshift


Note You need to log in before you can comment on or make changes to this bug.