Bug 1183785

Summary: rubygem-staypuft: Nova deployment, the default gateway resides on the wrong network on computes. Can't reach the floating IP of the instances because of that.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: rubygem-staypuftAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: brad, dmacpher, jrist, mburns, sgordon, yeylon
Target Milestone: ga   
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ruby193-rubygem-staypuft-0.5.14-1.el7ost Doc Type: Bug Fix
Doc Text:
The logic for the default gateway used the Public API if available and otherwise fell back to the PXE/Provisioning network. This caused Compute nodes in Nova networking to require the external network for the default gateway. This fix sets the the default gateway to the external network interface for Nova networking deployments. This provides a successful connection to the default gateway.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 15:19:58 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:
Bug Depends On:    
Bug Blocks: 1177026    

Description Alexander Chuzhoy 2015-01-19 19:52:01 UTC
rubygem-staypuft:  Nova deployment, the default gateway resides on the wrong network on computes. Can't reach the floating IP of the instances because of that.


Environment:
rhel-osp-installer-client-0.5.5-2.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
openstack-puppet-modules-2014.2.8-1.el7ost.noarch
openstack-foreman-installer-3.0.10-2.el7ost.noarch
rhel-osp-installer-0.5.5-2.el7ost.noarch
ruby193-rubygem-staypuft-0.5.12-1.el7ost.noarch


Steps to reproduce:
1. install rhel-osp-installer.
2. Create/run Nova deployment with flat networking type (1 controller+ 1 compute)
3. Launch an instance on the installed RHOS.


Result:
Unable to reach the assigned floating IP.
The default gateway resides on the provision network.


Expected result:
The default gateway should reside on the external network on compute nodes in Nova deployment.

Comment 2 Alexander Chuzhoy 2015-01-19 19:54:03 UTC
Workaround:
On the compute node change the default gateway to be on the external network.

Comment 4 Brad P. Crochet 2015-01-19 20:57:34 UTC
PR available: https://github.com/theforeman/staypuft/pull/407

Comment 5 Jason E. Rist 2015-01-21 15:58:43 UTC
Merged upstream

Comment 7 Mike Burns 2015-01-26 22:27:26 UTC
*** Bug 1160461 has been marked as a duplicate of this bug. ***

Comment 8 Alexander Chuzhoy 2015-01-26 22:28:08 UTC
Verified:
Environment:
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
openstack-foreman-installer-3.0.11-1.el7ost.noarch
ruby193-rubygem-staypuft-0.5.15-1.el7ost.noarch
rhel-osp-installer-client-0.5.5-2.el7ost.noarch
openstack-puppet-modules-2014.2.8-2.el7ost.noarch
rhel-osp-installer-0.5.5-2.el7ost.noarch




The reported issue was resolved.

Comment 10 errata-xmlrpc 2015-02-09 15:19:58 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.

https://rhn.redhat.com/errata/RHBA-2015-0156.html