- Community Home
- >
- Software
- >
- HPE OneView
- >
- Save-HPOVServerProfile applies baseline with force...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2020 03:17 PM
тАО02-26-2020 03:17 PM
Save-HPOVServerProfile applies baseline with force even that force is set to $false
Hi,
I'm usign HPOneView 4.20.2290.1501.
Below code upgrades firmware on blade with force, while flag is set to false.
Also Wait-HPOVTaskComplete returns $null first, then completes correctly.
Any workaround for this?
$serverProfile = Send-HPOVRequest -Uri $server.serverProfileUri
$firmwareBaseline = Get-HPOVBaseline | Where {$_.ISOFileName -eq $SPP.filename}
$ServerProfile.firmware.manageFirmware = $true
$ServerProfile.firmware.forceInstallFirmware = $false
$ServerProfile.firmware.firmwareBaselineUri = $firmwareBaseline.Uri
$ServerProfile.firmware.firmwareInstallType = "FirmwareOnlyOfflineMode"
$Task = Save-HPOVServerProfile -InputObject $ServerProfile -Async
do {
#Wait task returned $null in middle, since update got completed, but not firmware upgrade
$ret = $Task | Wait-HPOVTaskComplete
} while ($ret -eq $null)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2020 10:23 AM - edited тАО02-27-2020 10:24 AM
тАО02-27-2020 10:23 AM - edited тАО02-27-2020 10:24 AM
Re: Save-HPOVServerProfile applies baseline with force even that force is set to $false
All Save-HPOVServerProfile does is issue the PUT API call to save the resource. It does not modify the provided object. I would ask that you go start a new thread on the project Issue tracker, and follow the instructions in the submit new bug page.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2020 03:13 AM
тАО03-04-2020 03:13 AM
Re: Save-HPOVServerProfile applies baseline with force even that force is set to $false
Yes, I agreed with Chris reply and request you to start a new thread on the project Issue tracker.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]