ice icon indicating copy to clipboard operation
ice copied to clipboard

Empty dashboard after running app

Open mrkkhattak opened this issue 9 years ago • 2 comments

This is my ice.properties file:

ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=threeyear
ice.reservationUtilization=MEDIUM
ice.highstockUrl=http://code.highcharts.com/stock/highstock.js
ice.urlPrefix=
ice.fromEmail=
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=aws-billing
ice.billing_payerAccountId=ACCOUNT_NUMBER
ice.startmillis=1364774400000
ice.companyName=Example Inc.
ice.work_s3bucketname=aws-billing-ice
ice.work_s3bucketprefix=ice
ice.processor.localDir=/home/meraj/ice_processor
ice.reader.localDir=/home/meraj/ice_reader
ice.monthlycachesize=12
ice.account.account1=ACCOUNT_NUMBER
ice.owneraccount.account1.role=ice

When I start ice with: ./grailsw -Djava.net.preferIPv4Stack=true -Dice.s3AccessKeyId=AWSKEY -Dice.s3SecretKey=AWSSECRET run-app

The application runs and it says 'Server running. Browse to http://localhost:8080/ice' but still when I access the ice dashboard it shows that as empty.

I have the billing folder created correctly and AWS is putting billing data there. Accessing dashboard prints such messages in logs: 2016-08-08 09:56:59,994 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file usage-hourly-/usage-hourly-report/20160801-20160901/f709592e-c1ea-480d-907f-086ad91d3a19/usage-hourly-report-1.csv.gz

I have same ice.properties file plaed at ~/ice/src/java/, /home/meraj/ice_processor and /home/meraj/ice_reader. Can anyone review and let me know if I am missing anything or there is an issue with ICE? Thanks

mrkkhattak avatar Aug 08 '16 10:08 mrkkhattak

@mrkkhattak Hey! did you happen to find the solution to this? I am stuck with the same scenario.

vaniparidhyani avatar Sep 15 '16 11:09 vaniparidhyani

@mrkkhattak @vaniparidhyani Might be a little late. But incase someone else have this problem, you should enable everything from preferences in your Billing & Cost management UI. This will generate the files ice requires and in the format it requires. And you don't actually have to do "Create Reports" yourselves. In the preferences, you can already specify a bucket where these should be generated.

bidesh avatar Oct 31 '16 11:10 bidesh