cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Grizzanti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5023) Deleting Port Forwarding Rule fails when generating usage events are enabled
Date Fri, 01 Nov 2013 15:39:18 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811364#comment-13811364
] 

David Grizzanti commented on CLOUDSTACK-5023:
---------------------------------------------

After looking into this a bit, it appears that the code that generated the usage event is
sending in '0' for the zoneId.  This is causing a NullPointerException in server/src/com/cloud/event/UsageEventUtils.java
when it attempts to get the DataCenter details since a 0 was passed in.

I have a proposed fix, which I'll submit to Review Board.

> Deleting Port Forwarding Rule fails when generating usage events are enabled
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5023
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5023
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: David Grizzanti
>            Assignee: David Grizzanti
>
> When generating usage events are enabled (using RabbitMQEventBus bean configuration),
deleting a port forwarding rule fails to delete the rule.
> What you see as a response from the API call is:
> { "queryasyncjobresultresponse" : {"accountid":"3f91b297-26e4-11e3-96f6-9e300504069a","userid":"3f91e743-26e4-11e3-96f6-9e300504069a","cmd":"org.apache.cloudstack.api.command.user.firewall.DeletePortForwardingRuleCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Command
failed due to Internal Server Error"},"created":"2013-11-01T11:31:02-0400","jobid":"a82a2ecb-2bcd-4f86-9d40-c4c9f0d85f6f"}
}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message