shweta agarwal created CLOUDSTACK-4290:
------------------------------------------
Summary: 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