-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
Moderate
-
rhel-sst-image-builder
-
ssg_front_door
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
Description of problem:
It appears that when using a beta version the default appstream and os paths for that version use the standard cdn pathing. However in betas those paths have yet to exist and are actually different.
For example in the RHEL 9.2 beta I installed the osbuild components. But when I went to actually generate a image with compose-cli I got the following error:
sudo composer-cli compose start-ostree rhde-microshift rhel-edge-container
ERROR: DepsolveError: DNF error occurred: RepoError: There was a problem reading a repository: Failed to download metadata for repo '777001b5b86531d37fb976f2d2da8ef6ba2f0130a9a6c1dc30cd8097a052cba3' [baseos: https://cdn.redhat.com/content/dist/rhel9/9.2/aarch64/baseos/os]: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
If I edit the following file /usr/share/osbuild-composer/repositories/rhel-92.json
And change the following lines:
https://cdn.redhat.com/content/dist/rhel9/9.2/aarch64/baseos/os
to
https://cdn.redhat.com/content/beta/rhel9/9/aarch64/baseos/os
and
https://cdn.redhat.com/content/dist/rhel9/9.2/aarch64/appstream/os
to
https://cdn.redhat.com/content/beta/rhel9/9/aarch64/appstream/os
My compose-cli image build will complete.
Version-Release number of selected component (if applicable):
9.2 Beta
How reproducible:
100%
Steps to Reproduce:
1. Install RHEL 9.2 Beta
2. Create a blueprint and push it up
3. Try to compose image from the blueprint
Actual results:
Errors out because default appstream and os repo paths do not exist
Expected results:
Image should be composed
Additional info:
- external trackers