-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update-OVServerFirmware $Server.romVersion.Split #642
Labels
6.60
Impacts HPE OneView 6.60 library
8.00
Impacts HPE OneView 8.00 library
8.30
Impacts HPE OneView 8.30 library
Bug
Impact - Medium
Regression
Comments
Thanks for catching this. |
ChrisLynchHPE
added
Impact - Medium
Regression
6.60
Impacts HPE OneView 6.60 library
8.00
Impacts HPE OneView 8.00 library
8.30
Impacts HPE OneView 8.30 library
labels
Sep 21, 2023
ChrisLynchHPE
referenced
this issue
Sep 22, 2023
…ency policy when parsing a server profile template. -- Added Update-OVRemoteSupportEntitlement Cmdlet to refresh remote support entitlement data with the backend. -- Updated core library to handle web proxy in a more efficient method. -- Updated core library to use TLS1.2 only. Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
ChrisLynchHPE
added a commit
that referenced
this issue
Oct 11, 2023
…ncy 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 Update-OVRemoteSupportEntitlement Cmdlet to refresh remote support entitlement data with the backend. - 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. Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
ChrisLynchHPE
added a commit
that referenced
this issue
Oct 14, 2023
- 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. Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
ChrisLynchHPE
added a commit
that referenced
this issue
Oct 16, 2023
- 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 Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
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 <chris.lynch@hpe.com>
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.00
Impacts HPE OneView 8.00 library
8.30
Impacts HPE OneView 8.30 library
Bug
Impact - Medium
Regression
In this function there is no variable $Server - The variable $Inputobject should be used.
I edited the psm1 file and now it works as expected.
Change Line 47981 from
$_ServerBaseID = $Server.romVersion.Split(" ")[0]
to
$_ServerBaseID = $Inputobject.romVersion.Split(" ")[0]
Expected Behavior
Update Firmware
Actual Behavior
An error is thrown:
C:\Program Files\WindowsPowerShell\Modules\HPEOneView.830\8.30.3534.1611\HPEOneView.830.psm1: line 47981
System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
Steps to reproduce
Try to start a Formware Update via Update-OVServerFirmware on any server
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:# Output from $PSVersionTable
The text was updated successfully, but these errors were encountered: