Bug 2272114
Summary: | Error undefined method `repository_url' when tryinfg to use composed images for system deployments in Red Hat Satellite 6 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Odilon Sousa <osousa> |
Component: | Provisioning Templates | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | sganar |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.14.2 | CC: | ahumbe, fperalta, gtalreja, iballou, jlenz, mhulan, pcreech, rlavi, sganar, shwsingh |
Target Milestone: | 6.14.4 | Keywords: | EasyFix, Regression, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | rubygem-katello-4.9.0.24-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2269386 | Environment: | |
Last Closed: | 2024-04-29 11:23:46 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: |
Comment 1
sganar
2024-04-15 15:33:19 UTC
@sganar , in the rendered template, you saw liveimg --url=<url> get added to the kickstart file correctly? If that is the case, I think the "FileNotFoundError: [Errno 2] No such file or directory: 'systemd-machine-id-setup': 'systemd-machine-id-setup'" could potentially be a second bug. I did find https://bugzilla.redhat.com/show_bug.cgi?id=1963778, which suggests a potential bug with Anaconda. I think if we can verify that the liveimg --url=<url> line is being added correctly to the kickstart file, that the issue here is resolved but we may need to shift the attention to another BZ. Mostly mentioning this since this issue was more related to Katello than Foreman provisioning. @iballou , yes the liveimg --url=<url> is populated correctly. I'll verify this bug since the main issue for which the bug was reported is fixed, and we are hitting another bug related to Anaconda Verified. Tested on Satellite 6.14.4 Snap 1.0 rubygem-katello-4.9.0.24-1.el8sat.noarch Steps followed: 1. Configure the Satellite for provisioning 2. Create a custom product, create a file repository 3. Upload the ISO to the file repository, create a CV, add the repo to the CV and publish it 4. Provision a host with `kickstart_liveimg` parameter with its value similar to `custom/custom_product/custom_liveimg_repo/RHEL8.iso` 5. Try to render the kickstart template Observation: The template rendered successfully with Safemode Enabled/Disabled with liveimg parameter correctly populated Note: The host provisioning will fail because of this anaconda bug: https://bugzilla.redhat.com/show_bug.cgi?id=1963778 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 (Satellite 6.14.4 Async 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/RHBA-2024:2099 |