Bug 1344799

Summary: ControlPlaneSubnetCidr value type is wrong in sample environment
Product: Red Hat OpenStack Reporter: Ben Nemec <bnemec>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: aschultz, mburns, rhel-osp-director-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-27 23:23:29 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:

Description Ben Nemec 2016-06-10 21:13:45 UTC
Description of problem: In environments/network-environment.yaml, there is a parameter that looks like:

ControlPlaneSubnetCidr: 24

This causes YAML to parse it as an integer, but in the templates we use this value in a string operation, which then fails.  The entry needs to be quoted to force it to a string type:

ControlPlaneSubnetCidr: '24'


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Deploy with the sample network-environment.yaml
2.
3.

Actual results:
Stack deploy fails with an error about using an int in a string operation.

Expected results:
Deploy succeeds

Additional info:
Fixed upstream in https://review.openstack.org/#/c/299664

Comment 2 Alex Schultz 2017-01-27 23:23:29 UTC

*** This bug has been marked as a duplicate of bug 1328149 ***