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

file report-current.csv does not exist error #1

Open
robertgates55 opened this issue Aug 23, 2022 · 7 comments
Open

file report-current.csv does not exist error #1

robertgates55 opened this issue Aug 23, 2022 · 7 comments

Comments

@robertgates55
Copy link

Installed using the latest helm chart the pod crashloops. I enabled log.level=debug by modifying the deployment, and can see it's successfully fetching the cur, but then failing to find the file I guess it's supposed to export?

ts=2022-08-23T10:43:29.648Z caller=main.go:153 level=info msg="Starting aws-cost-exporter" version="(version=, branch=, revision=)"
ts=2022-08-23T10:43:29.648Z caller=main.go:154 level=info msg="Build context" build_context="(go=go1.17.10, user=, date=)"
ts=2022-08-23T10:43:34.997Z caller=compute.go:37 level=debug msg="Opened database" repository=/var/lib/aws-cost-exporter/repository
ts=2022-08-23T10:43:34.997Z caller=compute.go:62 level=debug msg="Running query" name=common.sql
ts=2022-08-23T10:43:34.998Z caller=compute.go:43 level=debug msg="Closed database"
ts=2022-08-23T10:43:34.998Z caller=main.go:184 level=error err="[L:14 C:6] file `report-current.csv` does not exist"
Stream closed EOF for aws-cost-exporter/aws-cost-exporter-5b685bc98c-cmds9 (aws-cost-exporter)

Any clues what might be going on?

@robertgates55 robertgates55 changed the title File report-current.csv does not exist" error file report-current.csv does not exist error Aug 23, 2022
@robertgates55
Copy link
Author

        {
            "ReportName": "cost-summary",
            "TimeUnit": "HOURLY",
            "Format": "textORcsv",
            "Compression": "GZIP",
            "AdditionalSchemaElements": [
                "RESOURCES"
            ],
            "S3Bucket": "kubecost-reports",
            "S3Prefix": "/",
            "S3Region": "us-east-1",
            "AdditionalArtifacts": [],
            "RefreshClosedReports": false,
            "ReportVersioning": "CREATE_NEW_REPORT"
        }
    ]

Is the cur

@st8ed
Copy link
Owner

st8ed commented Oct 9, 2022

AWS doesn't instantly generate CUR report files after creating/updating CUR configuration, and it seems this is the case. I see AWS uploads reports twice a day on schedule, but YMMV.

Thank you for reporting, I'll add a more user-friendly error message.

itsmegb pushed a commit to itsmegb/aws-cost-exporter that referenced this issue Jun 30, 2023
@DavidChili34
Copy link

Hello, i have same issue, what i can do?

@devang704
Copy link

Having same issue, any solution ?

ts=2024-02-07T06:19:18.344Z caller=main.go:153 level=info msg="Starting aws-cost-exporter" version="(version=, branch=, revision=)" ts=2024-02-07T06:19:18.344Z caller=main.go:154 level=info msg="Build context" build_context="(go=go1.17.10, user=, date=)" ts=2024-02-07T06:19:18.458Z caller=main.go:184 level=error err="[L:14 C:6] file report-current.csvdoes not exist"

@DavidChili34
Copy link

nope, but for me work this https://github.com/alanwds/aws-cost-exporter

@devang704
Copy link

nope, but for me work this https://github.com/alanwds/aws-cost-exporter

Does this giving detailed information, like Pricing info for all the individual services? e.g: all individual ec2 instances and s3 buckets

@GSA27
Copy link

GSA27 commented Apr 26, 2024

Having same issue, any solution

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

5 participants