Bug 2228974 - [RFE] Requesting an osbuild-composer image
Summary: [RFE] Requesting an osbuild-composer image
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: osbuild-composer
Version: 8.8
Hardware: All
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Image Builder team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-03 19:10 UTC by jcastran
Modified: 2023-08-07 08:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164435 0 None None None 2023-08-03 19:11:47 UTC

Description jcastran 2023-08-03 19:10:29 UTC
Customers who want to use a container to run osbuild need to follow specific steps such as running the container in privileged mode.

Since this is possible, It would be beneficial if we had a premade image already configured to go.

There are steps here https://github.com/osbuild/osbuild-composer-container#internals for setting up an osbuild container.

Comment 2 Ondřej Budai 2023-08-04 19:30:30 UTC
https://github.com/osbuild/osbuild-composer-container is a purely experimental project for now. Even though we are aware of usecases in which building an image in a privileged container seems to work fine, it's definitely not something that we are currently ready to commit to nor support it.

Specifically for edge images: I believe that RHEL 9 edge images are built with LVM by default. Osbuild currently cannot handle LVM correctly in a container due to inability to configure the host's udev. While you might see an occasional success, there are known race conditions.

I'm afraid that in the current state, we can only improve the documentation that running osbuild in a container is not supported and discouraged. Would it help?


Note You need to log in before you can comment on or make changes to this bug.