Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show-OVFirmwareReport shows incorrect ilo version (baseline version) #667

Open
curiousbytes opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
6.60 Impacts HPE OneView 6.60 library 8.60 Impacts HPE OneView 8.60 9.00 Impacts HPE OneView 9.00 library. 9.10 Impacts HPE OneView 9.10 library. Bug Impact - Low

Comments

@curiousbytes
Copy link

Expected Behavior

When running show-ovfirmwarereport with the associated EG baseline the output shows version 1.51 for ilo.
It seems it compares with iLO6 since 1.51 (is the version relegates to iLO5 fw)
According to SSP 2023.10.1 contents reports the version should be 2.96

Actual Behavior

PS C:\> Get-OVServer -ServerName Server01 | Show-OVFirmwareReport -Baseline $BaseLine

    Server: Server01 

Component                                          ComponentType Installed              BaselineVersion BaselineName
---------                                          ------------- ---------              --------------- ------------
300GB 12G SAS HDD                                  Firmware      HPD5                   HPD5            HPE Synergy Service Pack
.
.
iLO 5                                              Firmware      2.99 Nov 15 2023       1.51            HPE Synergy Service Pack

Steps to reproduce

PS C:\> Get-OVBaseline
[2312081641_HPEOV_transcript.log](https://github.com/HewlettPackard/POSH-HPEOneView/files/13617285/2312081641_HPEOV_transcript.log)

Name        : HPE Synergy Service Pack
State       : Created
Status      : OK
Version     : SY-2023.10.01
ISOFileName : Synergy_Service_Pack_SSP_2023_10_01_Z7550-97698.iso
XMLKeyName  : bp006299
BundleSize  : 6.86GB
Locations   : {Internal}

PS C:\> $BaseLine = Get-OVBaseline -SppName 'HPE Synergy Service Pack'

PS C:\> Get-OVServer -ServerName Server01 | Show-OVFirmwareReport -Baseline $BaseLine

Version Information

PS C:\> Get-OVVersion

10.40.52.100                        LibraryVersion Path
------------                        -------------- ----
ApplianceVersion: 6.60.05.482734.00 6.60.3332.3428 
C:\Users\Administrator\Documents\WindowsPowerShell\Modules\HPEOneView.660\6.60.3332.3428

Output from $PSVersionTable

PS C:> $PSVersionTable

Name Value


PSVersion 5.1.17763.4974
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.4974
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

@ChrisLynchHPE
Copy link
Member

I am not able to reproduce this issue. There is a bug here with mishandling the Firmware Baseline object. But I cannot reproduce the specific issue you are reporting.

The bug is that the internal function that processes server firmware treats the Baseline as a String, and then looks up a baseline for the name HPE Synergy Service Pack. If multiple return, then the subsequent API call will fail and no server report is generated.

@ChrisLynchHPE ChrisLynchHPE self-assigned this Oct 2, 2024
@ChrisLynchHPE ChrisLynchHPE added Impact - Low 6.60 Impacts HPE OneView 6.60 library 8.60 Impacts HPE OneView 8.60 9.00 Impacts HPE OneView 9.00 library. 9.10 Impacts HPE OneView 9.10 library. labels Oct 2, 2024
ChrisLynchHPE added a commit that referenced this issue Oct 3, 2024
- [#667] Fixed mishandling of baseline resource object class type.
- Added Compliance Preview back to Update-OVServerFirmware with -PreviewOnly switch parameter.
- Fixed incorrect handling of server profile resource (assigned and unassigned) with Update-OVServerFirmware.
- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when calculating compliance.
- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module resources when calculating compliance.
- Added Firmware Bundle Updates to New-OVServerProfileTemplate and New-OVServerProfile Cmdlets.
- Added server profile support to Update-OVServerFirmware Cmdlet.  This will modify the server profile resource directly, and not invoke the process with the server hardware resource.
- Fixed New-OVRemoteSupportContact returning the correct object type.
- Remove-OVRemoteSupportPartner API returns an Async task.

Signed-off-by: Chris Lynch <[email protected]>
ChrisLynchHPE added a commit that referenced this issue Oct 3, 2024
- [#667] Fixed mishandling of baseline resource object class type.
- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when calculating compliance.
- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module resources when calculating compliance.

Signed-off-by: Chris Lynch <[email protected]>
ChrisLynchHPE added a commit that referenced this issue Oct 3, 2024
- [#667] Fixed mishandling of baseline resource object class type.
- Fixed Show-OVFirmwareReport mishandling Synergy compute module resources when calculating compliance.
- Fixed Show-OVFirmwareReport mishandling Synergy management appliance module resources when calculating compliance.

Signed-off-by: Chris Lynch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.60 Impacts HPE OneView 6.60 library 8.60 Impacts HPE OneView 8.60 9.00 Impacts HPE OneView 9.00 library. 9.10 Impacts HPE OneView 9.10 library. Bug Impact - Low
Projects
None yet
Development

No branches or pull requests

2 participants