vs_port: Port creation fails if name of a different port contains the name string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-vswitch |
Fix Released
|
High
|
Takashi Kajinami |
Bug Description
When there is a different ovs port and its name contains the name of the port being created, vs_port fails with execution error.
```
[root@localhost ~]# ovs-vsctl show
...
Bridge testbr
Port testbr
Port mytestport
...
[root@localhost ~]# cat port.pp
vs_port { 'testport':
bridge => 'testbr'
}
[root@localhost ~]# sudo puppet apply --modulepath /usr/share/
Notice: Compiled catalog for localhost.
Error: Execution of '/bin/ovs-vsctl -- --id=@1 create Interface name=testport -- set Port testport interfaces=@1' returned 1: ovs-vsctl: no row "testport" in table Port
Error: /Stage[
```
Changed in puppet-vswitch: | |
importance: | Undecided → High |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Fix proposed to branch: master /review. opendev. org/c/openstack /puppet- vswitch/ +/901395
Review: https:/