Bug 2141738
Summary: | Image builder fails with Volume group "XXX" has insufficient free space (975 extents): 977 required. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | jcastran |
Component: | osbuild-composer | Assignee: | Image Builder team <osbuilders> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.7 | CC: | atodorov, obudai, sbarcomb, thozza |
Target Milestone: | rc | Keywords: | Patch, Reproducer, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | osbuild-composer-69-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-16 08:27:17 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
jcastran
2022-11-10 16:35:30 UTC
Thanks for the report. I was able to reproduce the issue using the attached blueprint... Image Builder on RHEL also supports different units than bytes: [[customizations.filesystem]] mountpoint = "/" size = "32 GiB" [[customizations.filesystem]] mountpoint = "/var" size = "4 GiB" [[customizations.filesystem]] mountpoint = "/var/log" size = "4 GiB" [[customizations.filesystem]] mountpoint = "/var/tmp" size = "4 GiB" [[customizations.filesystem]] mountpoint = "/var/log/audit" size = "4 GiB" Composer has some issues with rounding extents, so this should help. Can you try that? PR #3137 is merged upstream. Fixed in osbuild-composer-69-1.el8 # rpm -q osbuild-composer osbuild-composer-46.1-1.el8.x86_64 # composer-cli compose start RHEL8-VMWare-CIS vmdk Compose b538a417-e0ee-41ce-9247-0230a8b3f8fb added to the queue # composer-cli compose status b538a417-e0ee-41ce-9247-0230a8b3f8fb FAILED Tue Feb 14 08:58:00 2023 RHEL8-VMWare-CIS 0.0.1 vmdk Traceback from comment #0 confirmed. After upgrade: # rpm -q osbuild-composer osbuild-composer-73-1.el8.x86_64 # composer-cli compose start RHEL8-VMWare-CIS vmdk Compose 9670ce16-46e8-4d46-b6f1-60954b77dea8 added to the queue # composer-cli compose status 9670ce16-46e8-4d46-b6f1-60954b77dea8 FINISHED Tue Feb 14 09:22:09 2023 RHEL8-VMWare-CIS 0.0.1 vmdk 48384000000 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 (Moderate: Image Builder security, 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/RHSA-2023:2780 |