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 function is not collect bundle version #659

Open
armagansavas opened this issue Oct 11, 2023 · 3 comments
Open

Show-OVFirmwareReport function is not collect bundle version #659

armagansavas opened this issue Oct 11, 2023 · 3 comments

Comments

@armagansavas
Copy link

armagansavas commented Oct 11, 2023

When I run the command below, it appears as Unmanageable instead of the baseline version. I would like to see the version on the bundle instead.

Expected Behavior

$Baseline = Get-OVBaseline -File "Gen10spp-2023.iso"
get-ovserver -SerialNumber "serialnumber" | Show-OVFirmwareReport -Baseline $Baseline

Actual Behavior

Component                                                   ComponentType       Installed              BaselineVersion BaselineName
---------                                                   ------------- ---------                                   --------------- ------------
agentless management service                                Firmware      2.50.0.0                                        Unmanageable

Steps to reproduce

# 1. Capture verbose output using the Get-HPOVCommandTrace for HPOneView.310 or newer, or append the -Verbose switch to your Cmdlet call.
# 2. Put your code and/or captured output here.
# 3. Remove this comment block before submitting.

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion):
HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer):
Output from $PSVersionTable on your Windows Host:
ApplianceVersion: 6.60.05.482734.00 6.60.3530.1622 C:\program files\powershell\7\Modules\HPEOneView.660\6.60.3530.1622

# Output from $PSVersionTable
Name                           Value
----                           -----
PSVersion                      7.3.7
PSEdition                      Core
GitCommitId                    7.3.7
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
@ChrisLynchHPE
Copy link
Member

The intention of this Cmdlet was to show firmware in a report form prior to enhancements we made within core OneView. This Cmdlet will need a re-write to handle the newer use cases supported by OneView.

This isn't a bug, rather an enhancement request.

@ChrisLynchHPE
Copy link
Member

ChrisLynchHPE commented Oct 13, 2023

I have a solution here for this request. I'm trying to get caught up on the additional library releases needed. It will be in the 8.40 library first before I release an updated 8.30 library.

Here is an example:

[PS] C:\Users\clynch> Show-OVFirmwareReport -InputObject $server -Baseline $baseline -InstallationPolicy NotEqualToBaseline

    Server: linux


Component                                 ComponentType Installed                       BaselineVersion    BaselineName
---------                                 ------------- ---------                       ---------------    ------------
amsd                                      Software      1.4.0-3066.70.sles15            unknown            Unmanageable
b57nd60a.sys                              Software      15.6.1.3                        unknown            Unmanageable
BaseT I340-T4 OCP3                        Firmware      16.26.0112                      unknown            Unmanageable
BXVBDA.SYS                                Software      7.4.14.0                        unknown            Unmanageable
evbda.sys                                 Software      7.4.33.1                        unknown            Unmanageable
HPE SR308i-o Gen11                        Firmware      5.32                            5.61               Unmanageable
HPE SR932i-p Gen11                        Firmware      03.01.05.086                    03.01.17.056       Unmanageable
hponcfg                                   Software      5.4.0-0                         unknown            Unmanageable
iLO 6                                     Firmware      1.10 (02/18/2020)               1.51               Unmanageable
Innovation Engine (IE) Firmware           Firmware      0.1.0.13                        unknown            Unmanageable
Intelligent Platform Abstraction Data     Firmware      1.79.0                          unknown            Unmanageable
Intelligent Provisioning                  Firmware      3.00.227                        unknown            Unmanageable
iscsiuio                                  Software      2.11.5.13-3.sles15sp0           unknown            Unmanageable
iscsiuio_bl                               Software      2.11.5.13-3.sles15sp0           unknown            Unmanageable
lsi_sas2.sys                              Software      2.0.60.82                       unknown            Unmanageable
ME SPI Descriptor                         Firmware      1.1 0                           unknown            Unmanageable
mlx4_bus.sys                              Software      4.4.13905.0                     unknown            Unmanageable
netxtreme2_bl-kmp-default                 Software      7.14.70_k4.12.14_23-1.sles15sp0 unknown            Unmanageable
netxtreme2-kmp-default                    Software      7.14.60_k4.12.14_23-1.sles15sp0 unknown            Unmanageable
Power Management Controller Firmware      Firmware      1.0.2                           unknown            Unmanageable
Power Management Controller FW Bootloader Firmware      1.0                             unknown            Unmanageable
Power Supply Firmware                     Firmware      0.01                            unknown            Unmanageable
Redundant System BIOS - U63               Firmware      U63 v1.10 (11/04/2021)          unknown            Unmanageable
SAS Programmable Logic Device             Firmware      0x08 (bootleg 0x04)             unknown            Unmanageable
SFP+ QL41134HLCU                          Firmware      16.26.0112                      unknown            Unmanageable
smartpqi-kmp-default                      Software      1.2.4-065.sles15sp0             unknown            Unmanageable
SPS Platform Services (SPS) Firmware      Firmware      4.9.4.288                       unknown            Unmanageable
ssa                                       Software      3.40-3.0                        unknown            Unmanageable
ssacli                                    Software      3.40-3.0                        unknown            Unmanageable
ssaducli                                  Software      3.40-3.0                        unknown            Unmanageable
StorageDiskDrive                          Firmware      HPD8                            unknown            Unmanageable
sut                                       Software      2.4.5-14.linux                  unknown            Unmanageable
System BIOS - U63                         Firmware      U63 v1.10 (11/04/2021)          v1.44 (07/31/2023) Unmanageable
System Programmable Logic Device          Firmware      0x1E                            unknown            Unmanageable

