Bug 1112179 - [rubygem-staypuft] Staypuft-installer not using correct DHCP gateway
Summary: [rubygem-staypuft] Staypuft-installer not using correct DHCP gateway
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhel-osp-installer
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 5.0 (RHEL 6)
Assignee: Marek Hulan
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-23 09:43 UTC by Mike Kolesnik
Modified: 2014-09-08 05:20 UTC (History)
5 users (show)

Fixed In Version: rhel-osp-installer-0.0.25-2.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-04 18:35:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1003 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2014-08-04 22:31:07 UTC

Description Mike Kolesnik 2014-06-23 09:43:38 UTC
Description of problem:
staypuft-installer is taking the host gateway as the DHCP gateway by default, while it should take the IP address of the selected interface.


Version-Release number of selected component (if applicable):
# rpm -qa | grep staypuft
foreman-installer-staypuft-0.0.20-1.el6ost.noarch
ruby193-rubygem-staypuft-0.1.4-1.el6ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Run staypuft-installer
2. Select the internal interface for provisioning
3.

Actual results:
The 'DHCP Gateway' is set to the 'Host Gateway' value.


Expected results:
The 'DHCP Gateway' should be set to the 'IP address' value.


Additional info:

The default behavior is:
# staypuft-installer 

Please select NIC on which you want Foreman provisioning enabled:
1. eth1
2. eth0
?  2
Networking setup:
       Network interface: 'eth0'
              IP address: '192.168.200.1'
            Network mask: '255.255.255.0'
         Network address: '192.168.200.0'
            Host Gateway: '10.35.7.254'
        DHCP range start: '192.168.200.2'
          DHCP range end: '192.168.200.254'
            DHCP Gateway: '10.35.7.254'
           DNS forwarder: '10.35.255.14'
                  Domain: 'staypuft.com'
             Foreman URL: 'https://slimer.staypuft.com'
Configure networking on this machine: y

Comment 1 Marek Hulan 2014-06-24 14:53:47 UTC
Fixed in 0.0.23

Comment 3 Omri Hochman 2014-07-01 17:08:47 UTC
Verified with rhel-osp-installer-0.0.25-5.el6ost.noarch

The default gateway is according the selected NIC - In this case eth1 IP is 192.168.0.1 and the DHCP Gateway is accordingly: 

Please select NIC on which you want Foreman provisioning enabled:
1. eth1
2. eth0
?  1
Networking setup:
       Network interface: 'eth1'
              IP address: '192.168.0.1'
            Network mask: '255.255.255.0'
         Network address: '192.168.0.0'
            Host Gateway: '10.8.31.254'
        DHCP range start: '192.168.0.2'
          DHCP range end: '192.168.0.254'
            DHCP Gateway: '192.168.0.1'
           DNS forwarder: '10.10.160.2'
                  Domain: 'lab.eng.rdu2.redhat.com'
             Foreman URL: 'https://staypuft.lab.eng.rdu2.redhat.com'
           NTP sync host: '0.rhel.pool.ntp.org'
Configure networking on this machine: ✓
Configure firewall on this machine: ✓

Comment 6 errata-xmlrpc 2014-08-04 18:35:00 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-2014-1003.html


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