xapi-project / xen-api

The Xapi Project's XenAPI Server
http://xenproject.org/developers/teams/xapi.html
Other
346 stars 283 forks source link

CA-394444: `hard_shutdown` stuck behind a `pending` `shutdown` #5701

Closed GabrielBuica closed 3 months ago

GabrielBuica commented 3 months ago

VM.hard_shutdown does not cancel VM.shutdown operations.

In the case of losing the session during a failed VM.shutdown, we cannot recover with VM.hard_shutdown as it is not in the list of operations that are to be cancelled. These results in VM hanging until the requests time out.

Moreover, VM.shutdowm is missing from the vm_operation_table resulting in it being incorrectly displayed as (unknown operation).

edwintorok commented 3 months ago

Small typo in the commit message "disply", looks good otherwise, can you fix that and force push?

GabrielBuica commented 3 months ago

BVT 199847 passed