Rubygem-Staypuft: Nova+vlan deployment: The number of vlan range against "Fixed IP range for tenant networks" isn't validated although may fail a deployment. Environment: rhel-osp-installer-0.3.6-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-foreman-installer-2.0.26-1.el6ost.noarch openstack-puppet-modules-2014.1-21.8.el6ost.noarch Steps to reproduce: 1. install rhel-osp-installer. 2. Configure an HANova deployment with Vlan tenant network type. 3. In the Nova service configuration: a. Set the "vlan range" to 10:15 b. Set the "Fixed IP range for tenant networks" to 192.168.100.96/28 c. Configure a desired "Floating IP range for external network" per need. 4. Start a deployment. Result: The deployment will fail installing the compute nodes. There will be a puppet error like similar: change from absent to present failed: Execution of '/usr/bin/nova-manage network create novanetwork 192.168.100.96/28 6 --vlan_start 10' returned 1: Command failed, please check log for more info Expected result: The deployment should complete successfully with the configured values, so the values need to be validated.
Fixed in https://github.com/theforeman/staypuft/pull/320
Verified: rhel-osp-installer-0.4.1-2.el6ost.noarch ruby193-rubygem-staypuft-0.4.0-2.el6ost.noarch The "Fixed IP range for tenant networks" is verified now (to allow at least 4 IP address per subnet: 2 usable + network address + broadcast). In case the input is wrong, the user is notified. For example: Fixed range is too small. Specify CIDR for network size /29 or larger Corrected the range according to the suggestion and had a successful deployment. Submitted BZ#1149813 to slightly extend the validation message.
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