Azure / Azure/azure-functions-host

Sync Trigger fails when AzureWebJobsStorage is not set and functions host is running in Managed Environment (ACA)

Open
#10,686 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Logic Apps Hybrid runs on ACA on the customers Kubernetes server cluster and does not have any runtime dependency on Azure Storage.
So there is no AzureWebJobsStorage setting in Hybrid Logic Apps.

in that case the SyncTrigger always fails trying to connect to blob.
the code where issue exist is below
[https://github.com/Azure/azure-functions-host/blob/ba3e9ef990a9a5ebacaf47bbc3a71ed5f661e8ea/src/WebJobs.Script.WebHost/Management/FunctionsSyncManager.cs#L138-L142](https://github.com/Azure/azure-functions-host/blob/ba3e9ef990a9a5ebacaf47bbc3a71ed5f661e8ea/src/WebJobs.Script.WebHost/Management/FunctionsSyncManager.cs#L138-L142)

#### Check for a solution in the Azure portal
For issues in production, please check for a solution to common issues in the Azure portal before opening a bug. In the Azure portal, navigate to your function app, select `Diagnose and solve problems` from the left, and view relevant dashboards before opening your issue.

#### Investigative information

Please provide the following:

- Timestamp:
- Function App version:
- Function App name:
- Function name(s) (as appropriate):
- Invocation ID:
- Region:

#### Repro steps

Provide the steps required to reproduce the problem:

#### Expected behavior

Provide a description of the expected behavior.

#### Actual behavior

Provide a description of the actual behavior observed.

#### Known workarounds

Provide a description of any known workarounds.

#### Related information

Provide any related information

* Programming language used
* Links to source
* Bindings used

Contributor guide

Open the contributing guide

Research direction

Start in src/WebJobs.Script.WebHost/Management/FunctionsSyncManager.cs at lines 138-142 and trace the SyncTrigger path when AzureWebJobsStorage is absent. Reproduce the failure in an ACA Managed Environment configuration and define done as SyncTrigger completing without attempting the unavailable blob connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.