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

Puppet agent requests do not include the X-Puppet-Version header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: Networking
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-02-18

      Description

      HTTP requests coming from the puppet agent do not include the X-Puppet-Version header. Talking with Kylo Ginsberg this looks like an oversight or regression. Looks like it wasn't a regression, orginially we just added this to the response header in 70a18ef.

      $ be puppet agent -t --http_debug --server puppetmaster
      <- "GET /puppet/v3/node/percival.corp.puppetlabs.net?environment=production&transaction_uuid=e223c1ef-3a80-404c-8fc7-8d938cb5cdd5&fail_on_404=true HTTP/1.1\r\nAccept: pson, msgpack, yaml, binary\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nUser-Agent: Ruby\r\nHost: puppetmaster:8140\r\n\r\n"
      -> "HTTP/1.1 200 OK \r\n"
      -> "X-Puppet-Version: 3.7.4\r\n"
      -> "Content-Type: text/pson\r\n"
      -> "Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22) OpenSSL/1.0.1c\r\n"
      -> "Date: Wed, 04 Feb 2015 17:28:30 GMT\r\n"
      -> "Content-Length: 5661\r\n"
      -> "Connection: Keep-Alive\r\n"
      -> "\r\n"
      

      Above, the agent's GET request does not have the X-Puppet-Version header, but the response from the server does.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  joshua.partlow Joshua Partlow
                  QA Contact:
                  Eric Thompson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: