Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend documentation to cover rhel-edge-installation composer-cli restriction on blueprints #227

Open
jordigilh opened this issue Jan 11, 2022 · 3 comments

Comments

@jordigilh
Copy link
Contributor

jordigilh commented Jan 11, 2022

The documentation does not mention that when building an ostree with composer-cli for rhel-edge-installer, it is not possible to use a populated blueprint. The documentation at the RHEL site states that:

The “RHEL for Edge Installer (.iso)” image type does not support blueprint customizations or package selection. Therefore, if any customization or packages are specified, the build fails. 

This problem arises when running the rfe-oci-iso pipeline, which executes a composer-cli command like this:

$>  composer-cli compose start-ostree --ref rhel/8/x86_64/edge --url http://httpd-rfe.apps.mycluster.redhat.com/microshift/latest microshift  rhel-edge-installer
2022-01-11 09:14:14,783: failed to create osbuild manifest: boot ISO image type "edge-installer" does not support blueprint customizations
@sabre1041
Copy link
Contributor

sabre1041 commented Jan 19, 2022

My recommendation is that we add logic in the ISO creation pipeline to disable non default sources, perform the build and then reenable once complete.

Thoughts @jordigilh @nasx ?

@jordigilh
Copy link
Contributor Author

Why do we need to re-enable them after the build is completed? Why not leave them disabled by default?

@sabre1041
Copy link
Contributor

@jordigilh they need to be reenabled to support subsequent builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants