centos2ol icon indicating copy to clipboard operation
centos2ol copied to clipboard

A modest attempt to improve logging and recovery of cenos2ol

Open softpano opened this issue 4 years ago • 4 comments

I slightly modified the script to improve logging and recovery for my needs. But some of the changes might have a wider appeal.

I think it might make sense to review the modified script. It is called centos2ol_plus

(Code and link removed by @Djelibeybi)

softpano avatar Jan 22 '21 01:01 softpano

Thanks for getting involved @softpano! Please have a read of CONTRIBUTING.md to better understand the process we use in this repo

mark-au avatar Jan 22 '21 02:01 mark-au

If you'd like us to review your code (and we'd love to), we need you to review the contribution guide and submit a signed Oracle Contributor Agreement first. This protects both you and Oracle.

If you do sign the the OCA, please consider submitting your improvements as an actual pull request so that we can review and merge it into this repo.

Djelibeybi avatar Jan 22 '21 03:01 Djelibeybi

I second this request. I had an issue where an out-of-memory event killed the distro sync. The error message says to run distro-sync again, that's nice but next steps had to be manually executed because there is no recover method. In my case, I had to then manually fix the bootloader with the UEK kernel. In my case, it was these three commands

grub2-mkconfig -o /boot/grub2/grub.cfg
uek_path=$(find /boot -name "vmlinuz-*.el8uek.x86_64")
grubby --set-default="${uek_path}"

Note the second line has to have correct os version (el6,el7,el8) and architecture (x86_64)

microalps avatar Dec 29 '21 23:12 microalps

If we get code that fixes the issue that we're allowed to review, i.e. that follows the contribution guide, we'll happily review/merge it. :)

Djelibeybi avatar Dec 30 '21 00:12 Djelibeybi