Azure / Azure/azure-linux-extensions

AADSSHLoginForLinux extension fails to install

Open
#1,834 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

AADSSHLoginForLinux version: 1.0.2385.1
OS: Ubuntu 20.04LTS

hi,

we have a vmss managed by terraform and it install 3 extensions:
AADSSHLoginForLinux
CustomScript
ApplicationHealthLinux

on provisioning of VMs AADSSHLoginForLinux fails with below error, this only started since Friday.

**Multiple VM extensions failed to be provisioned on the VM. Please see the VM extension instance view for other failures. The first extension failed due to the error: VM 'xxxx_4' has not reported status for VM agent or extensions. Verify that the OS is up and healthy, the VM has a running VM agent, and that it can establish outbound connections to Azure storage. Please refer to https://aka.ms/vmextensionlinuxtroubleshoot for additional VM agent troubleshooting information.**

1) why is this trying to reach out to storage?
2) the storage error has been there for long time and never stopped install until now:
2023-11-01T09:47:11.292363Z INFO ExtHandler ExtHandler Downloading artifacts profile blob
2023-11-01T09:47:42.420549Z WARNING ExtHandler ExtHandler Fetch failed: [HttpError] [HTTP Failed] GET https://md-hdd-d12hgqdtfwl4.z34.blob.storage.azure.net/$system/ghec-dev-runners-vmsstests_2.7bb722e2-74be-462b-ab64-dd83a1e36506.vmSettings -- IOError EOF occurred in violation of protocol (_ssl.c:1131) -- 6 attempts made
202
3) is there a way to pin a specific version of the extension or can an offline install in the base image be done?
4) if an offline install is possible how do we force the vm to not install latest on startup?

regards

Contributor guide

No contributing guide indexed for this repository

Research direction

The report concerns AADSSHLoginForLinux 1.0.2385.1 on Ubuntu 20.04 LTS in a Terraform-managed VMSS; begin with the VM agent and extension instance view, outbound Azure Storage access, and the cited Linux VM extension troubleshooting guide. Done means determining why provisioning stopped and whether version pinning or offline installation is supported, then documenting a reproducible resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, terraform
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.