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

Puppet failover breaks on initial agent run

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Needs Assessment

    Description

      Implementing CRL re-downloading uncovered an existing bug in HA failover where Puppet will crash if additional requests are made as a by-product of attempting to make the node request that is used to find a functional server, and the first server in server_list is unavailable. Rather than continuing to check later servers in the list, it will simply exit with an "unable to connect" error.

      This was probably unlikely to surface in the past, because such additional requests were only made on initial agent runs, during SSL bootstrapping. However, we are now attempting to re-download the CRL on every request (which causes an additional request to be made to the server being tested), so failover now doesn't work at all.

      1. Fix the underlying issue, where failover breaks on initial agent runs.
      2. Move the code where CRL re-download happens (from configurer.rb to possibly to agent.rb file). 

      Attachments

        Issue Links

          Activity

            People

              melissa Melissa Stone
              maggie Maggie Dreyer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support