optscale icon indicating copy to clipboard operation
optscale copied to clipboard

Azure billing import with exports fails with 'NoneType' object has no attribute 'lower'

Open valent opened this issue 9 months ago • 3 comments

Describe the bug I upgraded to the latest version and tried import of bills using Azure exports options, this fails as below Image

To Reproduce Steps to reproduce the behavior:

  1. Upgrade to version 2025041101-public
  2. Import Azure bills with exports options.
  3. Check the events tab in dashboard

Expected behavior Resources and bills should be imported without any errors

Additional context Import without the exports option works as expected

valent avatar Apr 15 '25 11:04 valent

Hello @valent Please provide diworker service logs with error traceback. How to find logs please read in: https://hystax.com/documentation/optscale/private_deployments/kibana_logs.html

VR-Hystax avatar Apr 17 '25 08:04 VR-Hystax

Hi @VR-Hystax

Attached are the logs

diworker-logs.txt

valent avatar Apr 21 '25 09:04 valent

Hi @valent! Thanks for the report. Could you please provide a screenshot of your Azure export details?

Image

Please note that OptScale requires export with

  • Scope: Subscription
  • Frequency: Daily export of month-to-date costs.
  • Type of data: Cost and usage details (usage only).
  • Overwrite data is On.

nk-hystax avatar Apr 23 '25 07:04 nk-hystax