FAQ
hi,

i am very happy with a network configuration module so far, but there is
one thing left i can not find a solution for:
if i change the network configuration e.g. from a single interface to a
bonding interface using puppet (basically if-down and if-ups), the next
steps in the run of the agent fail due to connection errors but then the
agent seems to reconnect again during the run and is able to send the
report (of course containing the errors) to the master.
Is there some way to avoid those errors (maybe by waiting for the interface
to be up)?
Can somebody please elaborate more on the connection handling of the agent:
- does it keep a TCP connection and reconnect on errors only and just for
the following steps?

thx,
Peter

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/8RCTtUTCTusJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Peter Bauer at Jan 22, 2013 at 4:26 pm
    if somebody else will face the problem:

    i made an exec with a bash one-liner to ping the $serverip until it works
    or the timeout occurrs (refreshonly => true).
    Additionally i put the network configuration class in a separate stage and
    let it notify the class with the exec which is in the same stage.

    g,
    Peter

    Am Montag, 21. Januar 2013 20:53:43 UTC+1 schrieb Peter Bauer:
    hi,

    i am very happy with a network configuration module so far, but there is
    one thing left i can not find a solution for:
    if i change the network configuration e.g. from a single interface to a
    bonding interface using puppet (basically if-down and if-ups), the next
    steps in the run of the agent fail due to connection errors but then the
    agent seems to reconnect again during the run and is able to send the
    report (of course containing the errors) to the master.
    Is there some way to avoid those errors (maybe by waiting for the
    interface to be up)?
    Can somebody please elaborate more on the connection handling of the agent:
    - does it keep a TCP connection and reconnect on errors only and just for
    the following steps?

    thx,
    Peter
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/JT7aLD3zGlUJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Adrien Thebo at Jan 22, 2013 at 4:40 pm
    Hi Peter,

    Is this in reference to https://github.com/adrienthebo/puppet-network?

    On Tue, Jan 22, 2013 at 8:26 AM, Peter Bauer wrote:

    if somebody else will face the problem:

    i made an exec with a bash one-liner to ping the $serverip until it works
    or the timeout occurrs (refreshonly => true).
    Additionally i put the network configuration class in a separate stage and
    let it notify the class with the exec which is in the same stage.

    g,
    Peter

    Am Montag, 21. Januar 2013 20:53:43 UTC+1 schrieb Peter Bauer:
    hi,

    i am very happy with a network configuration module so far, but there is
    one thing left i can not find a solution for:
    if i change the network configuration e.g. from a single interface to a
    bonding interface using puppet (basically if-down and if-ups), the next
    steps in the run of the agent fail due to connection errors but then the
    agent seems to reconnect again during the run and is able to send the
    report (of course containing the errors) to the master.
    Is there some way to avoid those errors (maybe by waiting for the
    interface to be up)?
    Can somebody please elaborate more on the connection handling of the
    agent:
    - does it keep a TCP connection and reconnect on errors only and just for
    the following steps?

    thx,
    Peter
    --
    You received this message because you are subscribed to the Google Groups
    "Puppet Users" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/puppet-users/-/JT7aLD3zGlUJ.

    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to
    [email protected].
    For more options, visit this group at
    http://groups.google.com/group/puppet-users?hl=en.


    --
    Adrien Thebo | Puppet Labs Operations

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Peter Bauer at Jan 22, 2013 at 5:23 pm
    Hi Adrien,

    no, i have used https://github.com/razorsedge/puppet-network

    Am Dienstag, 22. Januar 2013 17:40:17 UTC+1 schrieb Adrien Thebo:
    Hi Peter,

    Is this in reference to https://github.com/adrienthebo/puppet-network?


    On Tue, Jan 22, 2013 at 8:26 AM, Peter Bauer <[email protected]<javascript:>
    wrote:
    if somebody else will face the problem:

    i made an exec with a bash one-liner to ping the $serverip until it works
    or the timeout occurrs (refreshonly => true).
    Additionally i put the network configuration class in a separate stage
    and let it notify the class with the exec which is in the same stage.

    g,
    Peter

    Am Montag, 21. Januar 2013 20:53:43 UTC+1 schrieb Peter Bauer:
    hi,

    i am very happy with a network configuration module so far, but there is
    one thing left i can not find a solution for:
    if i change the network configuration e.g. from a single interface to a
    bonding interface using puppet (basically if-down and if-ups), the next
    steps in the run of the agent fail due to connection errors but then the
    agent seems to reconnect again during the run and is able to send the
    report (of course containing the errors) to the master.
    Is there some way to avoid those errors (maybe by waiting for the
    interface to be up)?
    Can somebody please elaborate more on the connection handling of the
    agent:
    - does it keep a TCP connection and reconnect on errors only and just
    for the following steps?

    thx,
    Peter
    --
    You received this message because you are subscribed to the Google Groups
    "Puppet Users" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/puppet-users/-/JT7aLD3zGlUJ.

    To post to this group, send email to [email protected]<javascript:>
    .
    To unsubscribe from this group, send email to
    [email protected] <javascript:>.
    For more options, visit this group at
    http://groups.google.com/group/puppet-users?hl=en.


    --
    Adrien Thebo | Puppet Labs Operations
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/-Nkog5H5N0IJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Adrien Thebo at Jan 22, 2013 at 5:29 pm
    Ah, got it. Handling bonded interfaces with Puppet is quite tricky, but I
    like your solution!

    On Tue, Jan 22, 2013 at 9:23 AM, Peter Bauer wrote:

    Hi Adrien,

    no, i have used https://github.com/razorsedge/puppet-network

    Am Dienstag, 22. Januar 2013 17:40:17 UTC+1 schrieb Adrien Thebo:
    Hi Peter,

    Is this in reference to https://github.com/**adrienthebo/puppet-network<https://github.com/adrienthebo/puppet-network>
    ?

    On Tue, Jan 22, 2013 at 8:26 AM, Peter Bauer wrote:

    if somebody else will face the problem:

    i made an exec with a bash one-liner to ping the $serverip until it
    works or the timeout occurrs (refreshonly => true).
    Additionally i put the network configuration class in a separate stage
    and let it notify the class with the exec which is in the same stage.

    g,
    Peter

    Am Montag, 21. Januar 2013 20:53:43 UTC+1 schrieb Peter Bauer:
    hi,

    i am very happy with a network configuration module so far, but there
    is one thing left i can not find a solution for:
    if i change the network configuration e.g. from a single interface to a
    bonding interface using puppet (basically if-down and if-ups), the next
    steps in the run of the agent fail due to connection errors but then the
    agent seems to reconnect again during the run and is able to send the
    report (of course containing the errors) to the master.
    Is there some way to avoid those errors (maybe by waiting for the
    interface to be up)?
    Can somebody please elaborate more on the connection handling of the
    agent:
    - does it keep a TCP connection and reconnect on errors only and just
    for the following steps?

    thx,
    Peter
    --
    You received this message because you are subscribed to the Google
    Groups "Puppet Users" group.
    To view this discussion on the web visit https://groups.google.com/d/**
    msg/puppet-users/-/**JT7aLD3zGlUJ<https://groups.google.com/d/msg/puppet-users/-/JT7aLD3zGlUJ>
    .

    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to puppet-users...@**
    googlegroups.com.

    For more options, visit this group at http://groups.google.com/**
    group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en>
    .


    --
    Adrien Thebo | Puppet Labs Operations
    --
    You received this message because you are subscribed to the Google Groups
    "Puppet Users" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/puppet-users/-/-Nkog5H5N0IJ.

    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to
    [email protected].
    For more options, visit this group at
    http://groups.google.com/group/puppet-users?hl=en.


    --
    Adrien Thebo | Puppet Labs Operations

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJan 21, '13 at 7:53p
activeJan 22, '13 at 5:29p
posts5
users2
websitepuppetlabs.com

2 users in discussion

Peter Bauer: 3 posts Adrien Thebo: 2 posts

People

Translate

site design / logo © 2023 Grokbase