Bug 1535917

Summary: Cannot deploy image and create a new project at the same time
Product: OpenShift Container Platform Reporter: Eduardo Minguez <eminguez>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: aos-bugs, jokerman, mmccomas, spadgett, yapei
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Users were unsure why the Image Name option was not selectable in the Deploy Image dialog when creating a new project at the same time. Consequence: The option is not possible when creating a project at the same time. The help message was not sufficiently visible to make the user aware. Fix: The help message telling the user they can only use the Image Name option for an existing project was made more obvious. Result: The user will see warning color help text next to the Image Name option if they have not selected an existing project. This message tells them the option is only available for existing projects.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-28 14:20:40 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:
Attachments:
Description Flags
screenshot none

Description Eduardo Minguez 2018-01-18 09:21:49 UTC
Created attachment 1382787 [details]
screenshot

Description of problem: If you try to deploy an image using the webgui without creating a project, the "Image Name" selection cannot be chosen.


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


How reproducible:
Deploy OCP v3.7.14 and try to deploy an image without being in a project.

Steps to Reproduce:
1. Login in ocp console
2. Press "Deploy image" without being created a project
3. Fill project name, description, etc and try to select "Image Name"

Actual results:
"Image Name" cannot be selected


Expected results:
"Image Name" can be selected


Additional info:
Freshly installed OCP environment.
If you create a project then everything works.

Comment 1 Jessica Forrester 2018-01-18 13:41:20 UTC
This is actually a known limitation of the APIs needed to do an image search and there is a help message there that says "Image search is only available for existing projects."

However that message is too easy to overlook. Considering ways to make that more obvious.

Comment 2 Jessica Forrester 2018-01-18 13:44:22 UTC
Major problem is that the message telling you this is actually scrolled out of the main window of the dialog.

Comment 3 Eduardo Minguez 2018-01-18 14:08:14 UTC
Maybe the option can be hidden until the project has been created to avoid confusion.

Comment 4 Jessica Forrester 2018-01-18 15:20:57 UTC
The project is not created until you pick everything you want to do and hit create. For right now we are making the message much more obvious. Screenshot in the PR.

https://github.com/openshift/origin-web-console/pull/2681

Comment 5 openshift-github-bot 2018-01-18 16:01:41 UTC
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/3db7b59673be2c1d13ab0942911d2a25ea0bdfe4
Bug 1535917 - help message not obvious in deploy image with create new project

https://github.com/openshift/origin-web-console/commit/befc4558b98f65d9a8f4530f9e14cafeb372fad1
Merge pull request #2681 from jwforres/image-search-warning

Automatic merge from submit-queue.

Bug 1535917 - help message not obvious in deploy image with create new project

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535917

Comment 7 Yadan Pei 2018-01-23 02:26:18 UTC
Now we have a highlighted warning message "Image search is only available for existing projects." shown when user want to create project when deploying image.

I think message is clear, move to VERIFIED

Comment 10 errata-xmlrpc 2018-03-28 14:20:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0489