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

AADSSHLoginForLinux extension installation fails for Rocky Linux #1875

Open
jeffearl opened this issue Feb 5, 2024 · 3 comments
Open

AADSSHLoginForLinux extension installation fails for Rocky Linux #1875

jeffearl opened this issue Feb 5, 2024 · 3 comments

Comments

@jeffearl
Copy link

jeffearl commented Feb 5, 2024

On Rocky Linux VMs (and likely Alma, as well) the AADSSHLoginForLinux fails to install because the installer script (installer.sh) detects the presence of a /rocky directory on the https://packages.microsoft.com yum repo server. It attempts to use the unpopulated /rocky repo, rather than failing back to the available /rhel repository as it has done in the past.

@gdesaboyina
Copy link

Similar problem happening for Oracle Linux too. It's looking for /ol and it gives 403.

Message="The handler for VM extension type 'Microsoft.Azure.ActiveDirectory.AADSSHLoginForLinux' has reported terminal failure for VM extension 'AzureAAD' with error message: '[ExtensionOperationError] Non-zero exit code: 20, /var/lib/waagent/Microsoft.Azure.ActiveDirectory.AADSSHLoginForLinux-1.0.2385.1/./installer.sh install\n[stdout]\nMachine OS: ol v8.9 x86_64\nOS similar to: rhel\nInstalling...\nThis is an Azure machine\nConfiguring microsoft-prod repo\n\n\n[stderr]\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 16 100 16 0 0 1066 0 --:--:-- --:--:-- --:--:-- 1066\nCannot access [https://packages.microsoft.com/ol/.](https://packages.microsoft.com/ol/) HTTP Code: 403\n'.\r\n \r\n'Install handler failed for the extension. More information on troubleshooting is available at [https://aka.ms/vmextensionlinuxtroubleshoot'"](https://aka.ms/vmextensionlinuxtroubleshoot%27%22) Target="12"

@alarischu
Copy link

Bump. Confirming the issue. Accidently posted on the wrong repo:
https://github.com/MicrosoftDocs/entra-docs/issues/542

@shazada
Copy link

shazada commented Jun 12, 2024

Any update on this one?

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

No branches or pull requests

4 participants