Bug 1190570

Summary: From discovered_host page, click on provision -> cancel leads to 'Host Not found'
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Discovery PluginAssignee: orabin
Status: CLOSED WONTFIX QA Contact: Sachin Ghai <sghai>
Severity: low Docs Contact:
Priority: medium    
Version: 6.1.0CC: bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9083
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-07 18:24:27 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:
Bug Depends On:    
Bug Blocks: 1193977, 1225001    
Attachments:
Description Flags
Clicking on 'cancel' leads to Host Not found page on webUI. However it should lead to 'discovered_host' page none

Description Sachin Ghai 2015-02-09 07:33:38 UTC
Created attachment 989551 [details]
Clicking on 'cancel' leads to Host Not found page on webUI. However it should lead to 'discovered_host' page

Description of problem:

From discovered host page, when you select a discovered host and click on 'provision', the new host page will open-up. But when you cancel the form, UI raises 'Host Not Found'

Firebug raises error: "NetworkError: 404 Not Found - https://dhcp201-137.englab.pnq.redhat.com/hosts/mac525400f460d0"

production.log raises:

--
Processing by HostsController#show as HTML
Parameters: {"id"=>"mac5254008c87f6"}
Rendered common/404.html.erb within layouts/application (2.4ms)
Rendered layouts/base.html.erb (3.1ms)
Completed 404 Not Found in 50ms (Views: 8.8ms | ActiveRecord: 5.9ms)

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150205.0
Sat6.1 Beta snap1 compose3


How reproducible:
always

Steps to Reproduce:
1. discovered a host
2. click on provision button,
3. step2 will open-up the edit host page,
4. click on 'cancel'.


Actual results:
Clicking on 'cancel' leads to Host Not found page on webUI. 

Expected results:
should show the discovered_host page.


Additional info:

Comment 1 Sachin Ghai 2015-02-09 07:34:27 UTC
upstream issue filed: http://projects.theforeman.org/issues/9083

Comment 3 Bryan Kearney 2015-02-23 13:04:59 UTC
Upstream bug assigned to orabin

Comment 4 Bryan Kearney 2015-02-23 13:05:00 UTC
Upstream bug assigned to orabin

Comment 7 Bryan Kearney 2015-08-25 18:33:32 UTC
Upstream bug component is Discovery Plugin

Comment 8 Bryan Kearney 2017-02-07 18:24:27 UTC
I do not see this bug being addressed in the near future. There is an upstream issue created, and we will ship it as soon as it is released. However, we will not be tracking this downstream.