Bug 1039698 - Provisioning asks for installation nic when multiple nics are installed
Summary: Provisioning asks for installation nic when multiple nics are installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-foreman-installer
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 4.0
Assignee: Crag Wolfe
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks: 1040649
TreeView+ depends on / blocked
 
Reported: 2013-12-09 20:13 UTC by joherr
Modified: 2016-04-26 20:58 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-12-20 00:43:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

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


Note You need to log in before you can comment on or make changes to this bug.