Project

General

Profile

Actions

Bug #26642

closed

Proxy tracking breaks POST data

Added by Lukas Zapletal about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
-
Fixed in Releases:
Found in Releases:

Description

My work and Ivan's review in smart proxy dynflow core revealed nasty bug in our logging stack in smart proxy. This luckily only hits when FOREMAN_PROXY_TRACE env variable is set to true which is only for debugging purposes. Rack input (StringIO) is read however it is never rewinded back, therefore later on the data is empty therefore POST/PUT services do not work correctly. Additionally, time tracking code can lead to nil error during exceptions.

Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/647 added
Actions #2

Updated by Anonymous almost 5 years ago

  • Fixed in Releases 1.23.0 added
Actions #3

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/651 added
Actions

Also available in: Atom PDF