vs_port is broken in current master (at least for Red Hat)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-vswitch |
Fix Released
|
Undecided
|
Javier Peña |
Bug Description
The following manifest fails in Red Hat-based platforms:
vs_bridge {'br-eth0':
ensure => present,
external_ids => "bridge-id=br-eth0"
}
vs_port {'eth0':
ensure => present,
bridge => 'br-eth0',
}
It fails with the following error:
Error: /Vs_port[eth0]: Could not evaluate: undefined method `sub' for ["eth0"]:Array
This issue seems to be caused by the fact that parameter :interface for the type is now an array instead of a string, as it used to be.
Additionally, there seems to be something else broken in ovs.rb (not sure if it is related to the bug or not). https:/
Fix proposed to branch: master /review. openstack. org/291788
Review: https:/