Skip to content

Commit 39b3645

Browse files
authored
Merge pull request #200391 from nabeelp/docs-editor/functions-recover-storage-acco-1654267190
Adding guidance around Linux container version misconfiguration
2 parents f41cde9 + 656b4b9 commit 39b3645

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

articles/azure-functions/functions-recover-storage-account.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ In the preceding step, if you can't find a storage account connection string, it
3131
### Required application settings
3232

3333
* Required:
34-
* [`AzureWebJobsStorage`](./functions-app-settings.md#azurewebjobsstorage)
34+
* [`AzureWebJobsStorage`](./functions-app-settings.md#azurewebjobsstorage)
3535
* Required for Premium plan functions:
36-
* [`WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`](./functions-app-settings.md)
37-
* [`WEBSITE_CONTENTSHARE`](./functions-app-settings.md)
36+
* [`WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`](./functions-app-settings.md)
37+
* [`WEBSITE_CONTENTSHARE`](./functions-app-settings.md)
3838

3939
For more information, see [App settings reference for Azure Functions](./functions-app-settings.md).
4040

@@ -55,6 +55,7 @@ Your function app must be able to access the storage account. Common issues that
5555
* The function app is deployed to your App Service Environment (ASE) without the correct network rules to allow traffic to and from the storage account.
5656

5757
* The storage account firewall is enabled and not configured to allow traffic to and from functions. For more information, see [Configure Azure Storage firewalls and virtual networks](../storage/common/storage-network-security.md?toc=%2fazure%2fstorage%2ffiles%2ftoc.json).
58+
5859
* Verify that the `allowSharedKeyAccess` setting is set to `true` which is its default value. For more information, see [Prevent Shared Key authorization for an Azure Storage account](../storage/common/shared-key-authorization-prevent.md?tabs=portal#verify-that-shared-key-access-is-not-allowed).
5960

6061
## Daily execution quota is full
@@ -63,7 +64,7 @@ If you have a daily execution quota configured, your function app is temporarily
6364

6465
To verify the quota in the [Azure portal](https://portal.azure.com), select **Platform Features** > **Function App Settings** in your function app. If you're over the **Daily Usage Quota** you've set, the following message is displayed:
6566

66-
> "The Function App has reached daily usage quota and has been stopped until the next 24 hours time frame."
67+
> "The Function App has reached daily usage quota and has been stopped until the next 24 hours time frame."
6768
6869
To resolve this issue, remove or increase the daily quota, and then restart your app. Otherwise, the execution of your app is blocked until the next day.
6970

@@ -78,16 +79,33 @@ Your function app might be unreachable for either of the following reasons:
7879
The Azure portal makes calls directly to the running app to fetch the list of functions, and it makes HTTP calls to the Kudu endpoint. Platform-level settings under the **Platform Features** tab are still available.
7980

8081
To verify your ASE configuration:
82+
8183
1. Go to the network security group (NSG) of the subnet where the ASE resides.
8284
1. Validate the inbound rules to allow traffic that's coming from the public IP of the computer where you're accessing the application.
83-
85+
8486
You can also use the portal from a computer that's connected to the virtual network that's running your app or to a virtual machine that's running in your virtual network.
8587

8688
For more information about inbound rule configuration, see the "Network Security Groups" section of [Networking considerations for an App Service Environment](../app-service/environment/network-info.md#network-security-groups).
8789

90+
## Container image unavailable (Linux)
91+
92+
For Linux function apps that run from a container, the "Azure Functions runtime is unreachable" error can occur when the container image being referenced is unavailable or fails to start correctly.
93+
94+
To confirm that the error is caused for this reason:
95+
96+
1. Navigate to the Kudu endpoint for the function app, which is located at `https://scm.<FUNCTION_APP>.azurewebsites.net`, where `<FUNCTION_APP>` is the name of your app.
97+
98+
1. Download the Docker logs ZIP file and review them locally, or review the docker logs from within Kudu.
99+
100+
1. Check for any errors in the logs that would indicate that the container is unable to start successfully.
101+
102+
Any such error would need to be remedied for the function to work correctly.
103+
104+
When the container image can't be found, you should see a `manifest unknown` error in the Docker logs. In this case, you can use the Azure CLI commands documented at [How to target Azure Functions runtime versions](set-runtime-version.md?tabs=azurecli) to change the container image being reference. If you've deployed a custom container image, you need to fix the image and redeploy the updated version to the referenced registry.
105+
88106
## Next steps
89107

90108
Learn about monitoring your function apps:
91-
92109
> [!div class="nextstepaction"]
93-
> [Monitor Azure Functions](functions-monitoring.md)
110+
> [Monitor Azure Functions](functions-monitoring.md)
111+

0 commit comments

Comments
 (0)