We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Syncronis commands that run/wait longer than 15 seconds should complete successfully. A variable to change the timeout length should be available.
If a command takes longer than 15 seconds to return the PowerShell module times out.
$body = New-Object -TypeName PSObject -Property @{'id'=$($Node.id + '-' + $HDD.id)} $RegDisk = Invoke-RubrikRESTCall -Endpoint $('cluster/me/disk/' + $Node.id + '-' + $HDD.id) -Method PATCH -api 'internal' -Body $body Invoke-WebRequest : The operation has timed out At C:\Program Files\WindowsPowerShell\Modules\Rubrik\4.0.0.183\Private\Invoke-RubrikWebRequest.ps1:16 char:9 + Invoke-WebRequest -UseBasicParsing @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Please provide detailed steps for reproducing the issue.
cluster/me/disk/<Node.ID>-<HDD.id>
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Get-Module -ListAvailable Rubrik
PS C:\> Get-Module -ListAvailable Rubrik Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 4.0.0.183 Rubrik {Connect-Rubrik, Disconnect-Rubrik, Export-RubrikDatabase, Export-RubrikReport...} Script 4.0.0.157 Rubrik {Connect-Rubrik, Disconnect-Rubrik, Export-RubrikDatabase, Export-RubrikReport...}
Get-PSVersion
PS C:\> Get-PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 14409 1012
C:> [Environment]::OSVersion
Platform ServicePack Version VersionString
Win32NT 6.3.9600.0 Microsoft Windows NT 6.3.9600.0
None
The text was updated successfully, but these errors were encountered:
I would also like to see the timeout to be configurable. Also running into timeouts in large customer environments (parsing cluster events).
Sorry, something went wrong.
Updated changelog.md for #216
73d4d9f
Updated changelog for #216
717a6e6
Merge pull request #636 from rubrikinc/jaap-216
fc17804
Resolves longer running operations causing timeouts - #216
jaapbrasser
Successfully merging a pull request may close this issue.
Expected Behavior
Syncronis commands that run/wait longer than 15 seconds should complete successfully. A variable to change the timeout length should be available.
Current Behavior
If a command takes longer than 15 seconds to return the PowerShell module times out.
Failure Information (for bugs)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
cluster/me/disk/<Node.ID>-<HDD.id>
endpoint to tell the cluster to add/format the new disk.Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Get-Module -ListAvailable Rubrik
Get-PSVersion
C:> [Environment]::OSVersion
Platform ServicePack Version VersionString
Win32NT 6.3.9600.0 Microsoft Windows NT 6.3.9600.0
Failure Logs
None
The text was updated successfully, but these errors were encountered: