You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Running Update-OVServerProfile -SANStorage -Connections -Reapply -Confirm:$False
Server Profile should update these components without issue or error.
ps>$Profile="servername"
ps>$b=Get-OVServerProfile-Name $Profile|Update-OVServerProfile-SANStorage -Connections -Reapply -Confirm:$False
ps>$b
Appliance Name Owner Created Duration TaskState PercentComplete
servername reapply user 11/17/202310:15:04 AM 00:00:04 Error 100
Actual Behavior
Fails due to not being powered off for firmware, even when firmware is not being selected in the update syntax, and firmware is not staged or pending otherwise.
ps>$b.taskErrorsdata :
details :
errorCode : ServerNotOffWithCauseForNoServerChange
errorSource :
message : The requested changes cannot be applied because {"name":"<location>","uri":"/rest/server-hardware/61323050-3931-584A-5133-3333301D3034"} is powered
on and the changes made to the following sections can only be applied when the power is off:
* Firmware
nestedErrors : {}
recommendedActions : {Power off the server or adjust the settings and retry. {"name":"Learn more","uri":"/doc#/cic/profiles/edit"}}
This is behaving by design. The Cmdlet will only generate a terminating error when the API rejects the attempted call (ex. malformed API call). You will need to monitor the returned async task for completion, success or failure.
Expected Behavior
When Running
Update-OVServerProfile -SANStorage -Connections -Reapply -Confirm:$False
Server Profile should update these components without issue or error.
Actual Behavior
Fails due to not being powered off for firmware, even when firmware is not being selected in the update syntax, and firmware is not staged or pending otherwise.
Steps to reproduce
Version Information
HPEOneView.630 PoSH Module
The text was updated successfully, but these errors were encountered: