Bug 1373455

Summary: [atomic registry] 'Images' page does not show images stably
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Registry ConsoleAssignee: Martin Pitt <mpitt>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: high    
Version: 3.3.0CC: aos-bugs, aweiteka, bleanhar, dperpeet, imcleod, jforrest, jokerman, mmccomas, pvolpe, pweil, stefw, yanpzhan
Target Milestone: ---   
Target Release: 3.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-04 12:28:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Images page
none
Images page after refreshed none

Description Xingxing Xia 2016-09-06 10:36:25 UTC
Description of problem:
'Images' page does not show images stably

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

How reproducible:
Always

Steps to Reproduce:
1. Login to registry web console, create new project
2. Click nav "Images" --> "New image stream", input name "abc", choose "Sync all tags from remote image repository", in "Pull from" field input docker.io/starxia/hello-openshift, then click "Create"
3. Repeat step 2 again, but this time input name "def"
4. Check "Images" under the current project name
1> Refresh
2> Refresh again

Actual results:
4. The "Images" page does not always show out all tags in imagestreams "abc" and "def", see attachment

Expected results:
4. The "Images" page should always stably show out tags for imagestreams "abc" and "def"

Additional info:

Comment 1 Xingxing Xia 2016-09-06 10:41:17 UTC
Created attachment 1198162 [details]
Images page

Comment 2 Xingxing Xia 2016-09-06 10:41:49 UTC
Created attachment 1198164 [details]
Images page after refreshed

Comment 3 Aaron Weitekamp 2016-09-06 13:29:00 UTC
I was able to reproduce this issue. It appears this is a bit of an edge case where the same remote image is imported twice. It occurs when the UI is displaying the imagestreams in the same view. If the image is in separate projects a user would see this behavior only when viewing "All Projects".

Comment 4 Yanping Zhang 2016-11-10 03:37:16 UTC
openshift3/registry-console:3.3-4
Tested on above new registry-console version, the bug is reproduced,  even when the imagestream is imported one time from remote to a project, there is no imagestream in other project, images don't show stably on images page when switch between projects.

Comment 5 Yanping Zhang 2016-11-10 03:41:01 UTC
When delete one image from imagestream, the rest images sometimes are not shown stably.

Comment 6 Stef Walter 2017-01-19 08:12:29 UTC
Dominik will be helping reassign these to others.

Comment 8 Xingxing Xia 2017-11-13 09:25:42 UTC
In OCP 3.7.7 cockpit 155 registry console, the issue does not happen. When refreshing, the "Images" page can be shown stably, it always stably show the imagestreams followed by tags in the same line, with tabs (such as "Metadata") collapsed.
Please move to ON_QA, thanks

Comment 9 Martin Pitt 2018-04-04 12:28:30 UTC
As this was verified fixed in 3.7.7, I'm closing this bug now.