You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VM snapshot deletion failure may put it indefinitely in expunging state #4201
the statemachine VMSnapshot.s_fsm, the transition s_fsm.addTransition(Expunging, Event.OperationSucceeded, Removed) is never executed for this to happen (or an exception occurs). DefaultVMSnapshotStrategy.processAnswer(final VMSnapshotVO vmSnapshot, UserVm userVm, final Answer as, Long hostId) is were is probably should happen.
@shwstppr not reliably, that I know of. I happens regularly though. usually after a full smoke test run, there will be some remnant VMs in expunging state.
@shwstppr - create a VM snapshot, delete the snapshot when it's in expunging state, (a) try to restart mgmt server, (b) don't restart mgtm server but see if the GC thread kicks in to purge the VM snapshot.
Activity
DaanHoogland commentedon Jan 28, 2021
the statemachine
VMSnapshot.s_fsm, the transitions_fsm.addTransition(Expunging, Event.OperationSucceeded, Removed)is never executed for this to happen (or an exception occurs).DefaultVMSnapshotStrategy.processAnswer(final VMSnapshotVO vmSnapshot, UserVm userVm, final Answer as, Long hostId)is were is probably should happen.shwstppr commentedon Mar 10, 2021
@rhtyd @DaanHoogland are there any known reproduction steps?
DaanHoogland commentedon Mar 11, 2021
@shwstppr not reliably, that I know of. I happens regularly though. usually after a full smoke test run, there will be some remnant VMs in expunging state.
yadvr commentedon Mar 24, 2021
@shwstppr - create a VM snapshot, delete the snapshot when it's in expunging state, (a) try to restart mgmt server, (b) don't restart mgtm server but see if the GC thread kicks in to purge the VM snapshot.
yadvr commentedon Apr 10, 2021
Closing issue, have a PR - #4898
server: Prevent vm snapshots being indefinitely stuck in Expunging st…
yadvr commentedon Apr 12, 2021
Fixed in #4898