-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
An Azure VM is running CentOS 8.5 (CentOS release = CentOS Linux release 8.5.2111)
and it will not discover azure-client binaries newer than 2.38.0.
Microsoft Rep asked me to create this issue: "
See this official release notes page, James: Manuals/ReleaseNotes/CentOS8.2111 - CentOS Wiki
It appears this version of CentOS went EoL on Dec. 31, 2021 and CentOS 8 Stream needs to be used instead. I'm not sure if this is related, but do note this EoL status.
It looks like https://packages.microsoft.com/yumrepos/azure-cli/Packages/a/ hold no versions of azure-cli above 2.38, so if possible, can you please create a new Github issue with this same request in the Linux Package Repositories github repository, so that the maintainers can properly address why the updated AZ CLI packages aren't made available? This is the best course of action at this time as it will allow you to open direct communication with the repo maintainers about the issue at hand here. let me know once that request is created as well.
Warm Regards,
Skylar Onstot"
Related command
dnf update azure-cli
Errors
The azure-cli rpm packages does not provide versions newer than 2.39.0.
Issue script & Debug output
following this page:
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=script
we ran this command to install the script. the script completed and installed version 2.39.0
curl -L https://aka.ms/InstallAzureCli | bash
and the
az upgrade
command results in this error:
[jamesault@jra-c8v8 yum.repos.d]$ az upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.39.0. Latest version available is 2.49.0.
Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): Y
Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli
CLI upgrade failed or aborted.
Expected behavior
either using dnf update azure-cli
or using "az upgrade"
that azure-cli would have version 2.49.0 installed successfully.
Environment Summary
az --version
azure-cli 2.39.0 *
core 2.39.0 *
telemetry 1.0.6 *
Extensions:
account 0.2.2
resource-graph 2.1.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Python location '/home/jamesault/lib/azure-cli/bin/python'
Extensions directory '/home/jamesault/.azure/cliextensions'
Python (Linux) 3.6.8 (default, Sep 10 2021, 09:13:53)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
Legal docs and information: aka.ms/AzureCliLegal
You have 3 updates available. Consider updating your CLI installation with 'az upgrade'
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
[jamesault@jra-c8v8 ~]$
Additional context
This version of CentOS was selected because it appears on this webpage:
https://learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching
If and when CentOS 8 Stream appears on the list of supported images for AzureOrchestratedPatching in this webpage, we will be glad to switch to that new OS version.