Bug 1563573

Summary: [trello XzkI9of3] 'Deploy Image' page uses 'Docker'
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: MasterAssignee: Stefan Schimanski <sttts>
Status: CLOSED WONTFIX QA Contact: Wang Haoran <haowang>
Severity: low Docs Contact:
Priority: medium    
Version: 3.10.0CC: aos-bugs, jokerman, mmccomas, spadgett
Target Milestone: ---   
Target Release: 4.3.0   
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: 2020-05-05 14:58:06 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:
Embargoed:

Description Xingxing Xia 2018-04-04 08:26:14 UTC
Description of problem:
'Deploy Image' page uses 'Docker' and 'Learn More' links to Origin doc

Version-Release number of selected component (if applicable):
v3.10.0-0.15.0

How reproducible:
Always

Steps to Reproduce:
1. Create project. Login to web console --> 'Deploy Image' --> Beneath 'Image Name' input docker-registry.default.svc:5000/another-proj/ruby-ex:latest --> Search
2. Check the 'Learn More' link beneath 'Image Name'

Actual results:
1. Info tells 'You may not have access to the Docker image ...'
2. It links to Origin doc https://docs.openshift.org/latest/dev_guide/managing_images.html#using-image-pull-secrets


Expected results:
1. Avoid using 'Docker'
2. Links to OCP doc

Additional info:

Comment 1 Steve Goodwin 2018-04-04 20:05:08 UTC
note "You may not have access to the Docker image ..." is returned from the server.

Comment 2 Steve Goodwin 2018-04-04 20:16:56 UTC
We will need to change the message the API returns.

Comment 3 Samuel Padgett 2018-04-05 16:04:18 UTC
The "Learn More" link pointing to origin docs is already tracked by bug 1559735. You most likely don't have the fix yet (PR https://github.com/openshift/origin-web-console/pull/2918).

Comment 4 Samuel Padgett 2018-04-05 16:12:51 UTC
Changing the component to master so that the imagestreamimports API error message can be updated. The web console is making this request:

POST /apis/image.openshift.io/v1/namespaces/test/imagestreamimports

{
   "kind":"ImageStreamImport",
   "apiVersion":"image.openshift.io/v1",
   "metadata":{
      "name":"newapp",
      "namespace":"test"
   },
   "spec":{
      "import":false,
      "images":[
         {
            "from":{
               "kind":"DockerImage",
               "name":"docker-registry.default.svc:5000/another-proj/ruby-ex:latest"
            }
         }
      ]
   },
   "status":{

   }
}