elevate icon indicating copy to clipboard operation
elevate copied to clipboard

Add Support for Microsoft Azure Linux VMs (packages-microsoft-com-prod)

Open JorgeYHNZ opened this issue 2 years ago • 11 comments

Microsoft Azure VM using the CPANEL image from the marketplace.

  • 2023-04-14 03:02:42 [ERROR] 2 package(s) installed from unsupported YUM repo ' openlogic' from /etc/yum.repos.d/OpenLogic.repo

  • 2023-04-14 03:02:42 [ERROR] 5 package(s) installed from unsupported YUM repo ' packages-microsoft-com-prod' from /etc/yum.repos.d/microsoft-prod.repo

  • 2023-04-14 03:02:42 [ERROR] 5 package(s) installed from unsupported YUM repo ' packages-microsoft-com-prod' from /etc/yum.repos.d/prod.repo

  • 2023-04-14 03:02:42 [WARN] *** Elevation Blocker detected: *** One or more enabled YUM repo are currently unsupported and have installed pack ages. You should disable these repositories and remove packages installed from them before continuing the update.

    Consider reporting this limitation to https://github.com/cpanel/elevate/issues

JorgeYHNZ avatar Apr 17 '23 03:04 JorgeYHNZ

Thanks for reporting this issue.

For now in order to perform the elevate, we suggest to capture and remove the packages from these unsupported repo, then reinstall them once the elevation process is finished.

sincerely

atoomic avatar Apr 17 '23 23:04 atoomic

Hello Nicolas,

There is a stopper on the way. The packages are required by Microsoft Azure Linux VM's. So If I remove them I will lose control over the VM's.

Cheers Jorge

On Tue, Apr 18, 2023 at 11:22 AM ℕicolas ℝ. @.***> wrote:

Thanks for reporting this issue.

For now in order to perform the elevate, we suggest to capture and remove the packages from these unsupported repo, then reinstall them once the elevation process is finished.

sincerely

— Reply to this email directly, view it on GitHub https://github.com/cpanel/elevate/issues/234#issuecomment-1512229904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMS5HSOYNGJQL44LJKMCFDXBXGENANCNFSM6AAAAAAXASZVXQ . You are receiving this because you authored the thread.Message ID: @.***>

JorgeYHNZ avatar Apr 18 '23 05:04 JorgeYHNZ

Thanks @JorgeYHNZ that makes sense, we need to test before considering adding support for Microsoft Azure. I've updated the request title to add support for Azure. thanks

atoomic avatar Apr 18 '23 14:04 atoomic

Thank you for your response.

Cheers Jorge

On Wed, Apr 19, 2023 at 2:46 AM ℕicolas ℝ. @.***> wrote:

Thanks @JorgeYHNZ https://github.com/JorgeYHNZ that makes sense, we need to test before considering adding support for Microsoft Azure. I've updated the request title to add support for Azure. thanks

— Reply to this email directly, view it on GitHub https://github.com/cpanel/elevate/issues/234#issuecomment-1513286350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMS5HVSB2AV5G7VIV36GHDXB2SNNANCNFSM6AAAAAAXASZVXQ . You are receiving this because you were mentioned.Message ID: @.***>

JorgeYHNZ avatar Apr 19 '23 03:04 JorgeYHNZ

Please pardon my github ignorance, as I'm rather lost here, but does the removal of the "ready for work" tag indicate that this is something that is not resolvable?

I'm also on an Azure VM and getting the error about openlogic being unsupported.

gprobst avatar Jan 20 '24 23:01 gprobst

I'm in the same boat as gprobst. Does Elevate work on an Azure VM with Centos 7? Thanks.

da40 avatar Jan 31 '24 16:01 da40

We block based on the presence of this repo at this time. The problem is that we cannot guarantee the state of the Azure packages-microsoft-com-prod repo. It is on our backlog to review this repo and provide support for it but it is not on the current short list.

What is on our short list is a better FAQ on how to handle unsupported repos manually. The short answer is that if you remove the rpms provided by that repo, elevate, and then re-install them from the AlmaLinux 8 supported repo (assuming there is one), then you can get past this.

⚠️ WARNING: removal and re-install of RPMs may lead to data loss!!!

toddr avatar Feb 01 '24 15:02 toddr

For reference: RE-158

toddr avatar Feb 01 '24 15:02 toddr

This document implies that Azure Linux VM Agent (waagent) is essential for VMs running linux:

https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-linux

However, it states that it has been tested for compatibility with Alma Linux 9.x, Rocky Linux 9.x and CentOs 8.x. Hopefully, that means that if the OpenLogic repo hosting it is supported by Elevate, an upgrade should succeed.

da40 avatar Feb 01 '24 16:02 da40