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

FinOps hub deployment error / AzDataFactory Trigger script failure - Invalid Time Zone #1085

Open
ablanken opened this issue Nov 3, 2024 · 2 comments
Labels
Needs: Triage 🔍 Untriaged issue needs to be reviewed Tool: FinOps hubs Data pipeline solution Type: Bug 🐛 Something isn't working

Comments

@ablanken
Copy link

ablanken commented Nov 3, 2024

🐛 Problem

The FinOps hub deployment to Azure using the template fails when deploying to Australia East.

👣 Repro steps

Deploy the FinOps hub to Azure using the Azure Commercial template button @ https://microsoft.github.io/finops-toolkit/help/deploy. Set the location to Australia East.

🤔 Expected

No errors reported.

📷 Screenshots

Image

`Executing script: .\userscript.ps1
Starting trigger msexports_FileAdded...
WARNING: You're using Az version 8.0.0. The latest version of Az is 12.4.0. Upgrade your Az modules using the following commands:
Update-Module Az -WhatIf -- Simulate updating your Az modules.
Update-Module Az -- Update your Az modules.
There will be breaking changes from 8.0.0 to 12.4.0. Open https://go.microsoft.com/fwlink/?linkid=2241373 and check the details.
done...
Starting trigger config_SettingsUpdated...
done...
Starting trigger config_DailySchedule...
Start-AzDataFactoryV2Trigger: /mnt/azscripts/azscriptinput/userscript.ps1:29
Line |
29 | $triggerOutput = Start-AzDataFactoryV2Trigger
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| HTTP Status Code: BadRequest Error Code: BadRequest Error Message:
| ErrorCode=InvalidWorkflowTriggerRecurrence, ErrorMessage=The recurrence
| of trigger has an invalid time zone 'Australian Eastern Standard Time'.

| Request Id: cc0f0914-eefa-48ad-a3b7-bd555f5efdf7 Timestamp
| (Utc):11/03/2024 22:35:20

failed...
Starting trigger config_MonthlySchedule...
Start-AzDataFactoryV2Trigger: /mnt/azscripts/azscriptinput/userscript.ps1:29
Line |
29 | $triggerOutput = Start-AzDataFactoryV2Trigger | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | HTTP Status Code: BadRequest Error Code: BadRequest Error Message: **| ErrorCode=InvalidWorkflowTriggerRecurrence, ErrorMessage=The recurrence | of trigger has an invalid time zone 'Australian Eastern Standard Time'.** | Request Id: 84e3e79f-7559-4242-8ad0-aae095ff6030 Timestamp | (Utc):11/03/2024 22:35:21

@ablanken ablanken added Needs: Triage 🔍 Untriaged issue needs to be reviewed Type: Bug 🐛 Something isn't working labels Nov 3, 2024
@arthurclares arthurclares added this to the 2024-11 - November milestone Nov 7, 2024
@flanakin
Copy link
Collaborator

flanakin commented Nov 8, 2024

@MSBrett is this tied to the time zones you added in bicep? I see a reference to "Standard Time". Could this be a daylight saving time issue? Or maybe it's because of the inconsistency between Australia and US daylight saving changes? Just guessing. Time zones are painful.

@flanakin flanakin added the Tool: FinOps hubs Data pipeline solution label Nov 8, 2024
@psilantropy
Copy link

psilantropy commented Nov 11, 2024

I have this same issue coming from v5 if you need any additional information or troubleshooting. I am not in an AU timezone, but deploy resources in Australia East.

But I think i'll have to make another issue for other problems on this upgrade. Thanks :)

ErrorCode=InvalidWorkflowTriggerRecurrence, ErrorMessage=The recurrence of trigger has an invalid time zone 'Australian Eastern Standard Time'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Untriaged issue needs to be reviewed Tool: FinOps hubs Data pipeline solution Type: Bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants