Skip to content

Latest commit

 

History

History
422 lines (243 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

422 lines (243 loc) · 10.6 KB

Changelog

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.

[1.11.0] - 2021-10-27

Added

  • CASMHMS-5055 - Added SLS CT test RPM.

[1.10.6] - 2021-09-16

Changed

  • Changed the docker image to run as the user nobody

[1.10.5] - 2021-08-10

Changed

  • Added GitHub configuration files.

[1.10.4] - 2021-07-26

Changed

  • Replaced all old stash paths with github.com

[1.10.3] - 2021-07-19

Changed

  • Add support for building within the CSM Jenkins.

[1.10.2] - 2021-07-02

Security

  • CASMHMS-4929 - Enable automatic postgres backups for SLS.

[1.10.1] - 2021-06-30

Security

  • CASMHMS-4898 - Updated base container images for security updates.

[1.10.0] - 2021-06-18

Changed

  • Bump minor version for CSM 1.2 release branch

[1.9.0] - 2021-06-18

Changed

  • Bump minor version for CSM 1.1 release branch

[1.8.10] - 2021-05-13

Changed

  • Added aliases to ComptypeNodeBmc and added new struct for ComptypeChassisBmc to support aliases for that as well if necessary.

[1.8.9] - 2021-05-05

Changed

  • Updated docker-compose files to pull images from Artifactory instead of DTR.

[1.8.8] - 2021-05-04

Changed

  • CASMINST-2121: Added new fields to the IPV4Subnet struct to support uai_macvlan in csi

[1.8.7] - 2021-04-27

Changed

  • CASMHMS-4765: Set a limit for the maximum number of database connections SLS can have open.

[1.8.6] - 2021-04-20

Changed

  • Updated Dockerfile to pull base images from Artifactory instead of DTR.

[1.8.5] - 2021-04-06

Changed

  • CASMHMS-4600 - Fixed an issue where the Hardware search API did not accept comptype_hl_switch and comptype_cdu_mgmt_switch as valid values to the type query param.
  • CASMHMS-4578/CASMHMS-4749 - Update the cray-service chart to 2.4.7 to address postgres security vulnerabilities and wait-for-postgres resource limit changes..
  • Fixed an issue where SLS did not have comptype_cab_pdu_pwr_connector properly defined.

[1.8.4] - 2021-03-31

Changed

  • CASMHMS-4605 - Update the loftsman/docker-kubectl image to use a production version.

[1.8.3] - 2021-03-19

Changed

  • CASMHMS-4554: Scale SLS to 3 replicas with anti-affinity to prevent multiple SLS pods running on the same worker node.

[1.8.2] - 2021-03-09

Changed

  • CASMINST-1546: Improved error handling in the SLS loader job. Modified the process of determining the IP address of rgw-vip.nmn to be more robust.

[1.8.1] - 2021-02-03

Added

  • Adding the runSnyk.sh script which was missed previosuly.

[1.8.0] - 2021-02-01

Changed

  • Update License/Copyright info, re-vendor go packages.

[1.7.1] - 2021-01-26

Changed

  • CASMINST-1126: Pickup the latest cray-service base chart to pick the wait-for-postgres jobs to prevent these jobs from getting OOMKilled

[1.7.0] - 2021-01-14

Changed

  • Updated license file.

[1.6.0] - 2021-01-08

Changed

  • CASMINST-759: Use the livecd nameserver to determine the IP address of the S3 endpoint. In order for DNS name resolution in k8s to work properly SLS needs to be populated with data, so that Ubound manager job can setup DNS records. However, when the SLS loader job first runs unbound is empty and is unable to resolve the S3 endpoint.

[1.5.4] - 2020-12-02

Changed

  • CASMHMS-4266 - Added support to SLS for MgmtHLSwitch & CDUMgmtSwitch, and updated HMS Base to v1.8.4.

[1.5.3] - 2020-10-29

Security

  • CASMHMS-4148 - Update go module vendor code for security fix.

[1.5.2] - 2020-10-27

Changed

  • CASMHMS-4055 - The SLS Loader job will now only upload the SLS input file once. The new default behavior of the SLS loader job is to upload the SLS file if the SLS S3 bucket does not contain the special file uploaded. If that file is not present in S3 then the SLS loader will load the SLS file into SLS, otherwise the loader will perform a no-op. If the that file is present in S3, then the loader job will do nothing. After the loader performs the SLS loadstate, it will create the uploaded file in the SLS S3 bucket.
  • CASMHMS-4163: Update cray-service-base char to the latest 2.2.0 version.

[1.5.1] - 2020-10-22

Security

  • CASMHMS-4105 - Updated base Golang Alpine image to resolve libcrypto vulnerability.

[1.5.0] - 2020-10-19

Changed

  • CASMHMS-4099 - The SLS Network structures have been greatly enriched. The base Network structure has not been modified, and all new networking information has been added to the network's extra properties. Networks are now meant to represent a IPv4 Network, and each IPv4 network can describe the IPv4 subnets within the network. IP reservations can also be described within a IPv4 subnet.
  • CASMHMS-4100 - Download the pre-generated sls_input_file.json from the SLS S3 bucket. SLS no longer generates the SLS input file within the SLS Init/Load job, instead the SLS file is generated off of the system and then uploaded into the SLS S3 bucket. This is the new behavior in Shasta v1.4 and forward.

[1.4.1] - 2020-10-21

Changed

  • Upgraded the cray-service chart to the latest version

[1.4.0] - 2020-09-15

Changed

  • CASMCLOUD-1023 - Updated cray-service base chart to the latest 2.x version. This new version of the cray service chart now supports Helm v3.
  • Modified containers/init containers, volume, and persistent volume claim value definitions to be objects instead of arrays

[1.3.7] - 2020-09-10

Security

  • CASMHMS-3996 - Updated hms-sls to use trusted baseOS images.

[1.3.6]

Fixed

  • CASMHMS-3985 - fixed switch xname generation to use destination rack rather than source.

[1.3.5] - 2020-08-19

Fixed

  • CASMHMS-3792 - Improved support for PDUs. Fixed Management switch connectors for PDUs to use the correct xname for the PDU.

[1.3.4]

Changed

  • CASMHMS-3914 - moved CMC BMC number to 999.

[1.3.3]

Fixed

  • CASMHMS-3768 - made parsing tolerate unknown hardware better.

[1.3.2] - 2020-07-16

Fixed

  • CASMHMS-3768 - Fixed bug where the config parser would fall right over when it got to something not in a U.

[1.3.1] - 2020-06-30

Fixed

  • CASMHMS-3674 - fixed parsing bug.

[1.3.0] - 2020-06-29

Added

  • CASMHMS-3611 - Added CT smoke test for SLS.

[1.2.3]

Fixed

  • CASMHMS-3648 - fixed processing of xnames for Columbia switches.

[1.2.2]

Fixed

  • CASMHMS-3639 - fixed config parser bug.

[1.2.1]

Fixed

  • CASMHMS-3635 - made file getting from S3 try forever.

[1.2.0]

Added

  • CASMHMS-3550 - added all logic relating to downloading files from S3, generating SLS config, and pushing that into SLS.

[1.1.0]

Added

  • CASMHMS-3466 - added a lot of the parsing logic for the new config files.

[1.0.1]

Fixed

  • CASMHMS-3526 - fixed job cleanup.

[1.0.0]

Changed

  • CASMHMS-3456 - added ExtraProperties section to Networks object.
  • Changed migration logic slightly to requested version instead of up all the time.
  • Updated to version 1.5.0 of the base cray-service chart.

[0.9.5]

Changed

  • CASMHMS-3263 - updated cray-service base chart to enable online install upgrade/rollback

[0.9.4]

Changed

  • CASMHMS-2965 - use golang based image for build-base to align with other services.

[0.9.3]

Changed

  • CASMHMS-2965 - use trusted baseOS image.

[0.9.2]

Changed

  • Moved the SLS loader out of the ansible installer and into the SLS helm chart.
  • Removed the use of the wait-for-postgres job, which will be removed from the base chart.

[0.9.1]

Changed

  • CASMHMS-2900 - Updated swagger file to fix openapi conversion issues and include missed commands.

[0.9.0]

Added

  • Added SLS loader.

[0.8.2]

Changed

  • Made SLS tolerate not having keys for load/dump state.

[0.8.1]

Changed

  • Changed the Postgres configuration during unit tests to allow connections without passwords. A breaking change was made to the official postgres image to require a password by default.

[0.8.0]

Changed

  • CASMHMS-2641 - added liveness, readiness, and health endpoints.

[0.7.1]

Changed

  • Updated hms-common lib.

[0.7.0]

Added

  • Added encrypted dump/load of SLS. This can be used by:
    1. Generate a public/private key pair:

      openssl rsa -in private.pem -outform PEM -pubout -out public.pem

    2. Dump encrypted:

      curl -X POST \
        http://localhost:8376/v1/dumpstate \
        -H 'Accept: */*' \
        -H 'Accept-Encoding: gzip, deflate' \
        -H 'Cache-Control: no-cache' \
        -H 'Connection: keep-alive' \
        -H 'Content-Length: 1034' \
        -H 'Content-Type: multipart/form-data; boundary=--------------------------089094351527063763744770' \
        -H 'Host: localhost:8376' \
        -H 'cache-control: no-cache' \
        -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
        -F public_key=@public_key.pem
      
    3. Save output above in file. Load encrypted:

      curl -X POST \
        http://localhost:8376/v1/loadstate \
        -H 'Accept: */*' \
        -H 'Accept-Encoding: gzip, deflate' \
        -H 'Cache-Control: no-cache' \
        -H 'Connection: keep-alive' \
        -H 'Content-Length: 5443' \
        -H 'Content-Type: multipart/form-data; boundary=--------------------------767615378467519380075801' \
        -H 'Host: localhost:8376' \
        -H 'cache-control: no-cache' \
        -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
        -F sls_dump=@sls_test_config.json \
        -F private_key=@private_key.pem
      
  • Liveness/readiness probes.

[0.6.1]

Changed

  • Changed URLS so they do not begin with /sls/. The use of /sls insternally was resulting in URLs beginning with /sls/sls/ when transiting the API gateway.

[0.6.0]

Added

  • Added GET for /hardware (gets list of all hardware components)

[0.5.0]

Added

  • Added search for hardware and networks.

[0.4.1]

Added

  • Added /hardware API set

[0.4.0]

Added

  • Added completed /loadstate and /dumpstate endpoints

[0.3.0]

Added

  • Added unit testing for database against real database instance.

[0.2.0]

Added

  • Adds support for all network API operations except for PATCH.

[0.1.0]

Added

  • This release adds the final bits necessary to support the basic operations of SLS. It also builds and functionally runs (though doesn't do anything all that useful yet.)

[0.0.1]

Added

  • This is the initial release. It contains no functionality yet.