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

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                        


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





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. :)


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,


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 ... :)


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!

When will the upgrade from RHEL 7.7 be available? More than 2 months have passed...

The article https://access.redhat.com/articles/4263361 (which is linked to from one of the links above) suggests that the supported update paths will be from and/or to EUS releases, so there is no guarantee that RHEL 7.7 will ever be supported in leapp.

7.7 or 7.7 EUS, both would be fine. An upgrade test from a simple 7.7 (not EUS) installation with "export LEAPP_SKIP_CHECK_OS_RELEASE=true" worked, I found no issue yet. The development of leapp seems fine, is the QA process at Red Hat lacking behind?

Hello, In-place upgrade from RHEL 7.7 is not planned, see the article at https://access.redhat.com/articles/4263361 that Michael mentioned above. As far as I know, the development is currently focused on extending Leapp's capabilities.

We have all our servers at 7.7 no one told us that we were stucked at 7.7 when installing it. We do plan to migrate to redhat 8 in the future and reinstall all the machines with 8 instead of upgrading seems imposible. Why its not enabled?

Having the same problem here. More than 600 servers running RHEL 7.7 and none of them can be upgraded to RHEL 8? I just don't understand...

Same here, we have many servers now stuck at 7.7. Doing a fresh install isn't scalable. Major issue for us. Why is this not supported?

I totally agree, this is a major issue for those already upgraded to 7.7. I cannot understand the reason behind that...

Hi, support for 7.7 is on our roadmap for the next release of Leapp.

Hi Pavel,

Thanks for that ! I suggest to include RHEL 7.8 (soon to get released) as well, otherwise this discussion won't stop. :)