Bug 1039698

Summary: Provisioning asks for installation nic when multiple nics are installed
Product: Red Hat OpenStack Reporter: joherr
Component: openstack-foreman-installerAssignee: Crag Wolfe <cwolfe>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0CC: breeler, cwolfe, hateya, jguiditt, mlopes, morazi, rhos-maint, yeylon
Target Milestone: rcKeywords: OtherQA
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-foreman-installer-0.0.25-1.el6ost Doc Type: Bug Fix
Doc Text:
Previously, 'IPAPPEND 2' was not included in the default OpenStack PXE Template. As a result, 'IPAPPEND 2' was not present in the PXE boot menu presented by Foreman. With this update, 'IPAPPEND 2' has been added to the OpenStack PXE Template, and users are no longer prompted to specify the installation NIC.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-20 00:43:44 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:    
Bug Blocks: 1040649    

Description joherr 2013-12-09 20:13:54 UTC
Description of problem:
During provisioning of a node that contains multiple nics, the installer prompts for the nic to use for installation.

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


How reproducible:
Everytime


Steps to Reproduce:
1. Configure Foreman to provision.
2. Add a host and select build.
3. Boot host.

Actual results:
Prompted for installation nic


Additional info:
The OpenStack PXE Template appends ksdevice=bootif and kssendmac to the initrd line.
  append initrd=<%= @initrd %> ks=<%= foreman_url("provision")%> ksdevice=bootif network kssendmac

But it needs "ipappend 2" passed in the template as well.

Adding the ipappend 2 line to the template as follows fixes the issue and causes the installation to use the same nic as it was PXE booted on.
  default linux
  label linux
  kernel <%= @kernel %>
  append initrd=<%= @initrd %> ks=<%= foreman_url("provision")%> ksdevice=bootif network kssendmac
  ipappend 2

The "ipappend 2" should be part of the default templates when created.

Comment 6 errata-xmlrpc 2013-12-20 00:43:44 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.

http://rhn.redhat.com/errata/RHEA-2013-1859.html