Bug 1827911
Summary: | livemedia-creator (that calls anaconda) is broken in mock | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Igor Raits <igor.raits> |
Component: | lorax | Assignee: | Brian Lane <bcl> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | bcl, jkonecny, jstodola, pzatko |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lorax-28.14.45-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 02:46:06 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: |
Description
Igor Raits
2020-04-25 12:51:42 UTC
This issue is most often happening because you are mixing vmlinuz and stage2 environment from a different builds. If I'm not mistaken this is exactly what you are doing because of running mock with your kernel. This bug is more about question what is a recommended way to run LMC in a mock and that is the question more suitet to LMC maintainer than Anaconda. Switching components to find the solution. Try installing anaconda-install-env-deps, they moved the libblockdev-plugins-all requirement into it so depending on what's installed you can end up with it missing some of the modules. Oh, I see. You are trying to make a partitioned disk. You can't do that inside mock since anaconda uses device-mapper, and device-mapper+anaconda doesn't work inside a mock. You can make an iso or a fsimage in the mock, or you can run a virt install inside the mock to do a partitioned disk install (I think -- I haven't actually tested that case). OTOH I think I need to add anaconda-install-env-deps to the requirements for lorax-lmc-novirt so I'm leaving this open to handle that. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (lorax bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4662 |