All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated image and module dependencies to latest versions
- Replaced a fair amount of redundant code with reference to new code built into the new hms-base module
- Update version of Go to v1.24
- Made several code changes due to upgrade to latest version of Go
- Fixed jq parsing issue when running local Snyk scans
- Added support for pprof builds
- Added a fake Vault drop-in credential store to set credentials from the environment.
- Added support for using an OAuth2 client to access SMD.
- Replace mux with chi router
- Update module dependencies related to hms-certs ( upstream CASMHMS-6408 )
- Updated vault override variables due to hms-certs update ( upstream CASMHMS-6408 )
- Fixed bug in CT tests related to race condition with compressed transitions ( upstream CASMHMS-6408 )
- Updated Swagger spec to indicate transition tasks only present if not yet compressed ( upstream CASMHMS-6408 )
- Images updated to use public base images and are pushed to a public repository
- Updated CI to run on GitHub without any HPE resources
- Renamed modules github.com/Cray-HPE/hms-power-control => github.com/OpenCHAMI/power-control
- Updated references to smd to point to the OpenCHAMI version
- Changed the release process to use goreleaser
- Fixed issue with aborted tasks state being overwritten
- Added support for storing large transitions in etcd ( from upstream )
- Changed to truncate long messages ( from upstream )
- Changed to page large transitions ( from upstream )
- Enable ARM builds
- Remove .version file
- Updated module dependencies ( from upstream )
- 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
- Added ability to configure http status timeout and retries with PCS_STATUS_HTTP_TIMEOUT and PCS_STATUS_HTTP_RETRIES env variables
- Updated hms-trs-app-api vendor code to latest version
- Updated GoLang build version from 1.16 to 1.17 so that new vendor code compiles
- CASMHMS-6287: Updated API spec to correctly reflect the possible return values for power transition operations, and to note that input values for power transition operations are not case sensitive.
- Fix broken docker-compose tests because of Github runner changes
- CASMHMS-6287: Created
power_operationandtransition_statusschemas in API spec to eliminate redundancies (no semantic change to spec).
- Parse PowerConsumedWatts for any data type and intialize pcap min/max appropriately
- CASMHMS-6156: Added
POSTrequests for/power-statusendpoint, to allow larger arguments to be specified.
- CASMHMS-6146: Generate correct PowerCapURI for Olympus hardware
- CASMHMS-6131: Remove unused HSNBoard related code
- CASMHMS-6058 - Reduced ETCD storage size of completed power cap tasks and transitions.
- CASMHMS-6058 - Made record expiration and the maximum number of completed records configurable.
- CASMHMS-5995 - Functionality to utilize PowerMaps in HSM when available.
- CASMHMS-5998 - Memory leak in transitions and power-cap domain functions.
- CASMHMS-5996 - power-cap naming mismatch between snapshots and parsed HSM data.
- CASMHMS-5952 - Add MgmtSwitch type components to power status.
- CASMHMS-5967 - Remove node 'Ready' restriction for power capping.
- CASMHMS-5919 - Fixed issue causing PCS hardware scan to hang.
- Increased the log level of status API messages.
- Fixed bug in CT tests that use multiple verify response functions
- CASMHMS-5917 - Handles /v1/* as well as /*
- CASMHMS-5887 - PCS power-status now shows management state 'Unavailable' when it can't communicate with controllers.
- CASMHMS-5863 - PCS now reacquires component reservations when transitions get restarted.
- Updates to non-disruptive CT tests for production systems
- CASMHMS-5903: Linting of language in API spec (no content changes); created this changelog file
- Initial release.