Bug 1321549

Summary: selecting template while creating compute profile should automatically populate network and storage
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: Compute ResourcesAssignee: Ivan Necas <inecas>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms, mmccune, ohadlevy
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14572
Whiteboard:
Fixed In Version: foreman-1.11.0.13-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:29:15 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: 1261663    

Description Kedar Bidarkar 2016-03-28 10:58:28 UTC
Description of problem:
selecting template while creating compute profile should automatically populate network and storage info associated to it.



Version-Release number of selected component (if applicable):
Sat62-snap5

How reproducible:


Steps to Reproduce:
1. Add RHEV compute resource
2. Update or create a compute profile, by selecting a template.
3.

Actual results:
selecting template while creating compute profile does not automatically populate network and storage info associated to it.

the UI shows up a spinner continuously. 

Expected results:
selecting template while creating compute profile should automatically populate network and storage info associated to it.

Additional info:

Comment 1 Kedar Bidarkar 2016-03-28 10:59:37 UTC
This works with Satellite6.1.8, so this is a regression with Satellite6.2

Comment 3 Kedar Bidarkar 2016-03-28 11:17:03 UTC
If "blank" Template is selected, we still cannot add "Network Interface" as it neither automatically populates nor do we have a button "Add Interface".

Also note that a image was also created and the association made, as seen from the attachment.

Comment 5 Ohad Levy 2016-03-28 14:44:15 UTC
it looks like part of this issue is already resolved at https://github.com/theforeman/foreman/commit/26eeda8011cf1c16be9446625b201c36ebe70751.

Comment 7 Kedar Bidarkar 2016-04-07 08:20:41 UTC
TESTED with sat62-snap6 

I still face the same issue.

Comment 8 Kedar Bidarkar 2016-04-07 08:21:29 UTC
small correction, TESTED With sat62-snap6.2

Comment 9 Ivan Necas 2016-04-11 10:44:31 UTC
Created redmine issue http://projects.theforeman.org/issues/14572 from this bug

Comment 10 Ivan Necas 2016-04-11 10:59:12 UTC
The original patch was not connected to the original issue, so no surprise it didn't work. I opened PRs to fix two independent issues that caused this behavior not not work:

https://github.com/theforeman/foreman/pull/3411
https://github.com/theforeman/foreman/pull/3412

Comment 11 Ivan Necas 2016-04-12 07:49:56 UTC
Both PRs merged: not for cherry-picker: we need both PRs to fix this BZ

Comment 12 Kedar Bidarkar 2016-04-15 16:45:42 UTC
VERIFIED with sat62-snap8.1

selecting template while creating compute profile now automatically populates network and storage info associated to it.

Comment 14 errata-xmlrpc 2016-07-27 09:29:15 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-2016:1501