Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1415602

Summary: Creating resources through Image and Deploy Image don't stay on Next Steps page
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: aos-bugs, jforrest, jokerman, mmccomas, spadgett, tdawson
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: 2017-03-08 13:21:08 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 Yadan Pei 2017-01-23 08:51:28 UTC
Description of problem:
After Creating resources through Image and Deploy Image, before content on Next Steps page completely loaded, it automatically redirects to project overview

Version-Release number of selected component (if applicable):
v3.5.0.7+390ef18

How reproducible:
Always

Steps to Reproduce:
1.Login to web console and create a project
2.Create app from image
Add to Project -> Browse Catalog -> Select php:7.0 image, set Name and Git Repository URL -> Create
3.Create resources from template
Add to Project -> Import YAML/JSON -> Copy and Paste content from https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json -> Create -> Process the template -> Continue -> Create
4.Create resource from Deploy Image
Add to Project -> Deploy Image -> Select Image Stream tag as openshift/perl:latest -> Create

Actual results:
2.After clicking Create button, it goes to and stays on Next Steps page with some instructions printed, it will not go to project overview page until user click "Go to overview" link
3-4. After clicking Create button, it goes to Next Steps page, but before all info on Next Steps page loaded, it redirects to project overview automatically

Expected results:
3-4. After clicking Create button, should stay on Next Steps page, Next Steps page will show creation result and some help info accordingly. It shouldn't automatically redirect to project overview page

Additional info:

Comment 1 openshift-github-bot 2017-01-23 20:56:30 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/bcff353ac417bb174f34faf2b19d9320d38260d5
Bug 1415602: Fix next steps for deploy image

Don't try to calculate the previous URL for breadcrumbs. Instead, use
history back, which simplifies the next steps controller code and makes
it work from any page (including deploy image). This also fixes a bug
where the display name for the image stream was not preserved.

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

Comment 2 Jessica Forrester 2017-01-23 20:59:05 UTC
Based on the changes to fix this bug you should double check coming into next steps from each of the Add to Project tabs, and from both a builder image workflow and a template workflow.

Comment 3 Troy Dawson 2017-01-27 17:42:00 UTC
This has been merged into ocp and is in OCP v3.5.0.10 or newer.

Comment 4 Yadan Pei 2017-02-03 06:19:46 UTC
Checked against v3.5.0.14+20b49d0

Now when creating resources from Image & Template & Deploy Image, after clicking Create button, it will stay on Next Steps page with instructions printed, it will not go to Overview page until user click "Continue to Overview"


Move to VERIFIED