Closed j-crawford17 closed 2 years ago
This is caused by the SPP/SSP containing multiple, duplicate keys, which PowerShell/C# does not allow. Yes, this is fixed in newer versions of the library. Unfortunately, the 5.00 library is no longer supported here. Please update your use of the library and OneView to a current release.
Hey Chris - Unfortunately we're currently blocked from upgrading beyond 5.00 due to a00101430en_us until our engineers can finalize upgrading the Emulex firmware on hundreds of production systems. Are you aware of a workaround to get our ~300 Server Profile Templates modified?
Yes. You can always natively edit the resource objects directly. For instance, use the following:
$BaselinesUri = "/rest/firmware-drivers"
$Baselines = Send-HPOVRequest -Uri $BaselinesUri
$Baseline = $Baselines.members | Where name -eq "Baseline Name"
$SPT = Get-HPOVServerProfileTemplate -Name MyTemplateName
$SPT.firmware.firmwareBaselineUri = $Baseline.uri
# Specify one value: "FirmwareOnly", "FirmwareAndOSDrivers", or "FirmwareOnlyOfflineMode"
$SPT.firmware.firmwareInstallType = "FirmwareOnly"
$SPT.firmware.firmwareActivationType = "Immediate"
Save-HPOVServerProfileTemplate -InputObject $SPT | Wait-HPOVTaskComplete
Great! Thank you for the follow up.
Closing due to no further activity.
When running the Get-HPOVBaseline commandlet, I'll get the following error
Using Module - HPOneview.500
Error only occurs on OneView 5.00.02. Seems to run fine on OneView 5.30 and above.