Bug 1261663

Summary: New VM host does not get network and storage from template
Product: Red Hat Satellite Reporter: Jacob Hunt <jhunt>
Component: Compute ResourcesAssignee: Ohad Levy <ohadlevy>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, cwelton, ehelms, jswensso, kbidarka, mhulan, sbream
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
URL: http://projects.theforeman.org/issues/12551
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-26 12:25:24 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:
Bug Depends On: 1321549    
Bug Blocks: 1287901    
Description Flags
snap of the interfaces tab none

Description Jacob Hunt 2015-09-09 22:27:35 UTC
Description of problem:

If I create a new host and select the host group before setting deploy on -> RHEV and selecting a compute profile (bare metal is default) the template network and storage options do not get attached to the vm on the virtual machine tab. This leaves the VM with no network or storage when created in RHEV.

If I select deploy on -> RHEV and a compute profile and then change the host group the VM is deployed with the expected settings and configuration.

Comment 2 Bryan Kearney 2015-11-20 16:55:15 UTC
Created redmine issue http://projects.theforeman.org/issues/12551 from this bug

Comment 5 Kedar Bidarkar 2016-04-15 17:07:24 UTC
I feel with the new Interfaces tab, this is broken for Network part, but does show up storage from the template.

Also on the Interfaces tab, it does not automatically provide
a) auto ip suggestion
b) automatically set the network info (subnet/vlan )from template

TESTED with sat62-snap8.1

Comment 6 Kedar Bidarkar 2016-04-15 17:13:26 UTC
Created attachment 1147740 [details]
snap of the interfaces tab

no-auto IP suggestion and no RHEV name and network inherited from profile.

Auto IP suggestion has nothing to do with the compute profile  associated but still it does now show up.

Comment 10 Marek Hulan 2016-05-12 07:33:36 UTC
During testing this I found out that we display wrong interface type for RHEV interfaces. I've sent a fix and created a BZ to track this - https://bugzilla.redhat.com/show_bug.cgi?id=1335393

Comment 13 Kedar Bidarkar 2016-10-13 17:11:18 UTC
VERIFIED With sat6.2.3-SNAP2.0

Now when we create a New VM host, we do get Network and storage info from template correctly.

Comment 15 errata-xmlrpc 2016-10-26 12:25:24 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.