You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[2016.11.0] Invalid interfaces file produced by debian_ip module #38042
Execution-ModuleP3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
After upgrading to 2016.11.0 from 2016.3.4, a highstate resulted in every "iface" line being removed. Once those were removed, subsequent highstates produced python stacktraces with every network.managed state.
This seems to only pop up with bonded interfaces. After reviewing the jinja template, I see that an incorrect assumption is made that all interfaces will have an address assigned to them, but this is most definitely not always the case.
Additionally, I noticed the python stacktraces being produced because the loop wasn't correctly handling what was encountered in the file. It actually reads as if salt could load up options of two interfaces as data for one interface producing somewhat unpredictable results.
Execution-ModuleP3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
Ch3LL commentedon Dec 2, 2016
@MTecknology thanks for the PR! Please feel free to close this issue when the PR is reviewed/merged or we can. THanks
MTecknology commentedon Dec 5, 2016
I'm closing this as a duplicate of #37942.