Skip to content

[2016.11.0] Invalid interfaces file produced by debian_ip module #38042

Closed

Description

@MTecknology

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.

PR ... coming up.

Activity

  1. Ch3LL commented on Dec 2, 2016

    @Ch3LL
    Contributor

    @MTecknology thanks for the PR! Please feel free to close this issue when the PR is reviewed/merged or we can. THanks

  2. added
    bug
    severity-medium
    P3
    Platform
    on Dec 2, 2016
  3. added this to the Approved milestone on Dec 2, 2016
  4. MTecknology commented on Dec 5, 2016

    @MTecknology
    ContributorAuthor

    I'm closing this as a duplicate of #37942.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Execution-ModuleP3Platformbugseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions