cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4290) listusage record is not lisitng records for PF rules
Date Tue, 13 Aug 2013 13:29:48 GMT

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

ASF subversion and git services commented on CLOUDSTACK-4290:
-------------------------------------------------------------

Commit a6d64685661222b8632252b6042e2c8013419eca in branch refs/heads/4.2 from [~kishan]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a6d6468 ]

CLOUDSTACK-4289, CLOUDSTACK-4290, CLOUDSTACK-4291 : Check for null when populated UUID while
listing usage records.
Filed CLOUDSTACK-4299 to make these entities always available.

                
> listusage record is not lisitng records  for PF rules
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-4290
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4290
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Usage
>    Affects Versions: 4.2.0
>            Reporter: shweta agarwal
>            Assignee: Kishan Kavala
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Started Usage server
> Created PF rules
> Once usage server has processed the job call listusage record api with type =12
> list usagerecords startdate=2013-08-07 enddate=2013-08-14 accountid=5 type=12
> Notice no usage record for PF rule is displayed
> SQL entries to show PF rules are there 
> usage_event shows 
> "id"	"type"	"account_id"	"created"	"zone_id"	"resource_id"	"resource_name"	"offering_id"
"template_id"	"size"	"resource_type"	"processed"	"virtual_size"
> "2600"	"NET.RULEADD"	"5"	"2013-08-12 11:41:34"	"1"	"3"	""	""	""	""	""	"1"	""
> "2603"	"NET.RULEDELETE"	"5"	"2013-08-12 11:44:37"	"0"	"3"	""	""	""	""	""	"1"	""
> cloud_usage table shows 
> "id"	"zone_id"	"account_id"	"domain_id"	"description"	"usage_display"	"usage_type"	"raw_usage"
"vm_instance_id"	"vm_name"	"offering_id"	"template_id"	"usage_id"	"type"	"size"	"network_id"
"start_date"	"end_date"	"virtual_size"
> "170092"	"1"	"5"	"1"	"Port Forwarding Rule: 3 usage time"	"0.050834 Hrs"	"12"	"0.0508336164057255"
""	""	""	""	"3"	""	""	""	"2013-08-12 11:40:25"	"2013-08-12 11:50:00"	""

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message