Skip to content

Commit

Permalink
CASMHMS-4990 Fix HSM Compatibility Issue with CMM Firmware
Browse files Browse the repository at this point in the history
CASMHMS-4990

Description:
Shasta v1.5 CMM firmware changes the manufacturer from 'Cray' to 'HPE'. This causes HSM to skip discovery on CMM components. This mod fixes the issue by adding 'HPE' to the match list for Cray manufacturer.
  • Loading branch information
Manny Alvarez III committed Jul 30, 2021
1 parent 174bb12 commit 1eae591
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.30.9
1.30.10
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.30.10] - 2021-07-30

### Changed

- CASMHMS-4990 - Add "HPE" to the match list for Cray manufacturer.

## [1.30.9] - 2021-07-26

### Added
Expand Down
3 changes: 2 additions & 1 deletion Jenkinsfile.github
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pipeline {
DOCKER_ARGS = getDockerBuildArgs(name: "hms-smd", description: env.DESCRIPTION, version: env.VERSION)
CHART_NAME = "cray-hms-smd"
CHART_VERSION = getChartVersion(version: env.VERSION)
DOCKERFILE = "Dockerfile.smd"
}

stages {
Expand Down Expand Up @@ -48,7 +49,7 @@ pipeline {
stage("Publish") {
steps {
script {
publishCsmDockerImage(image: env.NAME, tag: env.VERSION, isStable: env.IS_STABLE)
publishCsmDockerImage(image: env.NAME, tag: env.VERSION, isStable: env.IS_STABLE, snykTargetFile: env.DOCKERFILE, snykSeverity: 'high')
publishCsmHelmCharts(component: env.CHART_NAME, chartsPath: "${WORKSPACE}/kubernetes/.packaged", isStable: env.IS_STABLE)
}
}
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/cray-hms-smd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
description: "Kubernetes resources for cray-hms-smd"
name: "cray-hms-smd"
home: "HMS/hms-smd"
version: 1.30.9
version: 1.30.10
2 changes: 1 addition & 1 deletion pkg/redfish/rfendpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ func IsManufacturer(mfrCheckStr, mfr string) int {
for _, s := range split {
switch mfr {
case CrayMfr:
if s == "cray" || s == "crayinc" || s == "crayincorporated" {
if s == "cray" || s == "crayinc" || s == "crayincorporated" || s == "hpe" {
return 1
}
case IntelMfr:
Expand Down

0 comments on commit 1eae591

Please sign in to comment.