Open antonystefanov opened 4 months ago
Yes, this would happen if cancelled. One option is to lock the option to cancel in the console (like Platform Tools) and another to error handle a little more gracefully.
@bhumitra - would you mind taking a look at this one and suggest an approach?
I looked at this one, if we do a ctrl+c, it cancels the script, but doesnt cancel the operation on SDDC manager.
Enhancements to the PS module -
'Marking this issue as stale due to inactivity. This helps us focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!'
Reassigning to @garlicNova.
Code of Conduct
Description
Generate VCFHealth report:
Fails with error:
Use Case(s)
Step 1: Run the report generation
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -allDomains
Step 2: Then interrupt with CTRL+C
Step 3: Then run again:
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -allDomains
Fails with error that SOS is in progress
OPERATION_IN_PROGRESS
Step 4: Wait 10+ mins and retry the report generation - completes with success
Potential Configuration
VCF 5.1.1 (GA)
References
No response