cloudstack/server
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
..
conf CLOUDSTACK-9062: Improve S3 implementation. 2015-11-19 15:29:10 +01:00
resources Merge branch 'volume-upload' into master 2015-04-29 11:12:53 +05:30
scripts License header updates for the server folder. 2012-08-03 09:41:27 -04:00
src Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
test Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
pom.xml Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30