Bug 1733672

Summary: Leapp upgrade from RHEL7 to RHEL8 failed
Product: Red Hat Enterprise Linux 7 Reporter: kengcc
Component: leapp-repositoryAssignee: Leapp team <leapp-notifications>
Status: CLOSED NOTABUG QA Contact: Alois Mahdal <amahdal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: akatarki, lisas, pstodulk
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-27 18:26:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sosreport none

Description kengcc 2019-07-27 07:19:31 UTC
Created attachment 1593818 [details]
sosreport

Description of problem:
leapp upgrade failed with the following error:

2019-07-27 15:01:06.813 INFO     PID: 2035 leapp.workflow: Workflow interrupted due to the FailPhase error policy

============================================================
                        ERRORS
============================================================

2019-07-27 15:00:53.428966 [ERROR] Actor: prepare_upgrade_transaction Message:  A Leapp Command Error occurred.

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


Version-Release number of selected component (if applicable):


How reproducible:
leapp upgrade --debug --verbose |& tee /tmp/$HOSTNAME.leapp.output

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Petr Stodulka 2019-11-27 18:26:21 UTC
The problem is here:
----
  /usr/lib64/libzip.so.5.0 from install of libzip-1.5.1-1.module+el8+2561+1aca3413.x86_64 conflicts with file from package libzip5-1.5.2-1.el7.remi.x86_64
----

The installed libzip5 rpm is not provided by Red Hat. Another problem is that the rpm has higher version than the one in RHEL 8. Downgrade of RPMs is problematic and currently we are not able to handle it. I suggest you to remove the rpm from the system - or replace it by the one provided by RH. We cannot take responsibility for 3rd party content. Another thing what you can do, is to create additional custom actor and provide repository with up-to-date RHEL 8. We do not have official documentation for custom actors and instructions how to extend our current solution, so the upgrade process will be in such case probably unsupported. I cannot tell that for sure, about that, it's better to contact our support. Anyway, if you will create own actors, please test the solution first on non-production environment.

How  to write own actor: https://leapp.readthedocs.io/en/latest/index.html