Leapp Upgrade from RHEL 7.7 to RHEL 8

Latest response

I am trying to upgrade my system from RHEL 7.7 to RHEL 8 as per the instructions provided in Upgrading to RHEL 8

However I am encountering following error :

# leapp preupgrade
Loaded plugins: langpacks, product-id, subscription-manager
============================================================
                           ERRORS                           
============================================================

2019-08-19 15:00:24.363331 [ERROR] Actor: target_userspace_creator Message: A subscription-manager command failed to execute
Detail: {u'hint': u'Please ensure you have a valid RHEL subscription and your network is up.'}

============================================================
                       END OF ERRORS                        
============================================================

============================================================
                           REPORT                           
============================================================

A report has been generated at /var/log/leapp/leapp-report.txt

A report has been generated at /var/log/leapp/leapp-report.json

============================================================
                       END OF REPORT                        
============================================================

I do have a valid RedHat Developer Valid subscription :

# subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        7.7
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         11/29/2018
Ends:           11/29/2019
# subscription-manager release
Release: 7.7

Could you please help me figure out the error with the upgrade and solution to it

Regards,

LuckyDudeThakur

https://twitter.com/@LuckyDudeThakur
https://www.linkedin.com/in/luckydudethakur

Responses

Assuming you have a valid RHEL subscription it is probably worth submitting a support request to Red Hat because it isn't clear that RHEL 7.7 is supported in leapp - the document you linked to only mentions RHEL 7.6

Hi Abhishek,

Although it is possible to upgrade from RHEL 7, it is not recommended to upgrade from one major version to the next.
Especially not in the case of RHEL 8 ... too many things changed under the hood. Please perform a fresh installation. :)

Regards,
Christian

Hello Christian, Although I am currently running RHEL 7.7 on my personal desktop, and wish to upgrade that to RHEL 8 , what is the best practice in case of production servers ? Should production servers be upgraded or its better to decommission old RHEL 7 ones and get fresh ones with RHEL 8 instead - I am talking about bare metal scenario , not the cloud/virtualization/containers scenario ? Regards,

LuckyDudeThakur

https://twitter.com/@LuckyDudeThakur https://www.linkedin.com/in/luckydudethakur

Hi Abhishek,

Generally it is recommended to always run the latest stable edition. In case of RHEL 8 I would
recommend to wait until the first point release will be available, RHEL 8.1 (currently in beta) is
expected to be released later this year. So, on a production server, I would stick with RHEL 7.7
until RHEL 8.1 gets released. And at that point I would perform a clean (fresh) installation ... :)

Regards,
Christian

Hello, Please note that the in-place upgrade from RHEL 7.7 to RHEL 8 is unsupported. Currently, only upgrade from RHEL 7.6 is supported. It is documented in this section https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/upgrading_to_rhel_8/index#requirements-upgrading-to-rhel-8

Note the link to the planned upgrade paths document.

Best regards, Lenka

The message you're seeing is incorrect. It's a bug in Leapp. You should be seeing an error message saying "Unsupported OS version. The supported OS versions for the upgrade process: 7.6". https://github.com/oamg/leapp-repository/issues/300 We're working on fixing that.

Hello again, I added this problem to the list of known issues: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_to_rhel_8/troubleshooting_upgrading-to-rhel-8#known-issues-upgrading-to-rhel-8

Thank you all!