Bug 2317127
| Summary: | make_image hangs forever for larger images | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Doug Magee <djmagee> |
| Component: | lorax | Assignee: | Brian Lane <bcl> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | anaconda-maint, bcl, reallylongword |
| Target Milestone: | --- | ||
| 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: | 2025-04-15 21:12:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Doug Magee
2024-10-08 00:46:50 UTC
I'm not sure what lmc could do here. It's not getting an error from the system so it's really hard to tell the difference between running slow and stuck. I'm open to suggestions though. It does seem odd that there isn't an OOM or some such error from the system. Absent an error, the only option would be including this in a pre-call sanity check. But i don't know enough about how this is implemented to say what values are needed for what conditions. The image is created in /var/lmc, and i don't see that being mounted as tmpfs anywhere. So i'd assume the make_image process is using mmap and that's why the locked memory limit has any effect at all? You really don't want to use tmpfs for image building like this, unless you have a lot of spare ram :) It may be related to the logs returned from anaconda, that's the bit of code where it seems to be stuck, but even with lots of packages it shouldn't generate enough to exhaust memory. Can you look at the raw anaconda logs in /tmp/ and see if there is anything suspicious near the end of them? Or in the system's journalctl -e output for clues. |