HelmInstallerV1 is not able to find Helm after pipeline migraton to TFS
See original GitHub issueQuestion, Bug, or Feature?
Type: Bug
Enter Task Name: HelmInstallerV1 (HelmInstallerV0 too)
Environment
-
Server - Azure Pipelines or TFS on-premises? Now TFS.
- If using TFS on-premises, provide the version: Version Dev17.M153.4
- If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
-
Agent - Hosted or Private:
- If using private agent, provide the OS of the machine running the agent and the agent version: OS: Ubuntu 18.04 Agent version: 2.168.2
Issue Description
Release pipeline was migrated from Azure DevOps to on premises TFS by doing export and import.
Helm Installer fails to deploy Helm3. It fails to download tool from the repo because used repository does not have Helm3 release packages. https://storage.googleapis.com/kubernetes-helm/
Removing and re adding task did not help. Exported JSON does not seem to have this repo. Changing task version also does not change repo used.
Task logs
2020-06-19T07:01:14.3392744Z ##[debug]isExplicit: 3.2.4
2020-06-19T07:01:14.3400729Z ##[debug]explicit? true
2020-06-19T07:01:14.3413095Z ##[debug]Agent.Version=2.168.2
2020-06-19T07:01:14.3418888Z ##[debug]Agent.ToolsDirectory=/opt/vsts/agent/_work/_tool
2020-06-19T07:01:14.3424922Z ##[debug]checking cache: /opt/vsts/agent/_work/_tool/helm/3.2.4/x64
2020-06-19T07:01:14.3433087Z ##[debug]not found
2020-06-19T07:01:14.3458151Z ##[debug]helm-v3.2.4-fef3ba13-5990-43db-9658-36e4a7dd13c2.zip
2020-06-19T07:01:14.3465736Z ##[debug]Agent.Version=2.168.2
2020-06-19T07:01:14.3472072Z ##[debug]Agent.TempDirectory=/opt/vsts/agent/_work/_temp
2020-06-19T07:01:14.3478934Z Downloading: https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip
2020-06-19T07:01:14.3486250Z ##[debug]destination /opt/vsts/agent/_work/_temp/helm-v3.2.4-fef3ba13-5990-43db-9658-36e4a7dd13c2.zip
2020-06-19T07:01:14.3494636Z ##[debug]creating stream
2020-06-19T07:01:14.3537520Z ##[debug]downloading
2020-06-19T07:01:14.4142373Z (node:124362) Warning: Ignoring extra certs from `/etc/ssl/certs/ca-certificates.crt`, load failed: error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table
2020-06-19T07:01:14.4148698Z
2020-06-19T07:01:14.6691730Z ##[warning]Can\'t find loc string for key: HelmDownloadFailed
2020-06-19T07:01:14.6701185Z ##[debug]Processed: ##vso[task.issue type=warning;]Can\'t find loc string for key: HelmDownloadFailed
2020-06-19T07:01:14.6789695Z ##[debug]task result: Failed
2020-06-19T07:01:14.6848833Z ##[error]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404
at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)
at next (native)
at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6851200Z ##[debug]Processed: ##vso[task.issue type=error;]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404%0A at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)%0A at next (native)%0A at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)%0A at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6871129Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404%0A at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)%0A at next (native)%0A at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)%0A at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6996403Z ##[section]Finishing: Install Helm 3.2.4
Error logs
2020-06-19T07:01:14.6848833Z ##[error]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404
at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)
at next (native)
at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6851200Z ##[debug]Processed: ##vso[task.issue type=error;]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404%0A at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)%0A at next (native)%0A at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)%0A at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6871129Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: HelmDownloadFailed https://storage.googleapis.com/kubernetes-helm/helm-v3.2.4-linux-amd64.zip Error: Unexpected HTTP response: 404%0A at Object.<anonymous> (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:197:36)%0A at next (native)%0A at fulfilled (/opt/vsts/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.153.1/node_modules/vsts-task-tool-lib/tool.js:4:58)%0A at process._tickCallback (internal/process/next_tick.js:109:7)
2020-06-19T07:01:14.6996403Z ##[section]Finishing: Install Helm 3.2.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
HelmInstaller@1 - Helm tool installer v1 task - Microsoft Learn
HelmInstaller task running on a private agent behind a proxy fails to download helm package. The HelmInstaller task does not use the proxy...
Read more >Troubleshooting - Helm
I am getting a warning about "Unable to get an update from the "stable" chart repository". Run helm repo list . If it...
Read more >Install Helm 2.9.1 pipeline task fails due to incorrect URL
I have a client that is trying to use the Install Helm 2.9.1 build pipeline task, but instead of pointing to https://get.helm.sh/helm-v3.1.1-linux-amd64.zip ...
Read more >How to Rename a Helm Release - Salesforce Engineering Blog
Problem. The process for migrating from Helm v2 to v3, the latest stable major release, was pretty straightforward. However, while performing the migration, ......
Read more >How to Fix helm "has no deployed releases" Error - phoenixNAP
Solution 1: Changing the Deployment Status · Solution 2: Cleaning Up Failed Deployments · Solution 3: Forcing an Upgrade.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ljani I built it myself. But you can build the latest version of task anytime. Just clone the azure-pipelines-tasks repo and run
node make.js build --task HelmDeployV0
and then check the _build folder.Ref: https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/contribute.md
@shigupt202: Thanks for the pointer. Did you build the tasks yourself or are they available from some package source?