Bug 1388448

Summary: [userinterface_public_691] When config file is wrong, should give prompt in create-secret page instead of being dumb
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
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: 2016-12-09 21:50:26 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:

Description Xingxing Xia 2016-10-25 11:44:28 UTC
[userinterface_public_691] When config file is wrong, should give prompt in create-secret page instead of being dumb

Origin/Management Console
P:M
S:L

Description of problem:
In create-secret page, when config file is wrong, should give prompt instead of being dumb after clicking "Create"

Version-Release number of selected component (if applicable):
origin-web-console commit 07cceeb, vendored upon openshift v1.4.0-alpha.0+8db5209 

How reproducible:
Always

Steps to Reproduce:
1. Login to web console, create project
2. Go to "Resources" --> "Secrets" --> Create secret.
Select Secret Type "Image Secret", input Secret Name "imagesecret1", select Authetication Type "Configuration file", upload a file that is not dockercfg format
3. Click "Create"

Actual results:
3. No response and no prompt. (When the file is dockercfg format, can "Create")

Expected results:
3. Should prompt the configuration file must use correct format

Additional info:

Comment 1 openshift-github-bot 2016-10-27 17:01:31 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/3e7628776a56b6ca8b7c1c2515815edcf1fbe466
Bug 1388448 - Show warning when docker config file is not in JSON format

Comment 2 Xingxing Xia 2016-11-01 04:07:24 UTC
Following with above steps, tested with v1.4.0-alpha.0+f69b28e-909 (vendored upon origin-web-console commit 34067a1). Now it will prompt the wrong config file is not in JSON format