Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1108906

Summary: Need for way to handle system network configuration for staypuft installer
Product: Red Hat OpenStack Reporter: Dan Radez <dradez>
Component: rhel-osp-installerAssignee: Dan Radez <dradez>
Status: CLOSED ERRATA QA Contact: Toure Dunnon <tdunnon>
Severity: low Docs Contact:
Priority: medium    
Version: 5.0 (RHEL 6)CC: aberezin, ajeain, dradez, mburns, mhulan, rhos-maint, sclewis
Target Milestone: gaKeywords: Reopened
Target Release: Installer   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: foreman-installer-staypuft-0.0.20.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-21 18:04:28 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:

Description Dan Radez 2014-06-12 19:43:11 UTC
Description of problem:
When the livecd is booted there's not a way to change networking information from the static values provided to custom values without doing manual network configuration. We're looking into using the staypuft installer to have an option to apply the networking information collected during install to the system that it will be installed on. currently this information only configures foreman and not linux networking.


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


How reproducible:
Needed Feature

Steps to Reproduce:
1. Boot the livecd in an environment where 192.168.223.0/24 is not applicable
2. need to reconfigure the networking exists
3.

Actual results:


Expected results:
boot livecd, prompted for networking install, select option to reconfigure system networking to match what's collected that the prompts, continue installation.

Additional info:

Comment 1 Mike Burns 2014-06-13 13:12:24 UTC
The final option in the first part of the installer is whether or not to setup networking on the host.  This should fulfill this requirement.  Please reopen if this does not work as expected

Comment 2 Dan Radez 2014-06-16 15:02:31 UTC
This does not work as expected.
I updated the networking information using the UI and started the install. The host's ip address did not get updated and the installation failed.

the dhcp config seems to be generated partially from the passed network info and partially from the host's networking. DHCP failed to start because the dhcpd.conf file had a mix of two different sets of networking information in it.

If the system networking information is going to be updated it needs to happen before the rest of the installation proceeds so that the host can be contacted on the passed networking information.

Comment 3 Dan Radez 2014-06-16 15:35:26 UTC
I've run this again and watch the results. The Host's ip does get set, later than I initially expected. Though dhcp does not start properly and the record for the host /etc/hosts does not get set properly

Comment 4 Dan Radez 2014-06-16 18:23:57 UTC
The issue here is that the ipaddress for the dhcp template is being populated by a fact. Either the network hasn't restarted before dhcp is updated or the facts are cached.

Comment 5 Dan Radez 2014-06-16 19:33:11 UTC
This also appears to have put the wrong A record in bind.

Comment 6 Marek Hulan 2014-06-17 15:09:32 UTC
Fixed in upstream 0.0.19

Comment 7 Arthur Berezin 2014-06-29 20:15:20 UTC
We need a mechanism to preseed networking configuration before Staypuft is run.

Comment 17 errata-xmlrpc 2014-08-21 18:04:28 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/RHBA-2014-1090.html