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]: Ubuntu libssl package version does not exist any more in installdependencies.sh #4555

Closed
1 of 3 tasks
angaaruriakhil opened this issue Dec 5, 2023 · 6 comments
Closed
1 of 3 tasks

Comments

@angaaruriakhil
Copy link

angaaruriakhil commented Dec 5, 2023

What happened?

We have self hosted agents running Ubuntu 22.04 in a VMSS hosted in Azure, in Australia East.

The pipeline agent is not installing properly on our agents during the provisioning process, which leads to the VM being classed as unhealthy and then gets removed by Azure. The provisioning process is using the latest release, vsts-agent-linux v3.230.

Inspecting the logs during the install process using the command:

sudo cat "/var/log/azure/Microsoft.VisualStudio.Services.TeamServicesAgentLinux/enableagent.log"

yields the following logs:

id -u
+ user_id=0
+ '[' 0 -ne 0 ']'
+ '[' -e /etc/os-release ']'
+ echo '--------OS Information--------'
+ cat /etc/os-release
+ echo ------------------------------
+ '[' -e /etc/debian_version ']'
+ echo 'The current OS is Debian based'
+ echo '--------Debian Version--------'
+ cat /etc/debian_version
+ echo ------------------------------
+ command -v apt
+ '[' 0 -eq 0 ']'
+ apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

After this, there are no further logs, the VM is effectively stuck until Azure removes it and tries again with a new VM to no avail.

Doing some investigation in bin/installdependencies.sh there is the following line of code on line 84:

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb

This path has a hardcoded version, 2.17. Looking at the repository, the package should be version 2.20 as 2.17 doesn't exist anymore.

Could this be updated please?

Versions

Pipeline agent: vsts-agent-linux 3.230 and 3.232.1,
OS - Ubuntu 22.04

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

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

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Version controll system

No response

Relevant log output

No response

@angaaruriakhil angaaruriakhil changed the title [BUG]: Ubuntu libssl version does not exist any more in dependencies.sh [BUG]: Ubuntu libssl version does not exist any more in installdependencies.sh Dec 5, 2023
@angaaruriakhil angaaruriakhil changed the title [BUG]: Ubuntu libssl version does not exist any more in installdependencies.sh [BUG]: Ubuntu libssl package version does not exist any more in installdependencies.sh Dec 5, 2023
@markatky46
Copy link

We are also having this issue. Is there any update?

@markatky46
Copy link

Is there any update on this issue?

@markatky46
Copy link

@DenisNikulin5 pls could you or one of the team provide an update on this for me? It is causing major problems for us

Copy link

github-actions bot commented Jul 8, 2024

This issue has had no activity in 180 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Jul 8, 2024
@kirill-ivlev
Copy link
Contributor

@markatky46 sorry for the delay, issue should be fixed for now, could you please confirm it?

@github-actions github-actions bot removed the stale label Jul 9, 2024
@kirill-ivlev
Copy link
Contributor

I'm closing this issue since we didn't recieve any responce from you.
Please feel free to bump it, if it still an issue.

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

4 participants