@armagansavas
Copy link
Author

Thanks for the quick response. My Apliance version is 6.50 with this version powershell. Can I use the 8.30 module?
I installed the 8.30 ps module, then when I tried to connect, I got the error below.

VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest VERBOSE: [CONNECT-OVMGMT] Exception caught when checking X-API version. **Connect-OVMgmt**: [Send-OVRequest]: The specified API version is not valid. Check the value of the X-API-Version header, then resend the request.

ChrisLynchHPE added a commit that referenced this issue Sep 11, 2024
- Initial HPE OneView 8.60 library release.
- Support for PowerShell 5 and 6 is now deprecated and is no longer supported.
- [#647] Fixed ConvertTo-OVPowerShellScript mishandling BIOS consistency policy when parsing a server profile template.
- [#642] Fixed incorrect use of internal variable within Update-OVServerFirmware.
- [#654] Fixed ConvertTo-OVPowerShellScript mishandling Tunnel uplink set resources.
- [#656] Fixed parameter evaluation bug with Update-OVServerProfile and the -Stage parameter.
- Added Cmdlets to manage HPE GreenLake for Compute Ops Managment - OneView Edition service configuration and status from the appliance.
- Added workaround to supporting Gen10 Plus V2 platforms and supporting firmware management.
- Added Update-OVRemoteSupportEntitlement Cmdlet to refresh remote support entitlement data with the backend.
- Updated Get-OVRemoteSupportSetting and Get-OVRemoteSupportEntitlementStatus to support interconnect resources.
- Added HPE GreenLake for Compute Ops Management - OneView Edition Cmdlets; Get-OVComputeOpsManagement, Set-OVComputeOpsManagement, Connect-OVComputeOpsManagement, Enable-OVComputeOpsManagement, Disable-OVComputeOpsManagement
- Added Alletra 9000 FC-NVMe support to Add-OVStorageSystem.
- Added MegaRAID support to New-OVServerProfileLogicalDiskController.
- Added Get-OVServerHardwareAvailableController to return discovered disk drive controllers for volume servers (DL, ML, Apollo) and drives.  New classes added HPEOneView.Servers.StorageController and HPEOneView.Servers.PhysicalDrive.
- Added the ability to specify controller returned from Get-OVServerHardwareAvailableController.
- Added the ability to specify specific drives in New-OVServerProfileLogicalDisk after invoking Get-OVServerHardwareAvailableController to get list of controllers and available drives that are part of the HPEOneView.Servers.StorageController.Drives property.
- Updated core library to handle web proxy in a more efficient method.
- Updated core library to use TLS1.2 only.
- [#659] Enhanced Show-OVFirmwareReport to provide available baseline version.
- [#662] Resolved issue with Update-OVServerProfile not handling -Stage parameter correctly.
- Enhanced New-OVBackup to require passphrase to create backup file.
- Enhanced Send-OVRequest to handle appliance certificate validation errors correctly.
- Changed Get-OVApplianceUpdateSchedule to Get-OVFirmwareBundleUpdateSchedule.  Alias to original Cmdlet is available for backwards compatibility.  Please update your scripts.
- Changed Set-OVApplianceUpdateSchedule to Set-OVFirmwareBundleUpdateSchedule.  Alias to original Cmdlet is available for backwards compatibility.  Please update your scripts.
- Changed Get-OVApplianceUpdate to Get-OVFirmwareBundleUpdate.  Alias to original Cmdlet is available for backwards compatibility.  Please update your scripts.
- Changed HPEOneView.Appliance.ApplianceUpdate class to HPEOneView.Appliance.FirmwareBundleUpdate.
- Changed HPEOneView.Appliance.ApplianceUpdateSchedule class to HPEOneView.Appliance.FirmwareBundleUpdateSchedule.
- Removed -PreviewOnly switch parameter from Update-OVServerFirmware, as the API doesn't provide a compliance feature.
- Fixed an issue with Set-OVFirmwareBundleUpdateSchedule where the value for -Time was not properly handled when converting to UTC time.

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
Projects
None yet
Development

No branches or pull requests

2 participants