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

[BUG]: ARM template deployment - Can't find loc string for key: SettingAzureCloud #20497

Open
3 of 7 tasks
enachi opened this issue Oct 2, 2024 · 26 comments
Open
3 of 7 tasks
Assignees

Comments

@enachi
Copy link

enachi commented Oct 2, 2024

New issue checklist

Task name

AzureResourceManagerTemplateDeploymentV3

Task version

3.246.3

Issue Description

Since version v3.246.3, a warning message is being logged during the deployment process. The warning does not appear to have any effect on the deployment itself, and the application is deployed successfully. However, this warning gets logged in the summary of the pipeline run thus get users confused.

"##[warning]Can't find loc string for key: SettingAzureCloud"

With the previous version of the task (3.243.1), no warning logged.

Environment type (Please select at least one enviroment where you face this issue)

  • Microsoft Hosted
  • Self-Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

none

Operation system

ubuntu-latest

Relevant log output

Starting: AzureResourceManagerTemplateDeployment
==============================================================================
Task         : ARM template deployment
Description  : Deploy an Azure Resource Manager (ARM) template to all the deployment scopes
Version      : 3.246.3
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment
==============================================================================
ARM Service Connection deployment scope - Subscription
Checking if the following resource group exists: rg-*****-staging.
Resource group exists: true.
Creating deployment parameters.
##[warning]Can't find loc string for key: SettingAzureCloud
SettingAzureCloud AzureCloud
/usr/bin/az cloud set -n AzureCloud
.....

Linked Issue on developer community

@TSL-Andrew
Copy link

I am seeing the same issue.
image

@cmicck
Copy link

cmicck commented Oct 3, 2024

Same thing here, also seems to be since yesterday
image

@komjera
Copy link

komjera commented Oct 3, 2024

I am also experiencing this issue, I've never seen it before today. We are also using Microsoft hosted agents.

image

@cbwalp
Copy link

cbwalp commented Oct 3, 2024

I am experiencing as well, looks like it started for me on Monday, Sept. 30, 2024 - but I am using Self-Hosted Windows agents...
image

@azuresysadmin
Copy link

I am experiencing this issue as well, in several environments. All using Self-Hosted Linux agents, and it seems to have begun on September 30.

@cbwalp
Copy link

cbwalp commented Oct 4, 2024

Hey @enachi - does this also have a companion report on https://developercommunity.visualstudio.com/ - if not, maybe putting it there and linking to here (and maybe back) would help get more attention? Just a thought.

@twosatnams
Copy link

I'm also experiencing this issue when running a bicep file using Azure pipelines

@josiahmahachi
Copy link

@lluppesms
Copy link

lluppesms commented Oct 7, 2024

Getting the same thing recently. Deploy seems to work fine and continue, but throwing this warning:
image

@theDiverDK
Copy link

I get the same error :(

@enachi
Copy link
Author

enachi commented Oct 10, 2024

Hey @enachi - does this also have a companion report on https://developercommunity.visualstudio.com/ - if not, maybe putting it there and linking to here (and maybe back) would help get more attention? Just a thought.

here is it
also, added it in the topic description

@omar-oropeza
Copy link

omar-oropeza commented Oct 10, 2024

getting same warn here:
Image

@CribberSix
Copy link

Same here.

@Creddi
Copy link

Creddi commented Oct 15, 2024

Same here

@enachi
Copy link
Author

enachi commented Oct 15, 2024

For anyone who’s facing the same issue here, please vote this ticket, with enough votes, I will try to engage the related team for a checking too.

this is what we have to do. please vote for this issue on dev comunity. It's the same link, from the description

as a workaround, you can manually set the desired version like this
- task: AzureResourceManagerTemplateDeployment@3.243.1

@jelkevdh
Copy link

jelkevdh commented Oct 15, 2024

I'm having the same issue

@vandriot
Copy link

Same warning in my pipelines as well

@nikjuice
Copy link

Same

@sherman89
Copy link

Same here with version 3.247.5

@ghost
Copy link

ghost commented Oct 30, 2024

Same
Image

task: AzureResourceManagerTemplateDeployment@3
displayName: "Update Azure resource"
inputs:
deploymentScope: "Resource Group"
azureResourceManagerConnection: "PipelineResourceConnection"
subscriptionId: "ab-12-cd-34"
action: "Create Or Update Resource Group"
resourceGroupName: "MyResources"
location: "North Europe"
templateLocation: "Linked artifact"
csmFile: $(bicep_file)
deploymentMode: "Incremental"

@MaxMommersteeg
Copy link

Same here. Running on self-hosted ubuntu agent.

@v-schhabra
Copy link
Contributor

Hi Everyone,
Thanks for reporting this issue.
Will investigate and try to share updates soon.

@v-schhabra v-schhabra added the Area:RM RM task team label Nov 5, 2024
@dreuss-ka
Copy link

I'm also hitting this issue.

@PatrickBorkowicz
Copy link

Same here.

@pimenta888
Copy link

Same here

@pjnberndsen
Copy link

Same issue here.

ARM Service Connection deployment scope - Subscription
Checking if the following resource group exists: zom-weu-d-svc-managedidentities-rg.
Resource group exists: true.
Creating deployment parameters.
##[warning]Can't find loc string for key: SettingAzureCloud
SettingAzureCloud AzureCloud
C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" cloud set -n AzureCloud"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests