You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/10 09:46:11 UTC
[jira] [Commented] (CLOUDSTACK-9133) Two volume.delete usage events
are getting generated for destoy vm
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15050348#comment-15050348 ]
ASF GitHub Bot commented on CLOUDSTACK-9133:
--------------------------------------------
GitHub user priyankparihar opened a pull request:
https://github.com/apache/cloudstack/pull/1207
CLOUDSTACK-9133: Two volume.delete usage events are getting generated…
It was happening because event triggering was happening in UserVmManagerImpl.java and VolumeStateListener.java respectively. So i have removed it from UserVmManagerImpl.java.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/priyankparihar/cloudstack CLOUDSTACK-9133
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1207.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1207
----
commit 5af3fd1987e797358e9bc99232202225850ed2c1
Author: Priyank Parihar <pr...@citrix.com>
Date: 2015-12-10T07:14:06Z
CLOUDSTACK-9133: Two volume.delete usage events are getting generated for destoy vm.
----
> Two volume.delete usage events are getting generated for destoy vm
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-9133
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9133
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Reporter: Priyank Parihar
>
> Steps to reproduce the Bug ==>
> -----------------------------------------------------------
> 1- Deploy a VM
> 2- Destory VM
> 3- Check usage_event table.
> -----------------------------------------------------------
> Issue ==>
> Two volume.delete usage events are getting generated for destroy VM.
> | 127 | VOLUME.DELETE | 2 | 2015-12-08 09:30:18 | 1 | 25 | ROOT-14 | NULL | NULL | NULL | NULL | 0 | NULL |
> | 128 | VOLUME.DELETE | 2 | 2015-12-08 09:30:20 | 1 | 25 | ROOT-14 | NULL | NULL | NULL | NULL | 0 | NULL |
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)