Skip to content

Commit

Permalink
Retry VM lacks feature errors as well. PV drivers aren't loaded when …
Browse files Browse the repository at this point in the history
…trying to reboot
  • Loading branch information
ddelnano committed Sep 28, 2023
1 parent d5311a4 commit 0a2e447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func IsRetryableError(err jsonrpc2.Error) bool {
// making XO api calls during this time can return a VM_MISSING_PV_DRIVERS error. These errors can
// be treated as retryable since we want to wait until the VM has finished booting and its PV driver
// is initialized.
if err.Code == 11 {
if err.Code == 11 || err.Code == 14 {
return true
}
return false
Expand Down

0 comments on commit 0a2e447

Please sign in to comment.