<div dir="ltr">Hi,<div><br></div><div>With my nic configs I get the following error</div><div><br></div><div><div>2018-07-26 16:42:49Z [overcloud.ComputeGammaV3.0.NetworkConfig]: CREATE_FAILED resources.NetworkConfig: Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:49Z [overcloud.ComputeGammaV3.0]: CREATE_FAILED Resource CREATE failed: resources.NetworkConfig: Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:50Z [overcloud.ComputeGammaV3.0]: CREATE_FAILED resources.NetworkConfig: resources[0].Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:50Z [overcloud.ComputeGammaV3]: UPDATE_FAILED Resource CREATE failed: resources.NetworkConfig: resources[0].Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:51Z [overcloud.ComputeGammaV3]: CREATE_FAILED resources.ComputeGammaV3: Resource CREATE failed: resources.NetworkConfig: resources[0].Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:51Z [overcloud]: CREATE_FAILED Resource CREATE failed: resources.ComputeGammaV3: Resource CREATE failed: resources.NetworkConfig: resources[0].Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>2018-07-26 16:42:51Z [overcloud.ComputeGammaV3.0.NetIpMap]: CREATE_COMPLETE state changed</div><div><br></div><div> Stack overcloud CREATE_FAILED </div><div><br></div><div>overcloud.ComputeGammaV3.0.NetworkConfig:</div><div> resource_type: OS::TripleO::ComputeGammaV3::Net::SoftwareConfig</div><div> physical_resource_id: </div><div> status: CREATE_FAILED</div><div> status_reason: |</div><div> resources.NetworkConfig: Parameter 'InternalApiNetworkVlanID' is invalid: could not convert string to float: </div><div>Heat Stack create failed.</div><div>Heat Stack create failed.</div><div>(undercloud) [stack@staging-director ~]$ packet_write_wait: Connection to 192.168.50.30 port 22: Broken pipe</div><div><br></div></div><div><br></div><div>The parameter is defined as following in nic config file</div><div><br></div><div><div> InternalApiNetworkVlanID:</div><div> default: ''</div><div> description: Vlan ID for the internal_api network traffic.</div><div> type: number</div></div><div><br></div><div>I worked fine when I was using RHOSP11(Ocata)</div><div><br></div><div>The custom_network_data.yaml defines the internal network as following</div><div><br></div><div><div>- name: InternalApi</div><div> name_lower: internal_api</div><div> vip: true</div><div> vlan: 711</div><div> ip_subnet: '<a href="http://172.16.2.0/24">172.16.2.0/24</a>'</div><div> allocation_pools: [{'start': '172.16.2.4', 'end': '172.16.2.250'}]</div></div><div><br></div><div>Samuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 27, 2018 at 7:41 PM, James Slagle <span dir="ltr"><<a href="mailto:james.slagle@gmail.com" target="_blank">james.slagle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 26, 2018 at 4:58 AM, Samuel Monderer<br>
<<a href="mailto:smonderer@vasonanetworks.com">smonderer@vasonanetworks.com</a>> wrote:<br>
> Hi James,<br>
><br>
> I understand the network-environment.yaml will also be generated.<br>
> What do you mean by rendered path? Will it be<br>
> "usr/share/openstack-tripleo-<wbr>heat-templates/network/ports/"<wbr>?<br>
<br>
</span>Yes, the rendered path is the path that the jinja2 templating process creates.<br>
<span class=""><br>
> By the way I didn't find any other place in my templates where I refer to<br>
> these files?<br>
> What about custom nic configs is there also a jinja2 process to create them?<br>
<br>
</span>No. custom nic configs are by definition, custom to the environment<br>
you are deploying. Only you know how to properly define what newtork<br>
configurations needs applying.<br>
<br>
Our sample nic configs are generated from jinja2 now. For example:<br>
tripleo-heat-templates/<wbr>network/config/single-nic-<wbr>vlans/role.role.j2.yaml<br>
<br>
If you wanted to follow that pattern such that your custom nic config<br>
templates were generated, you could do that<br>
</blockquote></div><br></div>