Bug 896622
| Summary: | [BUG] fail to import job if <packages><package name="foo"/></packages> defined.. | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Bill Peck <bpeck> |
| Component: | web UI | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.11 | CC: | asaha, dcallagh, gbai, jdornak, mishin, qwan, rglasz, rmancy |
| Target Milestone: | HOTFIX | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-20 23:35:56 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
Bill Peck
2013-01-17 16:11:12 UTC
Seems like yet another variation of bug 869455. :-( In this case the triggering factor seems to be having a job with more than one recipe (including guestrecipes), with ks_appends in one recipe and packages in the other. You can probably trigger it by having repos or ks_appends in the second recipe as well, but I haven't checked that yet. *** Bug 896664 has been marked as a duplicate of this bug. *** Bug 896664 is essentially the same problem with a slightly different trigger (repos instead of ks_appends). Workaround: convert all <repo/> and <package/> into ks_appends:
<package name="kernel" />
becomes:
<ks_append>
%post
yum install -y kernel
{{ end }}
</ks_append>
And:
<repo name="reponame" url="http://example.com/" />
becomes:
<ks_append>
%post
cat >/etc/yum.repos.d/reponame.repo <<"EOF"
[reponame]
name=reponame
baseurl=http://example.com/
enabled=1
gpgcheck=0
EOF
{{ end }}
</ks_append>
On RHEL7 and Fedora you can also add
repo --name=reponame --baseurl="http://example.com/"
at the bottom of the ks_append to make the repo available during installation. This does not work on RHEL6 and below.
On Gerrit: http://gerrit.beaker-project.org/1657 *** Bug 901784 has been marked as a duplicate of this bug. *** This will be released as hot fix 0.11.1, hopefully today. Beaker 0.11.1 has been released. |