puppet-neutron: $overlay_ip_version should be converted to string for 'in' operator

Bug #1691502 reported by Feng Pan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Feng Pan

Bug Description

In neutron::plugins::ml2 class, if parameter overlay_ip_version is passed in through hiera with an integer value (4 or 6), we see the following error:

    Error: '6' from left operand of 'in' expression is not a string at /etc/puppet/modules/neutron/manifests/plugins/ml2.pp:176 on node overcloud-controller-0.opnfvlf.org

The variable overlay_ip_version should be converted to string in the following line for the 'in' operator:
 if !is_service_default($overlay_ip_version) and !($overlay_ip_version in [4, 6]) {

Tags: puppet
Revision history for this message
Feng Pan (fpan-c) wrote :
Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-neutron 11.1.0

This issue was fixed in the openstack/puppet-neutron 11.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.