-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Auto-AssignAuto assign by botAuto assign by botFunctionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappazf_bugazf_reviewedazf_triagedbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Description
Describe the bug
Using:
azure-cli 2.57.0
core 2.57.0
telemetry 1.1.0
Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2
Created an Azure function with:
az functionapp create --name "$function_name" `
--storage-account "$storage_account_id" `
--plan "$plan_id" `
--resource-group "$resource_group" `
--functions-version "$functions_version" `
--image "$container_registry.azurecr.io/$image_name" `
--registry-password "$password" `
--registry-username "$username" `
--disable-app-insights
This command produces the warning
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
which refers to #27724 .
Once the Azure Function has been created, configuring it with
az functionapp config appsettings set `
--name $function_name --resource-group $resource_group `
--settings SOME_SETTING="some value"
produces the warning message
Runtime docker not supported for os linux. Supported runtimes for os linux are: ['dotnet-isolated', 'dotnet-isolated', 'dotnet-isolated', 'dotnet', 'node', 'node', 'node', 'node', 'python', 'python', 'python', 'python', 'python', 'java', 'java', 'java', 'java', 'powershell', 'custom']. Run 'az functionapp list-runtimes' for more details on supported runtimes.
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
This appears to be a false warning message, since the container runs as expected on the Linux host. This warning message has started appearing after updating to a more modern Azure CLI version.
Related command
az functionapp config appsettings set
Errors
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
Runtime docker not supported for os linux. Supported runtimes for os linux are: ['dotnet-isolated', 'dotnet-isolated', 'dotnet-isolated', 'dotnet', 'node', 'node', 'node', 'node', 'python', 'python', 'python', 'python', 'python', 'java', 'java', 'java', 'java', 'powershell', 'custom']. Run 'az functionapp list-runtimes' for more details on supported runtimes.
App settings have been redacted. Use `az webapp/logicapp/functionapp config appsettings list` to view.
Issue script & Debug output
This would include too much personal data.
Expected behavior
Do not expect to see either warning message, since this type of deployment has worked for several years. The warning messages have only started appearing with a more recent version of the CLI.
Environment Summary
azure-cli 2.57.0
core 2.57.0
telemetry 1.1.0
Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2
Python location 'C:\Users\*******\AppData\Local\Programs\Python\Python311\python.exe'
Extensions directory 'C:\Users\*******\.azure\cliextensions'
Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botFunctionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappazf_bugazf_reviewedazf_triagedbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.