rubygem-staypuft: Public_api role assignment to network - need to add validation that the network has a gateway configured. Environment: openstack-foreman-installer-2.0.30-1.el6ost.noarch ruby193-rubygem-staypuft-0.4.6-1.el6ost.noarch rhel-osp-installer-0.4.5-1.el6ost.noarch openstack-puppet-modules-2014.1-24.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch Steps to reproduce: 1. Install rhel-osp-installer. 2. Create a deployment. 3. Create a subnet using "No existing DHCP" and don't specify GW on it. 4. Assign the Public Api role to this subnet. 5. Continue with the deployment normally. Results: Since the gateway is configured for the network where the public api role is assigned - this causes the installed host to have no default gateway. Expected results: The public_api role assignment to the network should be declined if the network doesn't have a gateway.
Checking the respective ifcfg file: GATEWAY="" DEFROUTE=yes
Can we make the effort and add the UI validation for A2. this is critical to stand up an operational network layout.
https://github.com/theforeman/staypuft/pull/358
Verified: openstack-puppet-modules-2014.1-24.el6ost.noarch rhel-osp-installer-0.4.5-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-foreman-installer-2.0.30-1.el6ost.noarch ruby193-rubygem-staypuft-0.4.8-1.el6ost.noarch There's a validation now that the network where the public_api role is assigned has a gateway.
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-2014-1800.html