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

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

Open
JorgeYHNZ opened this issue Apr 17, 2023 · 9 comments
Open

Comments

@JorgeYHNZ
Copy link

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

@atoomic
Copy link
Collaborator

atoomic commented Apr 17, 2023

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

@JorgeYHNZ
Copy link
Author

JorgeYHNZ commented Apr 18, 2023 via email

@atoomic atoomic changed the title Unsupported yum repo Add Support for Microsoft Azure Linux VMs Apr 18, 2023
@atoomic
Copy link
Collaborator

atoomic commented Apr 18, 2023

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

@JorgeYHNZ
Copy link
Author

JorgeYHNZ commented Apr 19, 2023 via email

@gprobst
Copy link

gprobst commented Jan 20, 2024

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.

@da40
Copy link

da40 commented Jan 31, 2024

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

@toddr toddr changed the title Add Support for Microsoft Azure Linux VMs Add Support for Microsoft Azure Linux VMs (packages-microsoft-com-prod) Feb 1, 2024
@toddr
Copy link
Member

toddr commented Feb 1, 2024

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
Copy link
Member

toddr commented Feb 1, 2024

For reference: RE-158

@da40
Copy link

da40 commented Feb 1, 2024

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.

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

No branches or pull requests

5 participants