-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Warnings about Resource file already set when using AzureKeyVault v1.212.0 #17127
Comments
For us, this started happening in a build done on Nov 1st at 1:51 PM. It did not occur in the previous build that ran on Oct 26 at 6:01 PM. It's happening in the pre-job task for us, where it transfers secrets from the keyvault to populate the library values. |
+1 .
Error
|
This just started happening for us too, and i get 12+ warnings in some pipelines. |
@chshrikh , @thesattiraju , @tauhid621 could someone get this bug assigned and resolved? It's causing too many false positives and devs have now started ignoring warnings altogether in the pipelines. |
We are seeing this in our pipelines as well. |
we are seeing this in our build pipelines again since a couple of days. Last Tuesday everything was still ok. |
We are seeing this in our build pipelines as well, the pipelines finish successfully, but it doesn't seem to be actually updating with values from the keyvault. to test, I deleted one of my keys used in the pipeline, and the pipeline still finished successfully, and the app still used the old key value. |
+1 |
+1 seeing this as well across multiple customers |
We have the same problem! |
+1 Our team started seeing this issue on October 31st with version 1.212.0. The previous version, 1.211.2 did not have this issue. Is there any plan to update to a new version with a fix, or something we can do on our end to resolve the warnings? |
+1 We also started seeing this issue in our pipelines about a week ago. This also turned out that most of the people ignore the warnings now. |
+1 We are also facing the same issue more than 300 warnings for keyvault task in Azure DevOps pipeline |
|
Task version has been rolled back to 1.211.2 |
We've got AzureKeyVault auto updated to v1.212.0 on a lot of our self-hosted server agents. Is there any easy way to revert all those to v1.211.2? |
Hi, you can try to clean agent tasks cache. Example path: |
It was just the "try" part I wanted to avoid... 😁 I'll try to find a good agent to test this on later. |
I already tried that and it does not help, these warnings appear immediatly with the first run after cleaning. |
We are also running into this issue. Any resolution so far? It is for our download secrets task from a variable group that is linked to an azure key vault. |
I have a support request put in for this, will reply in here when I hear from them. |
#17151 revert is completed, will take time to roll out 213 |
We're using Azure DevOps and Hosted Agents and we're not directly referencing this task in our pipelines, but we are using variable groups, defined based on Azure KeyVault, which probably causes implicit use of this task (it shows up in the log, with version 1.212.0). This basically translates to all of our pipelines being affected by this issue, with no way to address it, without remaking all our pipelines to explicitly use the task in a corrected version. |
@v-mohithgc can you please share the status of the rollout? namely when the new version is expected to land on |
The issue is also being raised on the StackOverflow. |
This reverted fixed our issues. Although from what's being reported after this revert, it doesn't appear to be fixed for everyone. |
I'm having the same setup as @hilari0n, on hosted agents with variable groups. When can we expect that 1.213.0 is in use when variable groups are used? |
Like others have said; this happens when a pipeline references a variable group linked to a Key Vault. It doesn't seem to cause any actual issues but I've got 252 warnings thrown in one of my largest pipelines. |
it's fixed for me after the revert |
The agent is running version 2.213.2, and started with a clean set of agents and we are still getting the message: Resource file has already set to: /azp/agent/_work/_tasks/AzureKeyVault_1e244d32-2dd4-4165-96fb-b7441ca9331e/1.212.0/node_modules/azure-pipelines-tasks-azure-arm-rest-v2/module.json |
BAD
I tried different combinations with library and KeyVault, but issue still was happening. OK
Actual version got as OK WEIRD but OK OK vs. OK
|
When I run a YAML pipeline with a build stage and a deployment stage, the build stage gets the offending version (1.212.0), whereas the deployment stage gets the reverted version (1.211.2). Steps to reproduce:
The same sort of thing happens for me with a single on-prem build agent. |
I'm still seeing keyvault version 1.212.0 in our hosted build agent logs.
How do we get the fixed version ? |
I am running into the same issue using Variable group, is there a way to define Azure Key Vault version to use when defining the variable group in pipelines. |
@chshrikh , @thesattiraju , @tauhid621 - my team is completely ignoring all warnings in pipelines until this is fixed because it's showing us so many false alarms - hundreds per day. I'm a Microsoft internal FTE, so feel free to contact me directly for a repro, logs, anything you need to get this resolved sooner. There appears to be a claim that it's fixed (above), but the fix still isn't showing up two weeks later. |
Hi all, Quick update: Azure KV version 213 (both task and variable group) which fixes the warning issue, has been rolled out to south Brazil and EUS2 region for now. There is a slight delay, but version 213 will be rolled out to all regions and users by end of December 1st week. |
Starting with version 1.213.0, this warning is showing up in the PipAuthenticate@1 task. The task seems to be working correctly aside from the warning. Previously, we were using version 1.206.0. |
With version 213 the warning is gone on our side. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Can someone confirm if this is addressed and where (which tasks) have this addressed? |
Hi, in which task are you experiencing these warnings.? |
We're seeing it in AzureAppServiceSettings tasks every time that they run. Looking at old logs, I doesn't look like it was happening in 1.215.0, but it was happening in 1.221.102 |
Warning issue related to AzureAppServiceSetting and AzureResourceGroupDeployment has been addressed. |
At time of writing (26 Jul 2023):
|
@fvilches17 version 1.225.1 will contain the fix. |
I'm seeing this on both 1.x and 2.x of the Azure Functions Deploy task on a Hosted agent. |
Hi @ThomasArdal , version 224 of Azure Function Deploy V2 and version 225.1 of V1 task will contain the fix for this issue. Version 224 of Azure Function Deploy V2 should be out to all the regions by now, please rerun and confirm. |
apologies, version 2.225.0 will contain the fix. Here is the PR #18592. |
This issue is now resolved, feel free to reopen if the issue still persist. |
Required Information
Type: Bug
Enter Task Name: AzureKeyVault
Environment
Issue Description
Dozens of warnings about "Resource file already set". This started today, from what I can tell.
The text was updated successfully, but these errors were encountered: