cloudstack/server/test
nnesic d989c5d8be Emit a VOLUME_DELETE usage event when account deletion destroys an instance.
Currently the logic about volume deletion seems to be that an event
should be emitted when the volume delete is requested, not when the
deletion completes.

The VolumeStateListener specifically ignores destroy events for ROOT
volumes, assuming that the ROOT volume only gets deleted when the
instance is destroyed and the UserVmManager should take care of it.

When deleting an account, all of its resources get destroyed, but the
instance expunging circumvents the UserVmManager, and thus we miss the
VOLUME_DESTROY usage event. The account manager now attempts to
propperly destroy the vm before expunging it. This way the destroy
logic is respected, including the event emission.
2016-10-21 09:26:59 +00:00
..
com/cloud Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
org Merge release branch 4.6 to master 2015-12-03 20:42:41 +01:00
resources CLOUDSTACK-8433: remove awsapi db usage and add upgrade cleanup path 2015-05-06 15:22:04 +02:00
async-job-component.xml fixed references in async-job-component.xml for storage allocators 2015-11-28 14:35:21 -02:00
sync-queue-component.xml License header updates for the server folder. 2012-08-03 09:41:27 -04:00