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

Datafactory pipeline run error - BilledCost Column Missing #701

Open
usvjosh opened this issue May 14, 2024 · 3 comments
Open

Datafactory pipeline run error - BilledCost Column Missing #701

usvjosh opened this issue May 14, 2024 · 3 comments
Labels
Area: Documentation Documentation updates Solution: FinOps hubs Data pipeline solution
Milestone

Comments

@usvjosh
Copy link

usvjosh commented May 14, 2024

🐛 Problem

I'm seeing this pipeline error when any data that is dropped into the storage account from the billing export of my EA billing account.

Operation on target Convert CSV failed: ErrorCode=MappingColumnNameNotFoundInSourceFile,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Column 'BilledCost' specified in column mapping cannot be found in 'finops2_b8741481-faa2-4308-85cf-816fbebd1f76.csv' source file.,Source=Microsoft.DataTransfer.ClientLibrary,'

👣 Repro steps

I deployed the latest finops hub today in my azure tenant, I followed the instructions for adding the export configuration to the letter. No matter how I configure the export I get the same error.

These are the fields in the raw CSV file from the export:
DepartmentName,AccountName,AccountOwnerId,SubscriptionGuid,SubscriptionName,ResourceGroup,ResourceLocation,AvailabilityZone,UsageDateTime,ProductName,MeterCategory,MeterSubcategory,MeterId,MeterName,MeterRegion,UnitOfMeasure,UsageQuantity,ResourceRate,PreTaxCost,CostCenter,ConsumedService,ResourceType,InstanceId,Tags,OfferId,AdditionalInfo,ServiceInfo1,ServiceInfo2,Currency

🤔 Expected

Normally this would simply process the data. I have an older version of the finops hub deployed and it works just fine. I noticed the new finops hub deployment configures datafactory a bit differently. We are looking to move to the latest finops hub version but ran into this issue.

📷 Screenshots

N/A

ℹ️ Additional context

The components deployed thus far are from the below link, start at the "How to use this template" section. I have not made any customizations to the process thus far.
https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/finops-hub/

🙋‍♀️ Ask for the community

Please let me know if I'm doing something wrong, what settings to double check, and if more information is needed.

@usvjosh usvjosh added Needs: Triage 🔍 Untriaged issue needs to be reviewed Type: Bug 🐛 Something isn't working labels May 14, 2024
@usvjosh
Copy link
Author

usvjosh commented May 14, 2024

I found my issue. This other guide has info around a new preview export config with FOCUS. This is required with the new hub. The first set of instructions didn't mention this from what i saw.

https://microsoft.github.io/finops-toolkit/hubs

@arthurclares
Copy link
Contributor

I'm leaving this open to remember to update the troubleshooting guide with this error before the 0.4 release.

@arthurclares arthurclares added Status: 📦 Pending release Issue will be included in the next release and removed Needs: Triage 🔍 Untriaged issue needs to be reviewed labels May 20, 2024
@flanakin
Copy link
Contributor

@usvjosh Do you recall where you saw instructions that didn't mention this? We should find and update those and also see if we can add some more debugging into the report itself.

@flanakin flanakin added Area: Documentation Documentation updates Solution: FinOps hubs Data pipeline solution and removed Type: Bug 🐛 Something isn't working Status: 📦 Pending release Issue will be included in the next release labels May 25, 2024
@flanakin flanakin added this to the May 2024 milestone May 25, 2024
@flanakin flanakin modified the milestones: May 2024, June 2024 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Documentation updates Solution: FinOps hubs Data pipeline solution
Projects
None yet
Development

No branches or pull requests

3 participants