lxc-veth-check wires veth pairs incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Paulo Matias |
Bug Description
After accidentally wiping up all veth pairs wired to br-mgmt (by doing an ifdown br-mgmt), I ran /usr/local/
Per my config, the eth1 interface from all containers should be wired to br-mgmt. However, as the script greps for the corresponding config file, it happens to find the one for eth10 instead of eth1:
---
controller-
---
It might also find configs for eth11 or eth12 because both contain the string "eth1".
Therefore, the grep below should be modified to check for a word boundary.
grep -l "${net_info}" /var/lib/
I will submit a patch to gerrit right now.
Fix proposed to branch: master /review. openstack. org/360860
Review: https:/