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.
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.
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
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
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.