Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Report when I try to create aws-ec2-cluster-cost #1010

Closed
nutzhub opened this issue Oct 30, 2019 · 3 comments
Closed

Invalid Report when I try to create aws-ec2-cluster-cost #1010

nutzhub opened this issue Oct 30, 2019 · 3 comments

Comments

@nutzhub
Copy link

nutzhub commented Oct 30, 2019

I enable AWS report and I want to test running report given

apiVersion: metering.openshift.io/v1
kind: Report
metadata:
  name: aws-ec2-cluster-cost-run-once
spec:
  query: "aws-ec2-cluster-cost"
  reportingStart: "2019-10-01T00:00:00Z"
  reportingEnd: "2019-10-31T00:00:00Z"

This gives error
failed to validate ReportQuery dependencies aws-ec2-cluster-cost: ReportQueryDependencyValidationError: uninitialized ReportDataSource dependencies: aws-billing, aws-ec2-billing-data-raw

I can not integrate with AWSBillreport because my account is linked account. That why I wanna run it as schudler or once to get usage information

@nutzhub
Copy link
Author

nutzhub commented Oct 30, 2019

Ahaa I might misunderstand about a way it works. Pls confirm the awsBillreport is letting metering query aws usage data from s3 and manipulate a new report ?

@chancez
Copy link
Contributor

chancez commented Oct 30, 2019

This is a known bug. We're working on fixing this in 4.2 and 4.3 #993

@chancez
Copy link
Contributor

chancez commented Oct 30, 2019

Either way, this requires access to a bucket containing billing data. You don't necessarily need access to the parent billing account, but you need access to the S3 bucket containing the bills. There is no other way.

@nutzhub nutzhub closed this as completed Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants