-
Notifications
You must be signed in to change notification settings - Fork 148
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
Use of leapp with megaraid drivers #913
Comments
Thanks for the suggestion, we will take this in consideration for future improvements around this topic. There are multiple shortcuts taken at the moment, a proper analysis if the upgrade is actually affected by various restrictions, as is this one, might be added in future. |
Well, we are not familiar with particular drivers nor with OL. We are familiar and we test upgrades just on RHEL. Regarding RHEL, we can share with you this link (https://access.redhat.com/discussions/3722151) with pretty long discussion about these drivers on RHEL 8 (not from the upgrade pov) so you can check whether you find an answer you are looking for. Regarding our information, some megaraid_sas drivers have been added back in RHEL 8.4+ as unsupported. So it depends whether the particular driver is available on OL 8 in your case or not (that's what you need to discuss with your distribution vendor) - or whether there is a third party driver provided for the particular el8 kernel. In case you find that particular one driver is possible to use on RHEL 8: |
The driver itself is available through elrepo and I can install it after the fact... it's just that it's not being integrated into the install when it boots into the upgrade kernel. How do I get that to get added in the install process?
--scott
…________________________________
From: Petr Stodůlka ***@***.***>
Sent: Monday, June 27, 2022 8:03 AM
To: oamg/leapp-repository ***@***.***>
Cc: Dorsey, Scott B. (LARC-D316)[AEGIS] ***@***.***>; Author ***@***.***>
Subject: [EXTERNAL] Re: [oamg/leapp-repository] Use of leapp with megaraid drivers (Issue #913)
Well, we are not familiar with particular drivers nor with OL. We are familiar and we test upgrades just on RHEL. Regarding RHEL, we can share with you this link (https://access.redhat.com/discussions/3722151<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccess.redhat.com%2Fdiscussions%2F3722151&data=05%7C01%7Cscott.b.dorsey%40nasa.gov%7C08fc21cf5ef548deb98208da583501fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637919281936436874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Yh%2BGBMuW4AxTr%2F0wWfpU%2BNxGlksHn2wdZJfyxxHhK88%3D&reserved=0>) with pretty long discussion about these drivers on RHEL 8 (not from the upgrade pov) so you can check whether you find an answer you are looking for. Regarding our information, some megaraid_sas drivers have been added back in RHEL 8.4+ as unsupported.
So it depends whether the particular driver is available on OL 8 in your case or not (that's what you need to discuss with your distribution vendor) - or whether there is a third party driver provided for the particular el8 kernel.
________________________________
In case you find that particular one driver is possible to use on RHEL 8:
Another thing is that the driver might be needed to be part of the upgrade initramfs. If it is not part of it by default but you find it's present on particular OL 8 system, it will be need to add such a driver to the upgrade initramfs (and than to the target OL 8 initramfs). Definitelly something doable creating custom actors, but it could be pretty tricky now. We expect to provide in future a functionality that will make adding of particular / third-party drivers possible in a simple way (still required creation of custom actors) but not sure when we get there.
—
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Foamg%2Fleapp-repository%2Fissues%2F913%23issuecomment-1167265768&data=05%7C01%7Cscott.b.dorsey%40nasa.gov%7C08fc21cf5ef548deb98208da583501fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637919281936436874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D62SMGz7yolX0W7k%2FveUzRNYFWFDqw2PZmnJblJC1Kc%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS4OMCSMOT4ZVRZYUMUCIKLVRGJ7ZANCNFSM5Z6ERGJQ&data=05%7C01%7Cscott.b.dorsey%40nasa.gov%7C08fc21cf5ef548deb98208da583501fe%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637919281936436874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tfSCz2o%2Fb6H07UyevGMJy3QwoZiePo0tHo1EDL8%2FkVI%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Well, you would need to create custom actors now that will basically regenerate the initramfs again. But let's say in most hacky way, you could just update this script (IIRC, on the system: adding Line 76 in 663fe43
Additionally from what you wrote, you will need to add & enable the specific repository where the driver is present and install an rpm I guess. For the repo and how to create/add custom actors look at here: Regarding the custom actor, you will want to do something like here -- just the actor should be executed e.g. during the
This will ensure the rpm(s) will be installed during the upgrade and inside the targetuserspace container (where the upgrade initramfs is created). |
I just upgraded an IBM server with MegaRaid driver today. I believe UEK kernel from Oracle Linux still suports megaraid sas. |
The possibility to add drivers to the upgrade (& target) initramfs has been added by #1081 (see the template of the custom actor in the description). That should resolve this issue - well, it needs still some manual customisations, but our goals was to provide the possibility to deal with it. |
The megaraid_sas drivers are no longer provided as part of the release distribution for Oracle Linux 8. This is no problem if your operating system disc is on a different controller; you can upgrade it with leapp and then install the drivers off elrepo. That goes fine.
However, if the disk itself is on a megaraid controller, the installation procedure seems to work but then it cannot boot into the upgrade-initramfs because there's no megaraid_sas driver rolled into that kernel.
Since Dell is still selling machines that require this driver today, I think dropping support for it was foolish on the part of the Oracle folks, but sadly I can do nothing about that.
Is there an official workaround for this?
The text was updated successfully, but these errors were encountered: