Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4516

Agent does not stop with Ctrl-C

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.7.5, PUP 4.0.0
    • Fix Version/s: PUP 3.8.5, PUP 4.3.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      Client 2015-11-11
    • CS Priority:
      Major
    • CS Frequency:
      5 - >90% of Customers
    • CS Severity:
      4 - Major
    • CS Business Value:
      2 - $$$
    • CS Impact:
      Hide
      Everyone in CS Triage has run into this issue and would like to see it fixed. The severity is high because while this is normally a minor issue, if puppet is actively destroying a configuration or otherwise damaging node configuration this could be a big problem.

      When you pull the lever the train should stop.
      Show
      Everyone in CS Triage has run into this issue and would like to see it fixed. The severity is high because while this is normally a minor issue, if puppet is actively destroying a configuration or otherwise damaging node configuration this could be a big problem. When you pull the lever the train should stop.
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Puppet agents and webrick masters now immediately exit in response to SIGINT and SIGTERM signals, such as when pressing Ctrl-C. Previously, if the agent process was idle, it would take upwards of 5 seconds for the process to stop. If the agent was performing a run, it could not be interrupted until after the run completed.
      Show
      Puppet agents and webrick masters now immediately exit in response to SIGINT and SIGTERM signals, such as when pressing Ctrl-C. Previously, if the agent process was idle, it would take upwards of 5 seconds for the process to stop. If the agent was performing a run, it could not be interrupted until after the run completed.

      Description

      When running a puppet run from the command line the agent catches a Ctrl-C, but does not stop.

      ^CNotice: Caught INT; storing stop
      ^CNotice: Caught INT; storing stop
      ^CNotice: Caught INT; storing stop
      ^CNotice: Caught INT; storing stop
      ^CNotice: Caught INT; storing stop
      Info: Caching catalog for ue1a-util03.ineu.us
      Info: Applying configuration version '1430650119'
      .... run continues to completion
      

      This is with puppet-agent-1.0.1 on CentOS7

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erict Eric Thompson
                Reporter:
                jlambert Justin Lambert
              • Votes:
                13 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support