Cannot remove interface with duplicate name
Somehow, after migrating from foreman 1.7.4 to 1.8.2, duplicate interfaces appeared (especially on hosts with virtual nics and bridges).
Trying to remove duplicate interfaces simply does not work.Howto reproduce:
- locate a host with duplicated interfaces (two br0 for example)
- try to remove one of the 'br0'
- application complains that one of the 'br0' are invalid
Fixes #11031 - ignore identifiers of interfaces being destroyed
(cherry picked from commit 1e7822a586b6e4f288823df0b9419ef2749d6b8c)
#5 Updated by Jason Frisvold almost 6 years ago
FWIW, I wasn't able to see any errors in the logs when I was having this problem. I'll admit, though, I'm not sure which logs I should be checking. In my instance, I was looking at the foreman production.log in /var/log/foreman as well as the logs in /var/log/foreman-proxy.