Bad test for tunnel_types in OVS agent manifest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-neutron |
Fix Released
|
Undecided
|
Mark T. Voelker | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When VXLAN support was added to the ovs agent module, a tunnel_types parameter was added to the class and defaulted to an empty array:
https:/
Later in the code, however, there's an if loop with an improper test:
https:/
If the default value (an empty array) is set, the if loop executes since the "if $tunnel_types" test passes for an empty array. This can cause the /etc/neutron/
The fix is to properly test the tunnel_types parameter using stdlib.
Changed in puppet-neutron: | |
status: | New → In Progress |
assignee: | nobody → Mark T. Voelker (mvoelker) |
summary: |
- Bad test for tunnel_type in OVS agent manifest + Bad test for tunnel_types in OVS agent manifest |
Changed in puppet-neutron: | |
milestone: | none → 4.0.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/74446
Review: https:/