-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error while running the report #37
Comments
any update would be of great help |
Hello, Can I have more logs and the exact command you typed? Thanks. |
here you go. Command:
Here is the complete log.
|
The bill file I am using is more than 30 G and more than 3 million records. |
I guess your bucket is |
Well no, what i did is i created a bucket in one of testing account and
uploaded the bill file in to the bucket.
I am doing a POC to showcase on what type of reports we can get using this
tool.
All our accounts are merged with parent account for billing and i don't
have access to that acciunt, i can down load the bill data and can upload
the same to another s3 bucket for testing.
…On Tue, 8 Jan 2019, 10:24 pm Thibaut Cornolti ***@***.*** wrote:
I guess your bucket is billing-aws-cost-report, is it a bucket with a
report enabled?
You can check that here
https://console.aws.amazon.com/billing/home?#/reports
[image: image]
<https://user-images.githubusercontent.com/4880378/50846000-71516200-136e-11e9-8a23-8a07580394ca.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Afb7tCWL0EHGBlF3N37jZaW_t-pgSVTYks5vBM1NgaJpZM4ZzyBD>
.
|
Got it. So you should have a report enabled on your master account. A report is more than a single .csv, you have to download the entire bucket (sync it with the cli for example). To clarify everything, you can get two types of report with AWS :
Old report will be removed by AWS. |
I understand about the old report and new report on AWS.
Just to clarify, can't i just run this script against one whole months
bill and get the required informations?
Let's say i have a full details billing available for December in the zip
formate (Just one file)can't i use that as a source file on any of my s3
bucket and run the script against it to get all my finds for the month of
decemeber? ( including the sizing recommendation )
…On Tue, 8 Jan 2019, 11:02 pm Thibaut Cornolti ***@***.*** wrote:
Get it. So you should have a report enabled on your master account. A
report is more than a single .csv, you have to download the entire bucket
(sync it with the cli for example).
Are you allowed to do that?
To clarify everything, you can get two types of report with AWS :
-
Old report (https://console.aws.amazon.com/billing/home?#/preferences)
[image: image]
<https://user-images.githubusercontent.com/4880378/50848072-8250a200-1373-11e9-85bb-eb9cbaca4c9c.png>
-
New report (https://console.aws.amazon.com/billing/home?#/reports)
[image: image]
<https://user-images.githubusercontent.com/4880378/50848090-8f6d9100-1373-11e9-8d4d-a48273b3bc04.png>
Old report will be removed by AWS.
Our tool only works with the new type of report. You have to be sure
you're using it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Afb7tAeYsMgHTnAJ1hU_siJyu2U_Qlqxks5vBNYTgaJpZM4ZzyBD>
.
|
Sorry you can't, your file is probably in the old format (typically one .csv.zip generated per month), we do not support that report. |
Ok will try and let you know...
…On Wed, 9 Jan 2019, 12:18 am Thibaut Cornolti ***@***.*** wrote:
Sorry you can't, your file is probably in the old format (typically one
.csv.zip generated per month), we do not support that report.
However, you can use our tool without billing, just remove the --billing
argument. You'll just see no cost.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Afb7tDKfj6SU_wLnimgUv-vjqdl1Mp2Eks5vBOfogaJpZM4ZzyBD>
.
|
Ok! I look forward to your answer. |
I used the following command to execute without --billing and end up with the same error message.
Logs
Correct me if i am worng in using the .run.py command. |
I just talked with the team: I can help you to setup a report bucket though. |
Hi Thanks for your response, one more quick question, the tool actually use the CPU as the base point for the recommendation, I would like to know if we can have both memory and CPU? I know that cloud watch will target only of the CPU and not memory ( other than writing custom metrics), but yeh, just thought of check if we can have this included on the script to somehow get the memory information of the machine and based on that providing the recommendation. |
No you can't use memory to influence recommendations, as you said, it's not supported by CloudWatch and you would need to install a custom software on every single instance. |
alright thanks 👍 |
Thanks to you! 👍 You can close this issue as soon as you have no more question. |
I get similar error when running the script. Can you please tell me what to enter "--billing profile_name". When I ran the script with --billing default i get the same error message. Generating xlsx file... |
Hello,
Thanks. |
I can see the same error while running the reports, can you please suggest where it's going wrong. ./run.py --billing EBS esg-ebs-costing ebs-nv --ec2 EBS --xlsx-name EBS MyError json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) |
Hello,
Sorry for very late responds, I have hooked up some other project. Alright, here we go, I used the classic version of the run.py and I end up with below error
[ error ]
Traceback (most recent call last):
File "src/make_xlsx.py", line 630, in
main(name)
File "src/make_xlsx.py", line 612, in main
gen_weekly_variations(workbook, header_format, val_format)
File "src/make_xlsx.py", line 201, in gen_weekly_variations
with open(IN_ABSOLUTE_COST_PER_MONTH) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'out/absolute.csv'
Any suggestions would be of great help.
The text was updated successfully, but these errors were encountered: