Skip to content

v2.6.0: Fix PCS/TRS resource leaks and scaling issues

Latest
Compare
Choose a tag to compare
@jwlv jwlv released this 25 Nov 22:24
5ddb830

[2.6.0] - 2024-11-25

Changed

  • Updated hms-trs-app-api vendor code (bug fixes and enhancements)
  • Passed PCS's log level through to TRS to match PCS's
  • Configured TRS to use connection pools for status requests to BMCs
  • Renamed PCS_STATUS_HTTP_TIMEOUT to PCS_STATUS_TIMEOUT as it is not an http timeout
  • Added PCS_MAX_IDLE_CONNS and PCS_MAX_IDLE_CONNS_PER_HOST env variables which allow overriding PCS's connection pool settings in TRS
  • Added PCS_BASE_TRS_TASK_TIMEOUT env variable which allows the timeout for power transitions and capping to be configured
  • The above variables are configurable on PCS's helm chart
  • At PCS start time, log all env variables that were set
  • Added PodName global to facilitate easier debug of log messages
  • Log start and end of large batched requests to BMCs
  • Fixed many resource leaks associated with making http requests and using TRS
  • Update required version of Go to 1.23 to avoid golang/go#59017