HewlettPackard / POSH-HPEOneView

PowerShell language bindings library for HPE OneView.
http://hewlettpackard.github.io/POSH-HPEOneView/
125 stars 52 forks source link

Script release 6.60.3227.2799 failed with timeout if gathered LE DUMP takes more than 15 min #657

Open eduardo-gonzalez3-HPE opened 1 year ago

eduardo-gonzalez3-HPE commented 1 year ago

Expected Behavior

Script finished properly

 Microsoft.PowerShell.Core\FileSystem::\\alsnas001\infradocu\ConMacros\backupconf> New-OVSupportDump -Path "C:\FREMAP\Powershell\Logs\" -Type Appliance

Actual Behavior

Failed with timeout for more than 15 min. Issue only happen in 1 OV, so is clearley that take more than 15 min to run script.

Steps to reproduce

S Microsoft.PowerShell.Core\FileSystem::\\alsnas001\infradocu\ConMacros\backupconf> New-OVSupportDump -Path "C:\FREMAP\Powershell\Logs\" -Type Appliance
Please wait while the Support Dump is generated. This can take a few minutes...
New-OVSupportDump : The operation has timed out
At line:1 char:1
+ New-OVSupportDump -Path "C:\FREMAP\Powershell\Logs\" -Type Appliance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-OVSupportDump], WebException
+ FullyQualifiedErrorId : WebException,New-OVSupportDump
S Microsoft.PowerShell.Core\FileSystem::\\alsnas001\infradocu\ConMacros\backupconf> New-OVSupportDump -Path "C:\FREMAP\Powershell\Logs\" -Type Appliance
Please wait while the Support Dump is generated. This can take a few minutes...
New-OVSupportDump : The operation has timed out
At line:1 char:1
+ New-OVSupportDump -Path "C:\FREMAP\Powershell\Logs\" -Type Appliance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-OVSupportDump], WebException
+ FullyQualifiedErrorId : WebException,New-OVSupportDump

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion): 6.60.3227.2799

HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer): OV Version : 6.60.03-0473865,2023-01-27T18:19:14+0000

Output from $PSVersionTable on your Windows Host:

# Output from $PSVersionTable 

PowerShell 5.1 
ChrisLynchHPE commented 1 year ago

This is an older version of the library. The challenge here is not increasing the timeout beyond a value that would otherwise still fail for other reasons. So, increasing the timeout can be done, but it's not a desired change here. I'll have to look into another solution here than simply extending the timeout further.

eduardo-gonzalez3-HPE commented 1 year ago

Good morning @ChrisLynchHPE, could you check this enhancement for the script?

Thankd and regards

eduardo-gonzalez3-HPE commented 9 months ago

@ChrisLynchHPE Hello, do you have some update about this?

Thank you.

eduardo-gonzalez3-HPE commented 7 months ago

@ChrisLynchHPE Greetings, do you hace some update about this ISSUE?

Thanks and regards